LoadTrueTypeGlyph
function · unassigned · primitive
- Address
0x7d3ed0· 962 bytes, up to0x7d4291- Signature
int32_t __fastcall (void *loader, uint32_t glyph)- Meaning
- Loads a TrueType glyph, simple or composite, recursing into each component and moving it by its offset
- Confidence
- verified, proof one
- Finding
- font/freetype#composite-glyphs
Finding: Composite glyphs in font: the FreeType calls
A TrueType composite loads each component, scaled, in order, then moves it.
A component with a scale, an x and y scale or a 2×2 matrix transforms its new points by
x' = x·m0 + y·m1, y' = x·m2 + y·m3, where m0 to m3 are the matrix's values in file order
shifted left by 2, from 2.14 to 16.16. With ARGS_ARE_XY_VALUES (2) the offset is the two
arguments, used as they are under NO_SCALE, else each scaled by its axis's scale and, under
ROUND_XY_TO_GRID (4), rounded to (v + 32) & −64, hinted or not. Without it the offset is point
k of the composite minus point l of the component. USE_MY_METRICS (0x200) keeps the component's
phantom points.
The derivation is in the doc.
Callers 1
- TTLoadGlyph unassigned
Callees 7
- FTMulFix unassigned
- 0x7cd680 unassigned
- 0x7cd7d0 unassigned
- FTVectorTransform unassigned
- 0x7d42a0 unassigned
- TranslatePoints unassigned
- 0x7d4350 unassigned
Calls and jumps by a bare address, from tables/calls.tsv.