Skip to content
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

Support Fallback fonts #182

Open
MilanCancarevic opened this issue Aug 28, 2018 · 2 comments
Open

Support Fallback fonts #182

MilanCancarevic opened this issue Aug 28, 2018 · 2 comments

Comments

@MilanCancarevic
Copy link

Can Gruff support fallback fonts?
I know about setting font like:
graph.font = Rails.root.join("app", "assets", "fonts", "SourceHanSans-Regular.ttf").to_s
and this will cover CJK for me but in this case i lose Latin Cyrillic chars so i need fallback fonts. Is this possible to cover?

@noraj
Copy link

noraj commented Apr 8, 2021

It seems by default Helvetica is used but it's non-free and can't install it. So I wanted to set another font using font= but it requires the path of the font not only the name. So on "non-rails" projects how to find font path in an universal way?

@Watson1978
Copy link
Collaborator

Now, It can't support fallback font at least, because ImageMagick has not supported it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants