@pdfa-lab/fontkit / GlyphInfo
Class: GlyphInfo<ShaperInfoT> ​
Defined in: src/open-type/glyph-info.ts:10
Type Parameters ​
| Type Parameter | Default type |
|---|---|
ShaperInfoT | null |
Constructors ​
Constructor ​
new GlyphInfo<
ShaperInfoT>(font,id,codePoints?,features?):GlyphInfo<ShaperInfoT>
Defined in: src/open-type/glyph-info.ts:28
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
font | TrueTypeFont | undefined |
id | number | undefined |
codePoints | number[] | [] |
features? | Features | keyof Features[] | undefined |
Returns ​
GlyphInfo<ShaperInfoT>
Properties ​
| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
codePoints | public | number[] | [] | src/open-type/glyph-info.ts:31 |
cursiveAttachment | public | number | null | undefined | src/open-type/glyph-info.ts:18 |
features | public | FeatureFlags | undefined | src/open-type/glyph-info.ts:14 |
isBase? | public | boolean | undefined | src/open-type/glyph-info.ts:23 |
isLigated | public | boolean | undefined | src/open-type/glyph-info.ts:17 |
isLigature? | public | boolean | undefined | src/open-type/glyph-info.ts:24 |
isMark? | public | boolean | undefined | src/open-type/glyph-info.ts:25 |
isMultiplied | public | boolean | undefined | src/open-type/glyph-info.ts:22 |
ligatureComponent | public | number | null | undefined | src/open-type/glyph-info.ts:16 |
ligatureID | public | number | null | undefined | src/open-type/glyph-info.ts:15 |
markAttachment | public | number | null | undefined | src/open-type/glyph-info.ts:19 |
markAttachmentType? | public | number | undefined | src/open-type/glyph-info.ts:26 |
shaperInfo | public | ShaperInfoT | null | undefined | src/open-type/glyph-info.ts:20 |
substituted | public | boolean | undefined | src/open-type/glyph-info.ts:21 |
Accessors ​
id ​
Get Signature ​
get id():
number
Defined in: src/open-type/glyph-info.ts:60
Returns ​
number
Set Signature ​
set id(
id):void
Defined in: src/open-type/glyph-info.ts:64
Parameters ​
| Parameter | Type |
|---|---|
id | number |
Returns ​
void
Methods ​
copy() ​
copy():
GlyphInfo<ShaperInfoT>
Defined in: src/open-type/glyph-info.ts:94
Returns ​
GlyphInfo<ShaperInfoT>