iced-yoda/tiny_skia
Gavin John 590e093086 fix(text): don't reload cache every redraw
I have >1000 fonts installed. COSMIC has always been somewhat laggy for me, but I had assumed it was just like that for everyone, or was the fault of my T480s. Eventually, when trying to diagnose some hitching, I ended up discovering that cosmic-launcher was consuming on average ~5% total CPU over time, which led me to discover that it was fetching all the fonts from disk and software rendering the fonts, every redraw, causing the high cpu usage *and* the stutters (as a result of hammering disk I/O). Oops.

The fix is simple: just persist the cache across redraws.
2026-05-29 19:56:54 +02:00
..
fonts feat: pop-os megasquash 2026-01-21 13:12:08 -05:00
src fix(text): don't reload cache every redraw 2026-05-29 19:56:54 +02:00
Cargo.toml Enable x11 and wayland by default in iced_tiny_skia 2025-12-07 21:16:13 +01:00