GlyphRecordFreeBuffer
function · font · orchestration
- Address
0x5c7f30· 32 bytes, up to0x5c7f4f- Signature
void __thiscall (void *this)- Meaning
- Frees the buffer a glyph record holds at +0 and clears the pointer
- Confidence
- verified, proof one
- Finding
- font/glyphs#glyph-vertical-terms
Finding: Glyph vertical terms in font: glyph cache and atlas
A glyph record holds two vertical terms after the bitmap record 0x5d1120 fills moves into it: +0x58 is the gap and +0x5c the top padding that 0x5d1360 returns. 0x5c7f50(source) frees the record's buffer at +0 (0x5c7f30), copies 14 dwords from the source to +0x38 and clears the source's first word, so the source's +0x20 and +0x24 become +0x58 and +0x5c. The quad builder reads +0x58 only: proto.y rises by gap · scale, which is 0 unless the glyph's bitmap_top exceeds the ascender or its ink overflows the cell (the cases of 0x5d1360, above). The bakes read the padding at the record's +0x24 to seat the ink in the cell.
The derivation is in the doc.
Callers 2
- 0x5c7f20 font
- GlyphRecordMove font
Callees 1
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.