Open harrisi opened 7 years ago
It's actually not possible to iterate through all of the glyphs in a font file due to limitations that are claimed to be inherent to Unicode.
For the cache, it may be worth positioning all of the glyphs to be stored in one large bitmap and referring to subsections, though this is far more work. First effort would just be as it is in the code now.
This would just entail going through all glyphs and caching them, as far as I understand. I don't actually think this is a good idea for EVERY glyph. Really the initial rendering is rather quick. I could see some value in pre-rendering ascii glyphs, but even then it's very likely to not make any difference in usage.