optionally load decoration font at runtime instead of embedding it

This commit is contained in:
Fabio Valentini 2025-12-20 13:18:15 +01:00 committed by Supreeeme
parent bf738fffbb
commit 0dde7ca1d3
3 changed files with 53 additions and 3 deletions

View file

@ -44,6 +44,7 @@ pretty_env_logger = "0.5.0"
xcb-util-cursor = "0.3.5"
smithay-client-toolkit = { version = "0.20.0", default-features = false }
fontconfig = { version = "0.10", optional = true }
sd-notify = { version = "0.4.2", optional = true }
macros = { version = "0.1.0", path = "macros" }
hecs = { version = "0.10.5", features = ["macros"] }
@ -55,6 +56,8 @@ fontdue = "0.9.3"
[features]
default = []
systemd = ["dep:sd-notify"]
# load decoration font at runtime instead of embedding it into the executable
fontconfig = ["dep:fontconfig"]
[dev-dependencies]
rustix = { workspace = true, features = ["fs"] }