benilla-re systems structs docs

GlyphRecordMove

function · font · orchestration

Address
0x5c7f50 · 42 bytes, up to 0x5c7f79
Signature
void __thiscall (void *this, void *source)
Meaning
Frees the destination buffer, copies 14 dwords from the source and clears the source buffer 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 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.