-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add Inter Font Support #171
Comments
Hi, This function also searches the default font directories of the operating system, so if you presumably have int font;
gr_loadfont("Inter-Regular.ttf", &font);
if (font >= 0) {
gr_settextfontprec(font, 3);
} |
Hi @danielkaiser |
Hey @EldarAgalarov, |
Hi @EldarAgalarov, with this commit by @jheinen in Plots.jl (included since version 1.38.6) loading of custom fonts with the GR backend should be supported there as well. Does this solve your issue? |
Hi @danielkaiser
|
Could you please try:
This plot was created using a symbolic link |
Hi @jheinen Your code works! PS. It would be nice to add support for variable fonts (all styles are packed into one file) and for OpenType fonts (.otf). |
Hi. It would be great if Inter font will be supported by GR.
Ugly and scary fonts like Courier are supported, but not beautiful fonts like Inter :(
The text was updated successfully, but these errors were encountered: