slint/internal/compiler/generator
Simon Hausmann 6b8214c3f9 Add support for italic and bold text in the software renderer's bitmap font path
In the screenshot tests this works by setting SLINT_DEFAULT_FONT to
pointer to a directory, instead of a file. We then load all fonts in
that directory and consider their families the default unless a family
is specified. This way for "Noto Sans" a regular as well as an italic
version is registered in fontdb and returned in the list of font
fallback ids. embed_glyphs in the compiler then embeds those variants
and we find them at run-time.
2023-05-31 18:47:39 +02:00
..
cpp.rs C++: Make sure embedded image data is declared const 2023-04-12 16:14:13 +02:00
rust.rs Add support for italic and bold text in the software renderer's bitmap font path 2023-05-31 18:47:39 +02:00