Skip to content

@pdfa-lab/fontkit / OpenTypeHeader

Interface: OpenTypeHeader ​

Defined in: src/open-type-font.ts:79

These are propertiesthat are guaranteed to be defined, if the font has been upcast to an OpenTypeFont.

Extended by ​

Properties ​

ascent ​

ascent: number

Defined in: src/open-type-font.ts:80


bbox ​

bbox: Readonly<BoundingBox>

Defined in: src/open-type-font.ts:89


capHeight ​

capHeight: number

Defined in: src/open-type-font.ts:86


descent ​

descent: number

Defined in: src/open-type-font.ts:81


italicAngle ​

italicAngle: number

Defined in: src/open-type-font.ts:85


lineGap ​

lineGap: number

Defined in: src/open-type-font.ts:82


numGlyphs ​

numGlyphs: number

Defined in: src/open-type-font.ts:87


underlinePosition ​

underlinePosition: number

Defined in: src/open-type-font.ts:83


underlineThickness ​

underlineThickness: number

Defined in: src/open-type-font.ts:84


unitsPerEm ​

unitsPerEm: number

Defined in: src/open-type-font.ts:88