Lagrange [dev]

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

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/dev/commits/360528442c8c60a75a90457981e30cd088fc9042
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
27.366126 milliseconds
Gemini-to-HTML Time
0.622934 milliseconds

This content has been proxied by September (3851b).