-
Notifications
You must be signed in to change notification settings - Fork 0
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
OS X: Cannot read fonts in ~/Library/Fonts #7
Comments
Not sure if |
It does not look like |
I dont know if the following idea is really usefull, but it seems that fc-list utility which comes with TeX Live (I dont know about Miktex, but I quess it should be similar) can list all fonts installed both in system and in TeX tree. It can also be used to get family name, style and other information about particular font files. It works at least on Linux and Windows, I cannot test it on OS X. Maybe it could be possible to use it as a library even without TeX distribution? |
Yes, that is an option. Instead of depending on a commandline tool like fontconfig can be used as a library on OS X as well, just like Harfbuzz. I was just a bit reluctant to add an additional dependency on OS X for fontconfig. It will mean that before installing this package from LuaRocks, the user will need to have fontconfig headers and library installed in the right place. I am not sure about Windows yet. So maybe there, as a fallback, we can use tools like |
Pushed a change on another branch, which makes OS X use fontconfig as well. It works well and detects all the fonts, even the ones in the home folder. |
|
Cannot read the fonts in the user’s home directory.
Need to check this for Linux as well, if applicable.
The text was updated successfully, but these errors were encountered: