slint/internal
Simon Hausmann eff2ddbbea software renderer: Fix severe slowness when using system fonts
With fontique collections, we rely on the shared source cache to be effective, to avoid repeatedly loading new fonts when creating new fontique::Collection instances. That cache however stores weak references to the blobs.

For parley based rendering, we keep one single fontique collection in the thread-local CONTEXTS in sharedparley.rs, which basically keeps strong references to font blobs we use.

When not using parley, we discarded the strong reference to the font blog after creating the fontdue font, which unfortunately meant that the font was discarded from the shared cache and loaded *every* time we queried the collection.
2025-10-14 18:49:38 +02:00
..
backends core: Do not panic when closing a popup during rendering (#9666) 2025-10-13 10:14:30 +02:00
common fontique: Fix font metrics queries with wasm builds 2025-10-12 11:52:43 +02:00
compiler TextEdit: change the has-focus property to be an output property (#9731) 2025-10-14 14:38:38 +02:00
core software renderer: Fix severe slowness when using system fonts 2025-10-14 18:49:38 +02:00
core-macros FocusScope: Remove FocusPolicy and adds two bool state instead (#9263) 2025-08-26 21:42:40 +02:00
interpreter Remove doc_auto_cfg feature 2025-10-08 09:22:35 +02:00
renderers FemtoVG: Fix regression with glyph rendering performance 2025-10-13 13:53:56 +02:00