There can be thousands more glyphs that are used for compositing, or multi-codepoint substitution, etc that cannot be resolved through the character map).Īlso, one font can, and usually does, contain more than one mapping, because different historical and current character sets (ASCII, EUC-KR, ISO2022-JP, Unicode, etc. (Note that this does not define "which glyphs exist" for the font, it only says which glyphs are directly matched to individual character codes such as individual ASCII bytes or Unicode codepoints. OpenType fonts have a "Character Map" that provides (all) the simple one-to-one mapping(s) from input byte code to some glyph ("shape") somewhere in the list of available glyphs. Yes, those are the same font, they only differ in their glyph outline encoding, which is kind of the least notable part about a modern font), because that's the kind you're most likely using, in which case: the font pretty much controls everything, and the text engine you're relying on is simply following its instructions. I'm going to explain this in terms of OpenType fonts (what most people call "ttf" and "otf" fonts. The days of "one codepoint maps to one letter" are kind of 20 years ago, modern fonts have -for the last few decades- been doing way more than that. Welcome to modern fonts: they're not what you think.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |