diff --git a/sixtyfps_runtime/corelib/Cargo.toml b/sixtyfps_runtime/corelib/Cargo.toml index 270fc870d29..953d12ef83a 100644 --- a/sixtyfps_runtime/corelib/Cargo.toml +++ b/sixtyfps_runtime/corelib/Cargo.toml @@ -51,5 +51,10 @@ wasm-bindgen = { version = "0.2" } font-kit = "0.10" pathfinder_geometry = "0.5.1" +# Require font-config from the system. Issue #88 indicates that the copy provided by servo-fontconfig may be incompatible +# with distros at times. +[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_arch = "wasm32")))'.dependencies] +servo-fontconfig-sys = { version = "5.1", features = [ "force_system_lib" ] } + [dev-dependencies] pin-weak = "1"