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
Make font fallback work better #176
Conversation
Welp, that didn't work. I really don't understand how matplotlib handles fonts. |
Relevant SO question here: http://stackoverflow.com/questions/23273349/how-to-set-multiple-possible-default-matplotlib-fonts |
This may be a good question to ask of the https://github.com/matplotlib/matplotlib devs. (Possibly as a DOC issue/bug) |
Based on matplotlib/matplotlib#3010 it looks like this is a problem in matplotlib itself... |
Looks like matplotlib/matplotlib#2771 was just merged; but that pull likely won't make it into a release for quite some time. What was the issue with prepending to font['sans-serif']? Manual visual testing indicated success. [1] |
The problem was that it doesn't actually work, hence the SO question/matplotlib issue... |
The linked commit works with Ubuntu 12.04 and conda packages (out of the box w/ Arial as the default font). |
I don't know what to tell you; look at the Travis logs. It clearly does not work. |
Sounds like this is going to stay broken until Matplotlib 1.4 comes out ("soon" according to @mdboom), at which point I'll merge this in and make a note that fonts may not behave as expected if using matplotlib 1.3. |
Thanks! Wes Turner
|
Make font fallback work better
Thanks again! |
Closes #171 (cf #55)
I think this is a robust solution to the font issues. @westurner do you want to take a look?