CGxFont::ComputeRasterMetrics
function · font · primitive
- Address
0x5ca030· 300 bytes, up to0x5ca15b- Signature
int __thiscall (CGxFont *this)- Meaning
- Derives the pixel size, cell size and advance ratio of a font
- Confidence
- verified, proof one
- Finding
- font/metrics#per-font-metrics
- Test
font::font_raster_metrics_difftest
Finding: Per-font metrics in font: scaling, advances and metrics
0x5ca030(font) derives the raster size, the cell size and the advance ratio of a font from its
requested size and the face.
The derivation is in the doc.
Callers 2
- CGxFont::Init font
- CGxFont::Relayout font
Callees 6
- __ftol crt
- ScreenToPixelHeight font
- GxuFontGetPixelSize font
- MinMetricScreenHeight font
- 0x5d0370 unassigned
- 0x7ce760 unassigned
Calls and jumps by a bare address, from tables/calls.tsv.