Lagrange [release]

Text: Lazy glyph rasterization

Jaakko Keränen

Sun Jan 10 16:23:03 2021 +0200

Glyphs are now rasterized only when they are needed for drawing. Otherwise, only the metrics and the cache position are set.

This is more robust as we can retry rasterizing glyphs that previously failed, and faster because measuring (e.g., document layout) doesn't rasterize anything.

Conflicts:

src/ui/text.c

 src/ui/text.c | 136 ++++++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 95 insertions(+), 41 deletions(-)
Diff (Colored)
Diff (Colored, Plain Text)
🔨 Patch
Parent 37a2fbb6
Repository