3 ms·
Metafont's "charext" feature allows for more than 128 glyphs, though it's kind of a cheat, as it puts artificial constraints on character dimensions. But it wou
by drfuchs 6y ago
Metafont's "charext" feature allows for more than 128 glyphs, though it's kind of a cheat, as it puts artificial constraints on character dimensions. But it would be much less trouble to modify Metafont to properly handle larger character sets than it was to get TeX to.
Concerning bitmaps, it's ironic that window systems ultimately display bitmaps on the screen, yet they keep the pathway from font-outline to their character-bitmap cache internal. There's no way to tell MacOS, for instance, that you want to plug in your own provider, that it can call whenever it first wants the bitmap for a given font glyph at a given size. Too bad this API is hidden; it must exist internally in MacOS, Windows, etc.
- dhosek 6y agoIIRC, MF 2.0 at least boosted 128 to 256. At the time, the only character sets which went beyond 256 characters were CJK character sets which had uniform character dimensions for all characters so the limitation was not a problem.
- drfuchs 6y agoYou're absolutely correct; I should have said "more than 256". It's difficult to modify TeX to handle larger character sets, but Metafont could, using that weird hack that all characters of a given "mod 256" had to have the same dimensions (no doubt simply due to the limitations of TFM format).