Draft text support in iced_tiny_skia

This commit is contained in:
Héctor Ramón Jiménez 2023-02-26 23:40:17 +01:00
parent 744f3028f4
commit 64fb722dfe
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 523 additions and 112 deletions

View file

@ -12,6 +12,8 @@ raw-window-handle = "0.5"
softbuffer = "0.2"
tiny-skia = "0.8"
bytemuck = "1"
rustc-hash = "1.1"
ouroboros = "0.15"
[dependencies.iced_native]
version = "0.9"
@ -20,3 +22,16 @@ path = "../native"
[dependencies.iced_graphics]
version = "0.7"
path = "../graphics"
[dependencies.cosmic-text]
features = ["std", "swash"]
git = "https://github.com/hecrj/cosmic-text"
rev = "dc83efbf00a2efb4118403538e8a47bfd69c3e5e"
[dependencies.twox-hash]
version = "1.6"
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.twox-hash]
version = "1.6.1"
features = ["std"]