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).
Properties
Section titled “Properties”ascent
Section titled “ascent”
readonlyascent: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.
readonlybold:boolean
Defined in: src/core/ir/flow.ts:63
The style the face IS, which is the slot a family embeds it in.
capHeight?
Section titled “capHeight?”
readonlyoptionalcapHeight?:number
Defined in: src/core/ir/flow.ts:75
descent
Section titled “descent”
readonlydescent:number
Defined in: src/core/ir/flow.ts:74
fixedPitch
Section titled “fixedPitch”
readonlyfixedPitch:boolean
Defined in: src/core/ir/flow.ts:79
fsType?
Section titled “fsType?”
readonlyoptionalfsType?: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.
glyphs
Section titled “glyphs”
readonlyglyphs:ReadonlyMap<string,FaceGlyph>
Defined in: src/core/ir/flow.ts:46
Each character (one code point) the document shows in the face → its glyph.
italic
Section titled “italic”
readonlyitalic:boolean
Defined in: src/core/ir/flow.ts:64
italicAngle
Section titled “italicAngle”
readonlyitalicAngle:number
Defined in: src/core/ir/flow.ts:78
Degrees counterclockwise from the vertical; a face slanted right is negative.
kerning?
Section titled “kerning?”
readonlyoptionalkerning?: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).
ligatures?
Section titled “ligatures?”
readonlyoptionalligatures?: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.
postScriptName
Section titled “postScriptName”
readonlypostScriptName:string
Defined in: src/core/ir/flow.ts:66
The program’s own name for the face, without a subset tag.
xHeight?
Section titled “xHeight?”
readonlyoptionalxHeight?:number
Defined in: src/core/ir/flow.ts:76