mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Speed up glyph embedding in the compiler
Enable the use of parallel glyph outline extraction in fontdue. Brings down the time of touch tests/screenshots/build.rs cargo build -p test-driver-screenshots on my xps13 linux from 3m30s to 1m26s.
This commit is contained in:
parent
782bf6e7c6
commit
ad6e12dacf
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ linked_hash_set = "0.1.4"
|
|||
image = { workspace = true, optional = true, features = ["default"] }
|
||||
resvg = { workspace = true, optional = true }
|
||||
# font embedding
|
||||
fontdue = { workspace = true, optional = true }
|
||||
fontdue = { workspace = true, optional = true, features = ["parallel"] }
|
||||
|
||||
[dev-dependencies]
|
||||
i-slint-parser-test-macro = { path = "./parser-test-macro" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue