-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use something other than font-kit
and/or put it behind feature gate
#58
Comments
This seems to be caused by That said, a feature gate would be nice for cases where system font loading isn't needed (for instance, when embedding fonts in games). |
Just in case someone on ubuntu wants to install these missing dependencies:
After installing the above, the counter example builds successfully. |
servo/libfontconfig#55 would add a |
font-kit
seems like a nice lib, however it's very much not pure Rust, requiring not only a full c++ build system but also several C libs and their associated header files to be installed on a system (at least on Linux), and as such presents a fairly significant bar to entry. It would be nice not to depend on it. Also, even after getting it to compile on Fedora, I stlil get this output in my terminal when runing thetodos
example, though it does seem to work at least.edit
error output was fixed by updating outdated
fontconfig-devel
.Just for reference, on Fedora 30, I had to install
cmake
,g++
,freetype
,freetype-devel
,expat-devel
, andfontconfig-devel
for it to work.The text was updated successfully, but these errors were encountered: