TTLoadCompositeGlyph
function · unassigned · primitive
- Address
0x7d4d90· 330 bytes, up to0x7d4ed9- Signature
int32_t __fastcall (void *loader)- Meaning
- Reads a composite glyph's components: flags, index, arguments and the scale or matrix as 16.16
- 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 0
None by a direct call or jump.
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.