benilla-re systems structs docs

s_ttDriverClass

global · unassigned

Address
0x81e920 · 100 bytes, up to 0x81e983
Type
uint32_t[25]
Meaning
Holds the TrueType driver class, flags 0x101: scalable, no hinter of its own
Confidence
verified, proof one
Finding
font/freetype#loading-a-glyph

Finding: Loading a glyph in font: the FreeType calls

FT_Load_Glyph(face, glyph, flags) (0x7cdb40) returns 0x23 without a face, a size or a glyph slot, and 6 for an index at or past the glyph count. NO_RECURSE (0x400) clears RENDER (4) and sets NO_SCALE, NO_HINTING and IGNORE_TRANSFORM (0x803). Without NO_SCALE or NO_HINTING a scalable driver with no hinter of its own loads through the auto-hinter; otherwise the driver loads. The advance is the horizontal one unless VERTICAL_LAYOUT (0x10); the linear advances are scaled by the ppem over the units per em unless LINEAR_DESIGN (0x2000); the face's transform applies unless IGNORE_TRANSFORM; and RENDER renders an outline in mode 1 under MONOCHROME (0x1000), else 0. The TrueType loader marks the outline high precision (0x100) when the size's y ppem is under 24.

The derivation is in the doc.