-
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
example of how to change the font? #303
Comments
This is because Gtk/Cairo/Fontconfig now get binaries from BinaryBuilder. This might be the same issue I posted here: If you can come up with a minimal example, maybe @lobingera or @giordano can help. |
Thx, tknopp. Following through the link you provided and also looking at this Cairo issue, fs = get(self,:fontsize) I tried a few variations of above, and the following command (from the Cairo sample_text.jl file), select_font_face(cr, "DejaVu Sans", Cairo.FONT_SLANT_NORMAL, when the graphics context is first created, but it didn't work. Anyway, agreed, this seems to be a lower-level issue related to Cairo or Fontconfig. |
I don't have a working solution right now - even not on my own computer(s). The set_font_face works with the Pango (pangocairo) interfaces which should work once fontconfig is working, select_font_face with the libcairo 'toy' interface which is only a PoC for testing or similar, in using cairo one should open the font externally (e.g. via Freetype). I'm not happy with the current setup but to get a stable solution (for Cairo.jl and higher) we need a fontconfig expert (and the julia environment seems to lack one). |
Hello All,
In one of the recent updates of either Winston or Gtk, I noticed that the default font has changed from a sans serif font to a serif font.
Would anyone on this list have a suggestion for how to access the old sans serif font (arial or helvetica or similar)? I am running Julia 1.4.1 on linux.
All the best,
Ed
The text was updated successfully, but these errors were encountered: