diff --git a/Cargo.lock b/Cargo.lock index acaff11..821599c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -771,14 +771,38 @@ checksum = "173852283a9a57a3cbe365d86e74dc428a09c50421477d5ad6fe9d9509e37737" dependencies = [ "bitflags 2.13.1", "fontdb", - "harfrust", + "harfrust 0.3.2", "linebender_resource_handle", "log", "rangemap", "rustc-hash 1.1.0", "self_cell", "skrifa 0.37.0", - "smol_str", + "smol_str 0.2.2", + "swash", + "sys-locale", + "unicode-bidi", + "unicode-linebreak", + "unicode-script", + "unicode-segmentation", +] + +[[package]] +name = "cosmic-text" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be17b688510d934ce13f48a2beba700e11583e281e0fda99c22bb256a14eda73" +dependencies = [ + "bitflags 2.13.1", + "fontdb", + "harfrust 0.5.2", + "linebender_resource_handle", + "log", + "rangemap", + "rustc-hash 2.1.3", + "self_cell", + "skrifa 0.40.0", + "smol_str 0.3.6", "swash", "sys-locale", "unicode-bidi", @@ -840,7 +864,7 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" name = "cryoglyph" version = "0.1.0" dependencies = [ - "cosmic-text", + "cosmic-text 0.15.0", "etagere", "lru", "rustc-hash 2.1.3", @@ -1184,6 +1208,15 @@ dependencies = [ "bytemuck", ] +[[package]] +name = "font-types" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b38ad915f6dadd993ced50848a8291a543bd41ca62bc10740d5e64e2ab4cfd7" +dependencies = [ + "bytemuck", +] + [[package]] name = "font-types" version = "0.12.4" @@ -1249,7 +1282,7 @@ version = "0.1.0" dependencies = [ "anyhow", "base64", - "cosmic-text", + "cosmic-text 0.19.0", "crossbeam-channel", "dirs", "env_logger", @@ -1559,6 +1592,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "harfrust" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9da2e5ae821f6e96664977bf974d6d6a2d6682f9ccee23e62ec1d134246845f9" +dependencies = [ + "bitflags 2.13.1", + "bytemuck", + "core_maths", + "read-fonts 0.37.0", + "smallvec", +] + [[package]] name = "hashbrown" version = "0.15.5" @@ -1636,7 +1682,7 @@ dependencies = [ "log", "num-traits", "rustc-hash 2.1.3", - "smol_str", + "smol_str 0.2.2", "thiserror 2.0.20", "web-time", ] @@ -1675,7 +1721,7 @@ checksum = "234ca1c2cec4155055f68fa5fad1b5242c496ac8238d80a259bca382fb44a102" dependencies = [ "bitflags 2.13.1", "bytemuck", - "cosmic-text", + "cosmic-text 0.15.0", "half", "iced_core", "iced_futures", @@ -1732,7 +1778,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe0acf8b75a3bc914aff5f2329fdffc1b36eeaea29dda0e4bd232f1c62e9cc3d" dependencies = [ "bytemuck", - "cosmic-text", + "cosmic-text 0.15.0", "iced_debug", "iced_graphics", "kurbo", @@ -3328,6 +3374,17 @@ dependencies = [ "font-types 0.10.1", ] +[[package]] +name = "read-fonts" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b634fabf032fab15307ffd272149b622260f55974d9fad689292a5d33df02e5" +dependencies = [ + "bytemuck", + "core_maths", + "font-types 0.11.3", +] + [[package]] name = "read-fonts" version = "0.41.0" @@ -3668,6 +3725,16 @@ dependencies = [ "read-fonts 0.35.0", ] +[[package]] +name = "skrifa" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fbdfe3d2475fbd7ddd1f3e5cf8288a30eb3e5f95832829570cd88115a7434ac" +dependencies = [ + "bytemuck", + "read-fonts 0.37.0", +] + [[package]] name = "skrifa" version = "0.44.0" @@ -3771,6 +3838,12 @@ dependencies = [ "serde", ] +[[package]] +name = "smol_str" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa7368fcf4852a4c2dd92df0cace6a71f2091ca0a23391ce7f3a31833f1523" + [[package]] name = "softbuffer" version = "0.4.8" @@ -4942,7 +5015,7 @@ dependencies = [ "rustix 0.38.44", "sctk-adwaita", "smithay-client-toolkit 0.19.2", - "smol_str", + "smol_str 0.2.2", "tracing", "unicode-segmentation", "wasm-bindgen", diff --git a/Cargo.toml b/Cargo.toml index 44ddedd..1775d78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ categories = ["command-line-utilities"] iced = { version = "0.14", features = ["canvas", "tokio", "advanced", "image", "wgpu"] } # Direct handle on the shaper iced embeds (same locked version), used to # measure the primary font's real advance for the terminal grid. -cosmic-text = "0.15" +cosmic-text = "0.19" libc = "0.2" # Pin the shared contract so a branch move cannot silently change a release build. jterm_core = { version = "0.2.0", git = "https://github.com/beamiter/jterm_core.git", rev = "f60c507df59129b281822dd97d2df3a709a02ce4" }