servo / font-kit

A cross-platform font loading library written in Rust
Apache License 2.0
693 stars 104 forks source link

Unable to load fonts when linking with lld #114

Open nosideeffects opened 4 years ago

nosideeffects commented 4 years ago

Currently building a game with amethyst.rs, and any time I attempt to use the lld linker to speed up my iteration, I get the following error trying to load fonts:

Message("unknown variant TTF, there are no variants")

Loading no fonts explicitly -- and trying to fallback to the system default yields a spew of errors like the following, before failing to load any fonts:

"/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'...

A small bit of investigation revealed this may be due to the this package -- or a dependency -- using a bundled, incompatible fontconfig instead of the system's.