Commit graph

9 commits

Author SHA1 Message Date
Olivier Goffart
2ee0904169 uefi demo: Fix compilation in master
After 80de96488a we now detect binding
loop if the window's layout depends on itself
2025-05-26 15:44:30 +02:00
Simon Hausmann
d81cc50699 Fix uefi-demo build after printerdemo move to demos 2024-10-25 15:13:19 +00:00
Florian Blasius
4ec63a9c71
cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Aurindam Jana
e4338300de
Change license for examples to MIT (#2887) 2023-06-15 11:23:17 +02:00
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
Simon Hausmann
b2bb8a93e5 uefi-demo: Try to keep the pre-rendered about slint at its preferred size
So that it doesn't look pixelated.
2023-04-13 10:19:42 +02:00
Simon Hausmann
0494488c51 Polish the UEFI demo a little
- Move the about slint logo to the front page and center it
2023-04-13 09:51:07 +02:00
Jan Janssen
decdf07be0 examples: Add uefi-demo 2023-04-12 08:23:09 +02:00