Skip to content

Commit

Permalink
Update font-kit to v0.13
Browse files Browse the repository at this point in the history
This requires updating yeslogic-fontconfig-sys, since
Cargo will complain about the version resolution, even
if `yeslogic-fontconfig-sys` is not used for OpenHarmony.

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
  • Loading branch information
jschwe committed Apr 27, 2024
1 parent c604719 commit ba7fbab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/canvas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ canvas_traits = { workspace = true }
crossbeam-channel = { workspace = true }
cssparser = { workspace = true }
euclid = { workspace = true }
font-kit = "0.11"
font-kit = "0.13"
fnv = { workspace = true }
gfx = { path = "../gfx" }
half = "2"
Expand Down
2 changes: 1 addition & 1 deletion components/gfx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ freetype = "0.7"
servo_allocator = { path = "../allocator" }

[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies]
fontconfig_sys = { package = "yeslogic-fontconfig-sys", version = "3" }
fontconfig_sys = { package = "yeslogic-fontconfig-sys", version = "5" }

[target.'cfg(target_os = "android")'.dependencies]
xml-rs = "0.8"
Expand Down

0 comments on commit ba7fbab

Please sign in to comment.