use default features of font loader on macos

This commit is contained in:
Vinzenz Schroeter 2024-11-28 18:33:10 +01:00
parent 2d208a2677
commit b1f07e88a3

View file

@ -24,7 +24,11 @@ version = "0.30"
features = ["rwh_05"]
default-features = true
[dependencies.font-kit]
[target.'cfg(target_os = "linux")'.dependencies.font-kit]
version = "0.14.2"
features = ["loader-freetype-default", "source-fontconfig-dlopen"]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.font-kit]
version = "0.14.2"
default-features = true