benilla-re systems structs docs

GxuFontGetPixelSize

function · font · primitive

Address
0x5cae90 · 7 bytes, up to 0x5cae96
Signature
uint32_t __thiscall (void *this)
Meaning
Returns the font's rendered pixel size
Confidence
verified, proof one
Name from
the community database (idb)
Finding
font/api#font-object

Finding: Font object in font: fonts, strings and batches

A font is 0x250 bytes. Its fields, by offset:

offsetholds
+0x00, +0x04registry link: next and previous font
+0x08, +0x0clink offset (the strings' link is at +0x10) and head of the font's string list
+0x14the glyph hash (its vtable 0x80a8cc); buckets +0x30, mask +0x38
+0x3cthe kerning hash (vtable 0x80a8bc); buckets +0x58, mask +0x60
+0x64, +0x68link offset and head of the glyph recency list
+0x70the face handle
+0x74the face file name, 0x104 bytes
+0x178, +0x17catlas cell size; baseline ascender in pixels
+0x180, +0x184flags; the requested size
+0x188advance adjustment ratio
+0x18ceight atlas pages of 0x18 bytes
+0x24cthe rendered pixel size

The derivation is in the doc.

Callers 9

Callees 0

None by a direct call or jump.

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