SfntLoadFace
function · unassigned · primitive
- Address
0x7d8920· 991 bytes, up to0x7d8cfe- Meaning
- Sets up an SFNT face, among it one charmap per cmap record tagged by encoding, the first unic one current
- Confidence
- verified, proof one
- Finding
- font/freetype#charmap-selection
Finding: Charmap selection in font: the FreeType calls
A face's charmaps are its cmap encoding records, one each, in file order. Each is tagged by the
first row of the table 0x81eb70 that names its platform and encoding:
| platform | encoding | tag |
|---|---|---|
| 2 | any | unic |
| 0 | any | unic |
| 1 | 0 | armn |
| 3 | 0, 1, 2, 3, 4, 5, 6 | symb, unic, sjis, gb , big5, wans, joha |
Any other pair gets 0. The face's charmap starts as its first unic record. FT_Select_Charmap
sets the first charmap with the tag asked for and returns 0, or 6 when none has it, 0x23 for a
null face and 0x26 for a face without charmaps. A font whose only Unicode cmap is platform 3
encoding 10 fails to open.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- 0x7cd450 unassigned
- 0x7d6a60 unassigned
- 0x7d8d00 unassigned
- FindTrueTypeEncoding unassigned
Calls and jumps by a bare address, from tables/calls.tsv.