text-shaper 0.1.20 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,7 +122,7 @@ export declare function getGlyphBounds(glyf: GlyfTable, loca: LocaTable, glyphId
122
122
  /**
123
123
  * Get all deltas for a glyph at given variation coordinates
124
124
  */
125
- export declare function getGlyphDeltas(gvar: GvarTable, glyphId: GlyphId, numPoints: number, axisCoords: number[]): PointDelta[];
125
+ export declare function getGlyphDeltas(gvar: GvarTable, glyphId: GlyphId, numPoints: number, axisCoords: number[], contours?: Contour[]): PointDelta[];
126
126
  /**
127
127
  * Apply variation deltas to contours
128
128
  */
@@ -63,3 +63,4 @@ export declare function calculateTupleScalar(peakTuple: number[], axisCoords: nu
63
63
  * Get delta for a glyph point at given variation coordinates
64
64
  */
65
65
  export declare function getGlyphDelta(gvar: GvarTable, glyphId: GlyphId, pointIndex: number, axisCoords: number[]): PointDelta;
66
+ export declare function getTupleDeltas(header: TupleVariationHeader, numPoints: number): PointDelta[];