text-shaper 0.1.3 → 0.1.5

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.
@@ -103,6 +103,11 @@ export interface GsubTable {
103
103
  }
104
104
  export type { SequenceLookupRecord } from "./gsub-contextual.ts";
105
105
  export declare function parseGsub(reader: Reader): GsubTable;
106
+ declare function parseGsubLookup(reader: Reader, _lookupListReader: Reader, _lookupOffset: number): AnyGsubLookup | null;
107
+ declare function parseExtensionLookup(reader: Reader, subtableOffsets: number[], baseProps: {
108
+ flag: uint16;
109
+ markFilteringSet?: uint16;
110
+ }): AnyGsubLookup | null;
106
111
  export declare function applySingleSubst(lookup: SingleSubstLookup, glyphId: GlyphId): GlyphId | null;
107
112
  export declare function applyLigatureSubst(lookup: LigatureSubstLookup, glyphIds: GlyphId[], startIndex: number): {
108
113
  ligatureGlyph: GlyphId;
@@ -116,3 +121,7 @@ export declare function applyLigatureSubstDirect(lookup: LigatureSubstLookup, gl
116
121
  ligatureGlyph: GlyphId;
117
122
  consumed: number;
118
123
  } | null;
124
+ export declare const __testing: {
125
+ parseGsubLookup: typeof parseGsubLookup;
126
+ parseExtensionLookup: typeof parseExtensionLookup;
127
+ };