text-shaper 0.1.21 → 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.
@@ -97,6 +97,7 @@ export declare function shape(fontLike: FontLike, buffer: UnicodeBuffer, options
97
97
  * @param options.features - Array of OpenType features to enable/disable (e.g., [{tag: "liga", value: 1}])
98
98
  */
99
99
  export declare function shapeInto(fontLike: FontLike, buffer: UnicodeBuffer, glyphBuffer: GlyphBuffer, options?: ShapeOptions): void;
100
+ declare function applyGsub(font: Font, buffer: GlyphBuffer, plan: ShapePlan): void;
100
101
  declare function applyGsubLookup(font: Font, buffer: GlyphBuffer, lookup: AnyGsubLookup, plan: ShapePlan): void;
101
102
  declare function applySingleSubstLookup(font: Font, buffer: GlyphBuffer, lookup: SingleSubstLookup): void;
102
103
  declare function applyMultipleSubstLookup(font: Font, buffer: GlyphBuffer, lookup: MultipleSubstLookup): void;
@@ -160,6 +161,7 @@ declare function matchClassSequenceBackward(font: Font, buffer: GlyphBuffer, sta
160
161
  declare function shouldSkipGlyph(font: Font, glyphId: GlyphId, lookupFlag: number): boolean;
161
162
  declare function applyMorx(font: Font, buffer: GlyphBuffer): void;
162
163
  export declare const __testing: {
164
+ applyGsub: typeof applyGsub;
163
165
  applyGsubLookup: typeof applyGsubLookup;
164
166
  applyGposLookup: typeof applyGposLookup;
165
167
  applySingleSubstLookup: typeof applySingleSubstLookup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "text-shaper",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/wiedymi/text-shaper.git"