benilla-re systems structs docs

TTGetCharIndex

function · unassigned · orchestration

Address
0x7d3c10 · 59 bytes, up to 0x7d3c4a
Signature
uint32_t __fastcall (void *charmap, uint32_t code)
Meaning
Loads a TrueType charmap's subtable on first use and jumps to its format's lookup, or returns 0
Confidence
verified, proof one
Finding
font/freetype#character-index

Finding: Character index in font: the FreeType calls

FT_Get_Char_Index (0x7ce960) returns 0 for a null face or a face without a charmap, and otherwise the glyph the face's driver gives for the code. The TrueType driver's lookup loads the charmap's subtable on first use, returns 0 when that fails or when the subtable's format has no lookup, and otherwise jumps to the format's lookup, which this entry does not read.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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