benilla-re systems structs docs

TTDriverLoadGlyph

function · unassigned · primitive

Address
0x7d3ba0 · 107 bytes, up to 0x7d3c0a
Signature
int32_t __fastcall (void *slot, void *size, uint32_t glyph, int32_t flags)
Meaning
Checks a TrueType glyph load's size and slot and calls TT_Load_Glyph
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.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.