-
Notifications
You must be signed in to change notification settings - Fork 103
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
More examples about Fonts #100
Comments
You're right it would be nice to have more doc on it this one seems to be a good one. We have already a PR on FontCache that can have impact on this #94 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I believe more examples about Fonts and Font configuration would be nice, although it's possible it's my fault.
I've tried to draw a string on GNU/Linux and kept failing. This is because of two things. I don't have a
luxi
font andFontFileName()
makes platform/OS(?) specific assumptions about TTF font filenames. But looking at the filenames at my GNU/Linux in/usr/share/fonts/truetype/freefont
, there is no predictable way to determine filenames. Therefore, it seems to me like specificFontFileName()
might be needed ... a lot.So, here is an example for my specific case:
As I've said, it might be me I haven't figured it out immediately. But it might help to have it in examples or documentation.
Thanks.
The text was updated successfully, but these errors were encountered: