mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 10:23:32 +00:00
Unify fontdb versioning across all crates
This commit is contained in:
parent
3dfd499046
commit
aa005e76ec
4 changed files with 5 additions and 5 deletions
|
@ -91,7 +91,7 @@ rust-version = "1.66"
|
|||
|
||||
[workspace.dependencies]
|
||||
resvg = { version= "0.32.0", default-features = false }
|
||||
fontdb = { version = "0.13.1", features = ["fontconfig"] }
|
||||
fontdb = { version = "0.13.1", default-features = false }
|
||||
yeslogic-fontconfig-sys = { version = "3.2.0", features = ["dlopen"] }
|
||||
|
||||
[profile.release]
|
||||
|
|
|
@ -58,7 +58,7 @@ linked_hash_set = "0.1.4"
|
|||
image = { version = "0.24", optional = true }
|
||||
resvg = { workspace = true, optional = true }
|
||||
# font embedding
|
||||
fontdb = { workspace = true, optional = true }
|
||||
fontdb = { workspace = true, optional = true, default-features = true, features = ["fontconfig", "memmap"] }
|
||||
fontdue = { version = "0.7.1", optional = true }
|
||||
|
||||
[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_arch = "wasm32")))'.dependencies]
|
||||
|
|
|
@ -85,7 +85,7 @@ wasm-bindgen = { version = "0.2" }
|
|||
web-sys = { version = "0.3", features = [ "HtmlImageElement" ] }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
fontdb = { workspace = true, optional = true, features = ["memmap"] }
|
||||
fontdb = { workspace = true, optional = true, default-features = true, features = ["fontconfig", "memmap"] }
|
||||
rustybuzz = { version = "0.7.0", optional = true }
|
||||
fontdue = { version = "0.7.1", optional = true }
|
||||
|
||||
|
@ -94,7 +94,7 @@ slint = { path = "../../api/rs/slint", default-features = false, features = ["st
|
|||
i-slint-backend-testing = { path="../backends/testing" }
|
||||
rustybuzz = "0.7.0"
|
||||
ttf-parser = "0.18.0"
|
||||
fontdb = { workspace = true }
|
||||
fontdb = { workspace = true, default-features = true, features = ["fontconfig"] }
|
||||
|
||||
image = { version = "0.24.0", default-features = false, features = [ "png" ] }
|
||||
pin-weak = "1"
|
||||
|
|
|
@ -36,7 +36,7 @@ scoped-tls-hkt = "0.1"
|
|||
instant = "0.1"
|
||||
raw-window-handle = { version = "0.5", features = ["alloc"] }
|
||||
femtovg = { version = "0.6.0" }
|
||||
fontdb = { version = "0.13.1", default-features = false }
|
||||
fontdb = { workspace = true }
|
||||
ttf-parser = { version = "0.18.0" } # Use the same version was femtovg's rustybuzz, to avoid duplicate crates
|
||||
unicode-script = { version = "0.5.4" } # Use the same version was femtovg's rustybuzz, to avoid duplicate crates
|
||||
imgref = { version = "1.6.1" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue