-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
font_styles test failing for some people #788
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
Comments
Does deleting your font cache ( |
Can you post your |
I tried removing it but the errors were still there. The re-generated file is here: http://db.tt/hPWBtpu0 |
Can you run this gist: https://gist.github.com/2159040 Run with debugging messages on and post the console output (also check
|
Here is the log: http://pastebin.com/KbSyQ3ym The text is not styled. |
Just to confirm, since I see it in the logs: Have you been removing (and sending me) Still stumped as to what's going on. The fontList.cache you sent me works perfectly here (after updating the paths). |
I did send the Jenkins one - but I think the one I had sent before was generated by Jenkins, so I removed it and then ran your script, which re-generated the file, and now the styles look fine. So somehow, in the restricted Jenkins environment, the font cache file that is generated has issues... I'm now going to run the Jenkins tests again with the |
Ok, this was indeed some strange artifact of running the tests on Jenkins. If I run the tests sequentially for different Python/Numpy versions, and remove fontList.cache between each run, then things work fine. The issue must be to do with the cache pointing to the fonts in the wrong matplotlib path (i.e. if the 2.7 & 1.6.1 tests run first, then the cache will contain fonts in the 2.7 & 1.6.1 path, which might confuse the other Python versions). Anyway, I don't think this is really a matplotlib bug, so this issue can be closed. |
Originally reported in issue #779 by @astrofrog.
I've tested this branch on MacOS 10.7 with freetype 2.4.9 (14.1.8), and all tests pass except three (the
font_styles
ones):The images are here: http://db.tt/7jOnhnwN
It looks as though somehow the font styles don't work on my system when anti-aliasing is disabled?
The text was updated successfully, but these errors were encountered: