@@ -35,7 +35,7 @@ unstable-wgpu-26 = [
35
35
default = []
36
36
37
37
[dependencies ]
38
- i-slint-core = { workspace = true , features = [" default" , " box-shadow-cache" ] }
38
+ i-slint-core = { workspace = true , features = [" default" , " box-shadow-cache" , " shared-parley " ] }
39
39
i-slint-core-macros = { workspace = true , features = [" default" ] }
40
40
i-slint-common = { workspace = true , features = [" default" ] }
41
41
@@ -49,7 +49,7 @@ pin-weak = "1"
49
49
scoped-tls-hkt = " 0.1"
50
50
raw-window-handle = { version = " 0.6" , features = [" std" ] }
51
51
52
- skia-safe = { version = " 0.88" , features = [" textlayout " , " gl" ] }
52
+ skia-safe = { version = " 0.88" , features = [" gl" ] }
53
53
glow = { workspace = true }
54
54
unicode-segmentation = { workspace = true }
55
55
@@ -89,10 +89,17 @@ metal = { version = "0.31", optional = true }
89
89
foreign-types = { version = " 0.5.0" , optional = true }
90
90
wgpu-26 = { workspace = true , optional = true , features = [" metal" ] }
91
91
92
+ read-fonts = { version = " 0.35" }
93
+ write-fonts = { version = " 0.43" }
94
+
92
95
[target .'cfg(not(any(target_vendor = "apple", target_family = "windows")))' .dependencies ]
93
96
skia-safe = { version = " 0.88" , features = [" gl" , " vulkan" ] }
94
97
wgpu-26 = { workspace = true , optional = true , features = [" vulkan" ] }
95
98
99
+ [target .'cfg(any(target_os = "ios", target_os="windows", target_os="android"))' .dependencies ]
100
+ # Text layout is enabled here just so that we can make use of the pre-built Skia libraries.
101
+ skia-safe = { version = " 0.88" , features = [" textlayout" ] }
102
+
96
103
[build-dependencies ]
97
104
cfg_aliases = { workspace = true }
98
105
0 commit comments