(no title)
afishhh | 4 months ago
I agree, but even this article seems to oversimplify.
> You can't really optimize texture copies much more.
Did the author try packing the textures in an atlas?
Texture atlases can improve performance significantly since then you can use instanced draw calls to draw a whole bunch of glyphs at once.
dcrazy|4 months ago
afishhh|4 months ago
There's even more depth one can go into here: subpixel positioning. To correctly draw glyphs that may be on subpixel positions, you need to rasterize and cache glyphs separately for each subpixel position (with some limited amount of precision, to balance cache usefulness and accuracy).
However I have a feeling that describing an entire Unicode-aware text stack here may not be useful, especially if TFA seems to only care about simple-script monospace LTR.