build(qbz-slint): switch Slint renderer from femtovg to Skia
femtovg's text rendering looks coarse next to native Qt/KDE. The slint dependency now uses default-features = false with renderer-skia (plus backend-winit, renderer-software fallback, accessibility, compat-1-2). Pulls skia-safe — first build is slower and the binary grows ~6 MB, both expected and accepted. cc
This commit is contained in:
2 files changed
+14
-133
No files matched your search
@@ -11,7 +11,18 @@ name = "qbz-slint"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
slint = "1"
|
||||
# Skia renderer instead of the default femtovg — femtovg's text rendering
|
||||
# looks coarse next to native Qt/KDE. default-features = false drops
|
||||
# femtovg; std/accessibility/compat-1-2 are kept from the old default set,
|
||||
# renderer-software stays as a cheap fallback if Skia fails to init.
|
||||
slint = { version = "1", default-features = false, features = [
|
||||
"std",
|
||||
"backend-winit",
|
||||
"renderer-skia",
|
||||
"renderer-software",
|
||||
"accessibility",
|
||||
"compat-1-2",
|
||||
] }
|
||||
log = { workspace = true }
|
||||
env_logger = "0.11"
|
||||
tokio = { workspace = true }
|
||||
|
||||
Reference in new issue
Block a user