Skip to content

FaceOutlines

Defined in: src/core/ir/flow.ts:44

The outlines a face drew a document’s characters with — what a writer needs to EMBED the face, so a reader that lacks it sets the text in the face the source was set in instead of a substitute (ECMA-376 §17.8.1).

readonly ascent: number

Defined in: src/core/ir/flow.ts:73

The line to set the face in, above and below the baseline, in thousandths of an em — descent negative. A reader that reconstructs a page gives the line it measured the page against, so a paragraph set in the face’s single spacing lands where the page put it.


readonly bold: boolean

Defined in: src/core/ir/flow.ts:63

The style the face IS, which is the slot a family embeds it in.


readonly optional capHeight?: number

Defined in: src/core/ir/flow.ts:75


readonly descent: number

Defined in: src/core/ir/flow.ts:74


readonly fixedPitch: boolean

Defined in: src/core/ir/flow.ts:79


readonly optional fsType?: number

Defined in: src/core/ir/flow.ts:61

OS/2 fsType — the embedding the face’s licence allows, as its program states it; absent where the program states nothing.


readonly glyphs: ReadonlyMap<string, FaceGlyph>

Defined in: src/core/ir/flow.ts:46

Each character (one code point) the document shows in the face → its glyph.


readonly italic: boolean

Defined in: src/core/ir/flow.ts:64


readonly italicAngle: number

Defined in: src/core/ir/flow.ts:78

Degrees counterclockwise from the vertical; a face slanted right is negative.


readonly optional kerning?: ReadonlyMap<string, number>

Defined in: src/core/ir/flow.ts:51

The pairs the source KERNED the face by: two characters → the adjustment to the first one’s advance, in thousandths of an em (negative tightens).


readonly optional ligatures?: ReadonlyMap<string, FaceGlyph>

Defined in: src/core/ir/flow.ts:56

The ligatures the source drew in the face: the letters one glyph stands for (“fi”, “ffl”) → that glyph.


readonly postScriptName: string

Defined in: src/core/ir/flow.ts:66

The program’s own name for the face, without a subset tag.


readonly optional xHeight?: number

Defined in: src/core/ir/flow.ts:76