Open skejeton opened 4 months ago
The main problem is that during font rendering each glyph is rendered as a separate bitmap, and each time a glyph is rendered, push_transform is called, which takes a lot of time to compute with so many calls.
push_transform
What I understand to be possible solutions:
What do you think are tradeoffs of various approaches and which ones you prefer and why?
I'll get back to it when optimizing, I think caching will be the easiest.
The main problem is that during font rendering each glyph is rendered as a separate bitmap, and each time a glyph is rendered,
push_transform
is called, which takes a lot of time to compute with so many calls.