Replies: 2 comments 2 replies
-
|
I haven’t worked much with font styles, but it seems feasible to expose the font-family property to the business logic. The decompression could also be handled at startup, updating the font-family property via slint::invoke_from_event_loop(F f). |
Beta Was this translation helpful? Give feedback.
-
Have you found a solution? I’m also working on internationalization, but the font package is too large, so I don’t want to embed it into the executable. I hope to load it dynamically, but if the font package is not loaded, some computers display question marks instead. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The font package is too big, so I don't want to embed it in the software, but dynamically download, unzip it at runtime. I want to display the default font first, and replace it with a new font when the decompression is complete.
Beta Was this translation helpful? Give feedback.
All reactions