text-shaper 0.0.1
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.
- package/LICENSE +21 -0
- package/README.md +161 -0
- package/dist/aat/state-machine.d.ts +34 -0
- package/dist/buffer/glyph-buffer.d.ts +55 -0
- package/dist/buffer/unicode-buffer.d.ts +51 -0
- package/dist/font/binary/reader.d.ts +72 -0
- package/dist/font/face.d.ts +65 -0
- package/dist/font/font.d.ts +189 -0
- package/dist/font/tables/avar.d.ts +36 -0
- package/dist/font/tables/base.d.ts +79 -0
- package/dist/font/tables/cbdt.d.ts +120 -0
- package/dist/font/tables/cff-charstring.d.ts +16 -0
- package/dist/font/tables/cff.d.ts +93 -0
- package/dist/font/tables/cff2.d.ts +85 -0
- package/dist/font/tables/cmap.d.ts +81 -0
- package/dist/font/tables/colr.d.ts +278 -0
- package/dist/font/tables/cpal.d.ts +46 -0
- package/dist/font/tables/feat.d.ts +359 -0
- package/dist/font/tables/fvar.d.ts +77 -0
- package/dist/font/tables/gdef.d.ts +45 -0
- package/dist/font/tables/glyf.d.ts +118 -0
- package/dist/font/tables/gpos-contextual.d.ts +88 -0
- package/dist/font/tables/gpos-mark.d.ts +95 -0
- package/dist/font/tables/gpos.d.ts +137 -0
- package/dist/font/tables/gsub-contextual.d.ts +88 -0
- package/dist/font/tables/gsub.d.ts +107 -0
- package/dist/font/tables/gvar.d.ts +56 -0
- package/dist/font/tables/head.d.ts +47 -0
- package/dist/font/tables/hhea.d.ts +24 -0
- package/dist/font/tables/hmtx.d.ts +23 -0
- package/dist/font/tables/hvar.d.ts +77 -0
- package/dist/font/tables/jstf.d.ts +97 -0
- package/dist/font/tables/kern.d.ts +44 -0
- package/dist/font/tables/kerx.d.ts +108 -0
- package/dist/font/tables/loca.d.ts +31 -0
- package/dist/font/tables/math.d.ts +168 -0
- package/dist/font/tables/maxp.d.ts +27 -0
- package/dist/font/tables/morx.d.ts +142 -0
- package/dist/font/tables/mvar.d.ts +99 -0
- package/dist/font/tables/name.d.ts +75 -0
- package/dist/font/tables/os2.d.ts +102 -0
- package/dist/font/tables/post.d.ts +25 -0
- package/dist/font/tables/sbix.d.ts +65 -0
- package/dist/font/tables/sfnt.d.ts +20 -0
- package/dist/font/tables/stat.d.ts +115 -0
- package/dist/font/tables/svg.d.ts +40 -0
- package/dist/font/tables/trak.d.ts +43 -0
- package/dist/font/tables/vhea.d.ts +41 -0
- package/dist/font/tables/vmtx.d.ts +35 -0
- package/dist/font/tables/vorg.d.ts +33 -0
- package/dist/font/tables/vvar.d.ts +36 -0
- package/dist/index.d.ts +80 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +92 -0
- package/dist/index.test.d.ts +1 -0
- package/dist/layout/justify.d.ts +88 -0
- package/dist/layout/structures/class-def.d.ts +15 -0
- package/dist/layout/structures/coverage.d.ts +17 -0
- package/dist/layout/structures/device.d.ts +58 -0
- package/dist/layout/structures/feature-variations.d.ts +82 -0
- package/dist/layout/structures/layout-common.d.ts +77 -0
- package/dist/render/path.d.ts +136 -0
- package/dist/shaper/complex/arabic.d.ts +60 -0
- package/dist/shaper/complex/ethiopic.d.ts +70 -0
- package/dist/shaper/complex/georgian.d.ts +69 -0
- package/dist/shaper/complex/hangul.d.ts +64 -0
- package/dist/shaper/complex/hebrew.d.ts +28 -0
- package/dist/shaper/complex/indic.d.ts +117 -0
- package/dist/shaper/complex/khmer.d.ts +48 -0
- package/dist/shaper/complex/mongolian.d.ts +89 -0
- package/dist/shaper/complex/myanmar.d.ts +47 -0
- package/dist/shaper/complex/syriac.d.ts +80 -0
- package/dist/shaper/complex/thai-lao.d.ts +42 -0
- package/dist/shaper/complex/tibetan.d.ts +57 -0
- package/dist/shaper/complex/use.d.ts +80 -0
- package/dist/shaper/fallback.d.ts +16 -0
- package/dist/shaper/features.d.ts +189 -0
- package/dist/shaper/shape-plan.d.ts +29 -0
- package/dist/shaper/shaper.d.ts +18 -0
- package/dist/types.d.ts +153 -0
- package/dist/typeshaper.js +7 -0
- package/dist/unicode/bidi/brackets.d.ts +7 -0
- package/dist/unicode/bidi/brackets.data.d.ts +5 -0
- package/dist/unicode/bidi/char-types.d.ts +19 -0
- package/dist/unicode/bidi/char-types.data.d.ts +25 -0
- package/dist/unicode/bidi/embedding-levels.d.ts +18 -0
- package/dist/unicode/bidi/index.d.ts +9 -0
- package/dist/unicode/bidi/mirroring.d.ts +10 -0
- package/dist/unicode/bidi/mirroring.data.d.ts +2 -0
- package/dist/unicode/bidi/parse-character-map.d.ts +8 -0
- package/dist/unicode/bidi/reordering.d.ts +18 -0
- package/dist/unicode/bidi.d.ts +93 -0
- package/dist/unicode/line-break.d.ts +113 -0
- package/dist/unicode/normalize.d.ts +36 -0
- package/dist/unicode/script.d.ts +215 -0
- package/dist/unicode/segmentation.d.ts +104 -0
- package/package.json +33 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import type { ShapeFeature } from "./shape-plan.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Feature helper utilities
|
|
4
|
+
* Provides convenient APIs for enabling OpenType features
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Create a ShapeFeature for a stylistic set (ss01-ss20)
|
|
8
|
+
*/
|
|
9
|
+
export declare function stylisticSet(setNumber: number, enabled?: boolean): ShapeFeature;
|
|
10
|
+
/**
|
|
11
|
+
* Create ShapeFeatures for multiple stylistic sets
|
|
12
|
+
*/
|
|
13
|
+
export declare function stylisticSets(setNumbers: number[], enabled?: boolean): ShapeFeature[];
|
|
14
|
+
/**
|
|
15
|
+
* Create a ShapeFeature for a character variant (cv01-cv99)
|
|
16
|
+
*/
|
|
17
|
+
export declare function characterVariant(variantNumber: number, enabled?: boolean): ShapeFeature;
|
|
18
|
+
/**
|
|
19
|
+
* Create ShapeFeatures for multiple character variants
|
|
20
|
+
*/
|
|
21
|
+
export declare function characterVariants(variantNumbers: number[], enabled?: boolean): ShapeFeature[];
|
|
22
|
+
/**
|
|
23
|
+
* Standard ligatures (liga)
|
|
24
|
+
*/
|
|
25
|
+
export declare function standardLigatures(enabled?: boolean): ShapeFeature;
|
|
26
|
+
/**
|
|
27
|
+
* Discretionary ligatures (dlig)
|
|
28
|
+
*/
|
|
29
|
+
export declare function discretionaryLigatures(enabled?: boolean): ShapeFeature;
|
|
30
|
+
/**
|
|
31
|
+
* Historical ligatures (hlig)
|
|
32
|
+
*/
|
|
33
|
+
export declare function historicalLigatures(enabled?: boolean): ShapeFeature;
|
|
34
|
+
/**
|
|
35
|
+
* Contextual alternates (calt)
|
|
36
|
+
*/
|
|
37
|
+
export declare function contextualAlternates(enabled?: boolean): ShapeFeature;
|
|
38
|
+
/**
|
|
39
|
+
* Stylistic alternates (salt)
|
|
40
|
+
*/
|
|
41
|
+
export declare function stylisticAlternates(enabled?: boolean): ShapeFeature;
|
|
42
|
+
/**
|
|
43
|
+
* Swash (swsh)
|
|
44
|
+
*/
|
|
45
|
+
export declare function swash(enabled?: boolean): ShapeFeature;
|
|
46
|
+
/**
|
|
47
|
+
* Small capitals (smcp)
|
|
48
|
+
*/
|
|
49
|
+
export declare function smallCaps(enabled?: boolean): ShapeFeature;
|
|
50
|
+
/**
|
|
51
|
+
* Capitals to small capitals (c2sc)
|
|
52
|
+
*/
|
|
53
|
+
export declare function capsToSmallCaps(enabled?: boolean): ShapeFeature;
|
|
54
|
+
/**
|
|
55
|
+
* Petite capitals (pcap)
|
|
56
|
+
*/
|
|
57
|
+
export declare function petiteCaps(enabled?: boolean): ShapeFeature;
|
|
58
|
+
/**
|
|
59
|
+
* All small capitals (both smcp and c2sc)
|
|
60
|
+
*/
|
|
61
|
+
export declare function allSmallCaps(enabled?: boolean): ShapeFeature[];
|
|
62
|
+
/**
|
|
63
|
+
* Oldstyle figures (onum)
|
|
64
|
+
*/
|
|
65
|
+
export declare function oldstyleFigures(enabled?: boolean): ShapeFeature;
|
|
66
|
+
/**
|
|
67
|
+
* Lining figures (lnum)
|
|
68
|
+
*/
|
|
69
|
+
export declare function liningFigures(enabled?: boolean): ShapeFeature;
|
|
70
|
+
/**
|
|
71
|
+
* Proportional figures (pnum)
|
|
72
|
+
*/
|
|
73
|
+
export declare function proportionalFigures(enabled?: boolean): ShapeFeature;
|
|
74
|
+
/**
|
|
75
|
+
* Tabular figures (tnum)
|
|
76
|
+
*/
|
|
77
|
+
export declare function tabularFigures(enabled?: boolean): ShapeFeature;
|
|
78
|
+
/**
|
|
79
|
+
* Fractions (frac)
|
|
80
|
+
*/
|
|
81
|
+
export declare function fractions(enabled?: boolean): ShapeFeature;
|
|
82
|
+
/**
|
|
83
|
+
* Ordinals (ordn)
|
|
84
|
+
*/
|
|
85
|
+
export declare function ordinals(enabled?: boolean): ShapeFeature;
|
|
86
|
+
/**
|
|
87
|
+
* Slashed zero (zero)
|
|
88
|
+
*/
|
|
89
|
+
export declare function slashedZero(enabled?: boolean): ShapeFeature;
|
|
90
|
+
/**
|
|
91
|
+
* Superscript (sups)
|
|
92
|
+
*/
|
|
93
|
+
export declare function superscript(enabled?: boolean): ShapeFeature;
|
|
94
|
+
/**
|
|
95
|
+
* Subscript (subs)
|
|
96
|
+
*/
|
|
97
|
+
export declare function subscript(enabled?: boolean): ShapeFeature;
|
|
98
|
+
/**
|
|
99
|
+
* Scientific inferiors (sinf)
|
|
100
|
+
*/
|
|
101
|
+
export declare function scientificInferiors(enabled?: boolean): ShapeFeature;
|
|
102
|
+
/**
|
|
103
|
+
* Case-sensitive forms (case)
|
|
104
|
+
*/
|
|
105
|
+
export declare function caseSensitiveForms(enabled?: boolean): ShapeFeature;
|
|
106
|
+
/**
|
|
107
|
+
* Capital spacing (cpsp)
|
|
108
|
+
*/
|
|
109
|
+
export declare function capitalSpacing(enabled?: boolean): ShapeFeature;
|
|
110
|
+
/**
|
|
111
|
+
* Kerning (kern)
|
|
112
|
+
*/
|
|
113
|
+
export declare function kerning(enabled?: boolean): ShapeFeature;
|
|
114
|
+
/**
|
|
115
|
+
* Vertical forms (vert) - for vertical text layout
|
|
116
|
+
*/
|
|
117
|
+
export declare function verticalForms(enabled?: boolean): ShapeFeature;
|
|
118
|
+
/**
|
|
119
|
+
* Vertical alternates and rotation (vrt2) - for vertical text layout
|
|
120
|
+
*/
|
|
121
|
+
export declare function verticalAlternatesRotation(enabled?: boolean): ShapeFeature;
|
|
122
|
+
/**
|
|
123
|
+
* Vertical Kana alternates (vkna) - for Japanese vertical text
|
|
124
|
+
*/
|
|
125
|
+
export declare function verticalKanaAlternates(enabled?: boolean): ShapeFeature;
|
|
126
|
+
/**
|
|
127
|
+
* All vertical layout features
|
|
128
|
+
*/
|
|
129
|
+
export declare function verticalLayoutFeatures(enabled?: boolean): ShapeFeature[];
|
|
130
|
+
/**
|
|
131
|
+
* Ruby notation forms (ruby)
|
|
132
|
+
*/
|
|
133
|
+
export declare function ruby(enabled?: boolean): ShapeFeature;
|
|
134
|
+
/**
|
|
135
|
+
* Half-width forms (hwid)
|
|
136
|
+
*/
|
|
137
|
+
export declare function halfWidthForms(enabled?: boolean): ShapeFeature;
|
|
138
|
+
/**
|
|
139
|
+
* Full-width forms (fwid)
|
|
140
|
+
*/
|
|
141
|
+
export declare function fullWidthForms(enabled?: boolean): ShapeFeature;
|
|
142
|
+
/**
|
|
143
|
+
* Proportional-width forms (pwid)
|
|
144
|
+
*/
|
|
145
|
+
export declare function proportionalWidthForms(enabled?: boolean): ShapeFeature;
|
|
146
|
+
/**
|
|
147
|
+
* Quarter-width forms (qwid)
|
|
148
|
+
*/
|
|
149
|
+
export declare function quarterWidthForms(enabled?: boolean): ShapeFeature;
|
|
150
|
+
/**
|
|
151
|
+
* Third-width forms (twid)
|
|
152
|
+
*/
|
|
153
|
+
export declare function thirdWidthForms(enabled?: boolean): ShapeFeature;
|
|
154
|
+
/**
|
|
155
|
+
* JIS78 forms (jp78) - Japanese
|
|
156
|
+
*/
|
|
157
|
+
export declare function jis78Forms(enabled?: boolean): ShapeFeature;
|
|
158
|
+
/**
|
|
159
|
+
* JIS83 forms (jp83) - Japanese
|
|
160
|
+
*/
|
|
161
|
+
export declare function jis83Forms(enabled?: boolean): ShapeFeature;
|
|
162
|
+
/**
|
|
163
|
+
* JIS90 forms (jp90) - Japanese
|
|
164
|
+
*/
|
|
165
|
+
export declare function jis90Forms(enabled?: boolean): ShapeFeature;
|
|
166
|
+
/**
|
|
167
|
+
* JIS2004 forms (jp04) - Japanese
|
|
168
|
+
*/
|
|
169
|
+
export declare function jis2004Forms(enabled?: boolean): ShapeFeature;
|
|
170
|
+
/**
|
|
171
|
+
* Simplified forms (smpl) - Chinese
|
|
172
|
+
*/
|
|
173
|
+
export declare function simplifiedForms(enabled?: boolean): ShapeFeature;
|
|
174
|
+
/**
|
|
175
|
+
* Traditional forms (trad) - Chinese
|
|
176
|
+
*/
|
|
177
|
+
export declare function traditionalForms(enabled?: boolean): ShapeFeature;
|
|
178
|
+
/**
|
|
179
|
+
* Create a feature from a 4-character tag string
|
|
180
|
+
*/
|
|
181
|
+
export declare function feature(tagStr: string, enabled?: boolean): ShapeFeature;
|
|
182
|
+
/**
|
|
183
|
+
* Create multiple features from tag strings
|
|
184
|
+
*/
|
|
185
|
+
export declare function features(tagStrs: string[], enabled?: boolean): ShapeFeature[];
|
|
186
|
+
/**
|
|
187
|
+
* Combine multiple feature sets
|
|
188
|
+
*/
|
|
189
|
+
export declare function combineFeatures(...featureSets: (ShapeFeature | ShapeFeature[])[]): ShapeFeature[];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Font } from "../font/font.ts";
|
|
2
|
+
import type { AnyGposLookup } from "../font/tables/gpos.ts";
|
|
3
|
+
import type { AnyGsubLookup } from "../font/tables/gsub.ts";
|
|
4
|
+
import type { Tag } from "../types.ts";
|
|
5
|
+
/** Feature with optional value */
|
|
6
|
+
export interface ShapeFeature {
|
|
7
|
+
tag: Tag;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** Collected lookups for shaping */
|
|
11
|
+
export interface ShapePlan {
|
|
12
|
+
script: Tag;
|
|
13
|
+
language: Tag | null;
|
|
14
|
+
direction: "ltr" | "rtl";
|
|
15
|
+
/** GSUB lookups to apply, in order */
|
|
16
|
+
gsubLookups: Array<{
|
|
17
|
+
index: number;
|
|
18
|
+
lookup: AnyGsubLookup;
|
|
19
|
+
}>;
|
|
20
|
+
/** GPOS lookups to apply, in order */
|
|
21
|
+
gposLookups: Array<{
|
|
22
|
+
index: number;
|
|
23
|
+
lookup: AnyGposLookup;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
/** Get or create a cached shape plan */
|
|
27
|
+
export declare function getOrCreateShapePlan(font: Font, script: string, language: string | null, direction: "ltr" | "rtl", userFeatures?: ShapeFeature[], axisCoords?: number[] | null): ShapePlan;
|
|
28
|
+
/** Create a shape plan for the given font and settings */
|
|
29
|
+
export declare function createShapePlan(font: Font, script: string, language: string | null, direction: "ltr" | "rtl", userFeatures?: ShapeFeature[], axisCoords?: number[] | null): ShapePlan;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GlyphBuffer } from "../buffer/glyph-buffer.ts";
|
|
2
|
+
import type { UnicodeBuffer } from "../buffer/unicode-buffer.ts";
|
|
3
|
+
import { Face } from "../font/face.ts";
|
|
4
|
+
import type { Font } from "../font/font.ts";
|
|
5
|
+
import { type ShapeFeature } from "./shape-plan.ts";
|
|
6
|
+
export interface ShapeOptions {
|
|
7
|
+
script?: string;
|
|
8
|
+
language?: string | null;
|
|
9
|
+
direction?: "ltr" | "rtl";
|
|
10
|
+
features?: ShapeFeature[];
|
|
11
|
+
}
|
|
12
|
+
/** Font or Face - accepted by shape function */
|
|
13
|
+
export type FontLike = Font | Face;
|
|
14
|
+
/**
|
|
15
|
+
* Shape text using OpenType features.
|
|
16
|
+
* Accepts Font or Face (for variable fonts).
|
|
17
|
+
*/
|
|
18
|
+
export declare function shape(fontLike: FontLike, buffer: UnicodeBuffer, options?: ShapeOptions): GlyphBuffer;
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
export type uint8 = number;
|
|
2
|
+
export type int8 = number;
|
|
3
|
+
export type uint16 = number;
|
|
4
|
+
export type int16 = number;
|
|
5
|
+
export type uint32 = number;
|
|
6
|
+
export type int32 = number;
|
|
7
|
+
export type Fixed = number;
|
|
8
|
+
export type F2Dot14 = number;
|
|
9
|
+
export type FWord = number;
|
|
10
|
+
export type UFWord = number;
|
|
11
|
+
export type Offset16 = number;
|
|
12
|
+
export type Offset32 = number;
|
|
13
|
+
export type GlyphId = number;
|
|
14
|
+
/** 4-character ASCII tag (packed as uint32 for efficiency) */
|
|
15
|
+
export type Tag = number;
|
|
16
|
+
/** Text direction */
|
|
17
|
+
export declare enum Direction {
|
|
18
|
+
Invalid = 0,
|
|
19
|
+
LTR = 4,
|
|
20
|
+
RTL = 5,
|
|
21
|
+
TTB = 6,
|
|
22
|
+
BTT = 7
|
|
23
|
+
}
|
|
24
|
+
/** Cluster level for glyph-character mapping */
|
|
25
|
+
export declare enum ClusterLevel {
|
|
26
|
+
MonotoneGraphemes = 0,
|
|
27
|
+
MonotoneCharacters = 1,
|
|
28
|
+
Characters = 2
|
|
29
|
+
}
|
|
30
|
+
/** Buffer flags */
|
|
31
|
+
export declare enum BufferFlags {
|
|
32
|
+
Default = 0,
|
|
33
|
+
BeginningOfText = 1,
|
|
34
|
+
EndOfText = 2,
|
|
35
|
+
PreserveDefaultIgnorables = 4,
|
|
36
|
+
RemoveDefaultIgnorables = 8,
|
|
37
|
+
DoNotInsertDottedCircle = 16
|
|
38
|
+
}
|
|
39
|
+
/** Glyph classification from GDEF */
|
|
40
|
+
export declare enum GlyphClass {
|
|
41
|
+
Base = 1,
|
|
42
|
+
Ligature = 2,
|
|
43
|
+
Mark = 3,
|
|
44
|
+
Component = 4
|
|
45
|
+
}
|
|
46
|
+
/** Feature specification for shaping */
|
|
47
|
+
export interface Feature {
|
|
48
|
+
tag: Tag;
|
|
49
|
+
value: number;
|
|
50
|
+
start: number;
|
|
51
|
+
end: number;
|
|
52
|
+
}
|
|
53
|
+
/** Variation axis value */
|
|
54
|
+
export interface Variation {
|
|
55
|
+
tag: Tag;
|
|
56
|
+
value: number;
|
|
57
|
+
}
|
|
58
|
+
/** Glyph info during shaping */
|
|
59
|
+
export interface GlyphInfo {
|
|
60
|
+
glyphId: GlyphId;
|
|
61
|
+
cluster: number;
|
|
62
|
+
mask: number;
|
|
63
|
+
/** Unicode codepoint (before shaping) */
|
|
64
|
+
codepoint: number;
|
|
65
|
+
}
|
|
66
|
+
/** Glyph position after shaping */
|
|
67
|
+
export interface GlyphPosition {
|
|
68
|
+
xAdvance: number;
|
|
69
|
+
yAdvance: number;
|
|
70
|
+
xOffset: number;
|
|
71
|
+
yOffset: number;
|
|
72
|
+
}
|
|
73
|
+
/** Table record from font directory */
|
|
74
|
+
export interface TableRecord {
|
|
75
|
+
tag: Tag;
|
|
76
|
+
checksum: uint32;
|
|
77
|
+
offset: Offset32;
|
|
78
|
+
length: uint32;
|
|
79
|
+
}
|
|
80
|
+
/** Lookup flags for controlling glyph matching */
|
|
81
|
+
export interface LookupFlags {
|
|
82
|
+
rightToLeft: boolean;
|
|
83
|
+
ignoreBaseGlyphs: boolean;
|
|
84
|
+
ignoreLigatures: boolean;
|
|
85
|
+
ignoreMarks: boolean;
|
|
86
|
+
useMarkFilteringSet: boolean;
|
|
87
|
+
markAttachmentType: number;
|
|
88
|
+
markFilteringSet?: number;
|
|
89
|
+
}
|
|
90
|
+
export declare function tag(str: string): Tag;
|
|
91
|
+
export declare function tagToString(t: Tag): string;
|
|
92
|
+
export declare const Tags: {
|
|
93
|
+
readonly head: number;
|
|
94
|
+
readonly hhea: number;
|
|
95
|
+
readonly hmtx: number;
|
|
96
|
+
readonly maxp: number;
|
|
97
|
+
readonly cmap: number;
|
|
98
|
+
readonly loca: number;
|
|
99
|
+
readonly glyf: number;
|
|
100
|
+
readonly name: number;
|
|
101
|
+
readonly OS2: number;
|
|
102
|
+
readonly post: number;
|
|
103
|
+
readonly GDEF: number;
|
|
104
|
+
readonly GSUB: number;
|
|
105
|
+
readonly GPOS: number;
|
|
106
|
+
readonly BASE: number;
|
|
107
|
+
readonly JSTF: number;
|
|
108
|
+
readonly MATH: number;
|
|
109
|
+
readonly CFF: number;
|
|
110
|
+
readonly CFF2: number;
|
|
111
|
+
readonly fvar: number;
|
|
112
|
+
readonly gvar: number;
|
|
113
|
+
readonly avar: number;
|
|
114
|
+
readonly HVAR: number;
|
|
115
|
+
readonly VVAR: number;
|
|
116
|
+
readonly MVAR: number;
|
|
117
|
+
readonly morx: number;
|
|
118
|
+
readonly kerx: number;
|
|
119
|
+
readonly kern: number;
|
|
120
|
+
readonly trak: number;
|
|
121
|
+
readonly feat: number;
|
|
122
|
+
readonly COLR: number;
|
|
123
|
+
readonly CPAL: number;
|
|
124
|
+
readonly SVG: number;
|
|
125
|
+
readonly sbix: number;
|
|
126
|
+
readonly CBDT: number;
|
|
127
|
+
readonly CBLC: number;
|
|
128
|
+
readonly STAT: number;
|
|
129
|
+
readonly vhea: number;
|
|
130
|
+
readonly vmtx: number;
|
|
131
|
+
readonly VORG: number;
|
|
132
|
+
};
|
|
133
|
+
export declare const FeatureTags: {
|
|
134
|
+
readonly ccmp: number;
|
|
135
|
+
readonly locl: number;
|
|
136
|
+
readonly rlig: number;
|
|
137
|
+
readonly liga: number;
|
|
138
|
+
readonly clig: number;
|
|
139
|
+
readonly calt: number;
|
|
140
|
+
readonly rclt: number;
|
|
141
|
+
readonly dlig: number;
|
|
142
|
+
readonly smcp: number;
|
|
143
|
+
readonly c2sc: number;
|
|
144
|
+
readonly isol: number;
|
|
145
|
+
readonly init: number;
|
|
146
|
+
readonly medi: number;
|
|
147
|
+
readonly fina: number;
|
|
148
|
+
readonly kern: number;
|
|
149
|
+
readonly mark: number;
|
|
150
|
+
readonly mkmk: number;
|
|
151
|
+
readonly curs: number;
|
|
152
|
+
readonly dist: number;
|
|
153
|
+
};
|