diff --git a/Cargo.lock b/Cargo.lock index 4838f0b5e1..237daa5564 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2569,6 +2569,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "harfrust" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0690f8c81dfeca8987d8518cf1c861d7b58d43ad0cedae9184d41af236effb9c" +dependencies = [ + "bitflags 2.13.2", + "bytemuck", + "read-fonts 0.47.0", + "smallvec", + "yoke", +] + [[package]] name = "hashbrown" version = "0.15.5" @@ -4945,6 +4958,20 @@ dependencies = [ "once_cell", ] +[[package]] +name = "read-fonts" +version = "0.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a39d2f8f681030a7bcbbcf3e8568775ac2393afd51401a2e2133ee89e3953897" +dependencies = [ + "bytemuck", + "foldhash 0.2.0", + "font-types 0.12.7", + "once_cell", + "smallvec", + "yoke", +] + [[package]] name = "redox_syscall" version = "0.4.1" @@ -5748,6 +5775,19 @@ dependencies = [ "read-fonts 0.44.0", ] +[[package]] +name = "skrifa" +version = "0.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e85ba678a6023a063d0a78c8770f1c166674ef46af13523d05eff67430f79dfe" +dependencies = [ + "bytemuck", + "once_cell", + "read-fonts 0.47.0", + "smallvec", + "yoke", +] + [[package]] name = "slab" version = "0.4.12" @@ -5951,7 +5991,7 @@ dependencies = [ "kurbo 0.13.1", "rustc-hash 2.1.3", "skrifa 0.42.1", - "write-fonts", + "write-fonts 0.48.1", ] [[package]] @@ -6926,7 +6966,7 @@ dependencies = [ "same-file", "serde", "serde_json", - "skrifa 0.47.0", + "skrifa 0.50.0", "thiserror 2.0.21", "tiff", "vectorcraft-affinity", @@ -6973,7 +7013,7 @@ dependencies = [ "memchr", "ruzstd", "serde_json", - "skrifa 0.47.0", + "skrifa 0.50.0", "vectorcraft-brush", "vectorcraft-color", "vectorcraft-doc", @@ -7121,7 +7161,7 @@ dependencies = [ "serde_json", "sha2", "siphasher", - "skrifa 0.47.0", + "skrifa 0.50.0", "smallvec", "thiserror 2.0.21", "vectorcraft-brush", @@ -7211,7 +7251,7 @@ dependencies = [ "serde", "serde_json", "simplecss", - "skrifa 0.47.0", + "skrifa 0.50.0", "svgtypes 0.16.1", "thiserror 2.0.21", "unicode-bidi", @@ -7250,12 +7290,12 @@ version = "0.24.1" dependencies = [ "craft-font-catalog", "craft-proof", - "harfrust 0.13.3", + "harfrust 0.16.1", "icu_segmenter", "kurbo 0.13.1", "log", "serde_json", - "skrifa 0.47.0", + "skrifa 0.50.0", "subsetter", "unicode-bidi", "unicode-general-category", @@ -7266,7 +7306,7 @@ dependencies = [ "vectorcraft-geom 0.24.1", "vello_cpu", "windows-registry", - "write-fonts", + "write-fonts 0.56.0", ] [[package]] @@ -8351,6 +8391,19 @@ dependencies = [ "read-fonts 0.39.2", ] +[[package]] +name = "write-fonts" +version = "0.56.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "944049531d52f9002812ea9de23ec8aa4e9577a7bee6869a1d0f297c679817ea" +dependencies = [ + "font-types 0.12.7", + "indexmap", + "kurbo 0.13.1", + "log", + "read-fonts 0.47.0", +] + [[package]] name = "write16" version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml index 01cddf5b45..32014eeac1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -119,8 +119,8 @@ usvg = { version = "0.48", default-features = false, features = ["svgz"] } # Without `simple-text` (its text shaping, the only user of rustybuzz and ttf-parser, which are # unmaintained, #1730): the PDF writer places glyphs itself. A test of the PDF crate turns it on. krilla = { version = "0.8", default-features = false, features = ["raster-images"] } -skrifa = "0.47" -harfrust = "0.13" +skrifa = "0.50" +harfrust = "0.16" linesweeper = "0.5" flate2 = { version = "1", default-features = false, features = ["rust_backend"] } rustix = { version = "1.1", default-features = false } diff --git a/crates/text/Cargo.toml b/crates/text/Cargo.toml index b667c5d9bb..293c3273bc 100644 --- a/crates/text/Cargo.toml +++ b/crates/text/Cargo.toml @@ -42,7 +42,7 @@ vello_cpu = { workspace = true } # Builds the fonts files carried for their type (`file_font`: a PDF's embedded fonts, from the # glyphs it drew) and a small variable font for tests (`test_fonts`; no font file is committed). # MIT OR Apache-2.0, already in the build through subsetter. -write-fonts = "0.48" +write-fonts = "0.56" [dev-dependencies] serde_json = { workspace = true }