FTLoadGlyph
function · unassigned · primitive
- Address
0x7cdb40· 410 bytes, up to0x7cdcd9- Signature
int32_t __fastcall (void *face, uint32_t glyph, int32_t flags)- Meaning
- Loads a glyph into the face's slot by its load flags, scales its advances and renders it under FT_LOAD_RENDER
- 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 5
- GlyphLoadRender gx
- 0x7cdd60 unassigned
- 0x7e2a20 unassigned
- 0x7e2d10 unassigned
- 0x7e3930 unassigned
Callees 5
- 0x7cd030 unassigned
- 0x7cdce0 unassigned
- 0x7cea80 unassigned
- FTRenderGlyph unassigned
- FTVectorTransform unassigned
Calls and jumps by a bare address, from tables/calls.tsv.