CGxFont::ComputeStep
function · font · primitive
- Address
0x5ca2d0· 467 bytes, up to0x5ca4a2- Meaning
- Returns the proportional step from one glyph to the next
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- font/metrics#step-between-two-glyphs
- Test
font::compute_step_difftest
Finding: Step between two glyphs in font: scaling, advances and metrics
0x5ca2d0(prev, cur) is the proportional step from one glyph to the next: the previous glyph's
step base plus its kerning with the next, rounded up. 0x5ca4b0 is the fixed-width step, which
centres each glyph in a cell of [font + 0x178] pixels.
The derivation is in the doc.
Callers 6
- MeasureTextExtent font
- CGxFont::GetCharAdvance font
- InternalGetMaxCharsWithinWidth font
- MeasureRunFixed font
- MeasureRunProportional font
- CGxString::BuildGlyphQuad font
Callees 9
- CGxFont::GetGlyphStepBase font
- 0x5cbd50 font
- 0x5cc290 font
- 0x5cc4d0 font
- 0x5cc730 font
- 0x5d0370 unassigned
- ceil crt
- FTGetKerning unassigned
- FTGetCharIndex unassigned
Calls and jumps by a bare address, from tables/calls.tsv.