Olivier Goffart
|
11dea135f7
|
Domain: slint-ui.com -> slint.dev
|
2023-06-16 10:55:08 +02:00 |
|
Aurindam Jana
|
039e54a5de
|
Add royalty free license to files except examples and docs (#2888)
|
2023-06-15 11:20:50 +02:00 |
|
Simon Hausmann
|
057493b3a9
|
Add support for italic text in the software renderer's vector font path
Centralize also fontdb::Query creation and family fallback handling in
sharedfontdb. This way SLINT_DEFAULT_FONT also works for the femtovg
renderer.
|
2023-05-31 18:47:39 +02:00 |
|
Simon Hausmann
|
328cfc76b6
|
Move sharedfontdb from core to common
This way it is also accessible to the compiler.
|
2023-05-23 08:26:03 +02:00 |
|
Simon Hausmann
|
0c11408dc5
|
Cleanup in software renderer systemfonts implementation
Make the VectorFont struct lighter by not having a reference to the
fontdb, which is thread-local anyway.
|
2023-05-19 10:40:51 +02:00 |
|
Simon Hausmann
|
51dc58a70a
|
Use the shared fontdb for the software renderer's systemfonts feature
|
2023-05-19 10:40:51 +02:00 |
|
Simon Hausmann
|
0e89ae220a
|
janitor: bump fontdb
|
2023-04-24 09:28:09 +02:00 |
|
Florian Blasius
|
f0ca191231
|
load system fonts for redox (#2597)
|
2023-04-20 08:43:17 +02:00 |
|
Olivier Goffart
|
538dddf953
|
Update fontdb since resvg depends on the newer one
|
2023-03-28 15:55:27 +02:00 |
|
Tobias Hunger
|
3ac01c3f07
|
clippy: Fix clippy warnings
|
2023-03-09 09:35:29 +01:00 |
|
Simon Hausmann
|
c10349b2d1
|
Fix software renderer system fonts on some Yocto distros
Add "Liberation Sans" as another default system font we could look for.
|
2023-03-06 13:55:53 +01:00 |
|
Simon Hausmann
|
860f318f7c
|
Bump femtovg, rustybuzz, ttf-parser, and fontdb dependencies (#2191)
Mostly bugfix changes upstream with some minor API changes. FemtoVG is
no more limited to 24 gradient stops for the paint.
|
2023-02-08 09:56:53 +01:00 |
|
Simon Hausmann
|
a3aaa5f9c8
|
Add support for SLINT_FONT_FALLBACK to the systemfonts approach of the software text renderer
|
2023-01-09 14:12:33 +01:00 |
|
Simon Hausmann
|
a440894588
|
Prospective fix for loading fonts with the software renderer from the system on Linux
Try a few fallback families that usually exist, instead of querying fontconfig from corelib.
|
2022-12-16 18:20:12 +01:00 |
|
Simon Hausmann
|
bf8187fed1
|
Cache glyphs rendered from truetype fonts
and cache the fontdue::Font as well, since that's also slow to create.
|
2022-12-16 18:20:12 +01:00 |
|
Simon Hausmann
|
2b7d4e7793
|
Basic implementation of the last resort font fallback for fontdb
|
2022-12-16 18:20:12 +01:00 |
|
Simon Hausmann
|
d92c49e09c
|
Separate pixel and vector fonts into modules of their own
|
2022-12-16 18:20:12 +01:00 |
|
Simon Hausmann
|
dee1b11a83
|
Initial support for truetype fonts in the software renderer
This works, but it's super slow as for every glyph the font is loaded
again and the glyphs are rasterized every time they're drawn.
|
2022-12-16 18:20:12 +01:00 |
|