FTNewMemoryFace
function · unassigned · orchestration
- Address
0x7cdde0· 59 bytes, up to0x7cde1a- Signature
int32_t __fastcall (void *library, const void *data, int32_t size, int32_t faceIndex, void **face)- Meaning
- Opens a face from a memory buffer through FT_Open_Face
- Confidence
- verified, proof one
- Finding
- font/freetype#opening-a-face
Finding: Opening a face in font: the FreeType calls
0x5d0060(path, library) returns a handle to the face of a font path, or 0. A null library or a
null or empty path returns 0. A path already open, matched by its SStrHashHT hash and then
SStrCmpI without a length limit, returns its handle with a reference added. Otherwise the whole
file is read with SFile::Load flags 3, a face is made from that memory with face index 0, and
the unic charmap is selected; a failure unloads the file and returns 0, and a face made before a
failed selection is not released. A new record keeps the file, the face and the path in the table
0xc4ba7c, and its handle is returned with a reference added.
The derivation is in the doc.
Callers 1
- OpenFontFace unassigned
Callees 1
- 0x7cde20 unassigned
Calls and jumps by a bare address, from tables/calls.tsv.