-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
pgf_pdflatex test fails on Windows #7160
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
@Kojoley Thanks for looking into this. These tests seem to be very sensitive to exactly how tex is set up. attn @jenshnielsen @pwuertz |
If it proves to be too much of a time sink, maybe skip it so that the appveyor chcekmark is useful again while it gets sorted out? |
I thought about the same. I tried to solve this without any luck. It is the only test that uses |
Can you check the font properties on the produced PDFs? Maybe some font with slightly different attributes is being used. |
I think @QuLogic is right. If the right fonts are not available tex is very happy to select a different font. I had to install extra font packages to get the tests passing on travis |
The pdf is in the first post.
Difference is
Looks like all the fonts from
🎉
Then we should somehow check if font required by test is available. |
I have no luck at finding a conda recipe that includes
and appveyor cache size is limited to 100MB. Actually I cannot find |
We might want to consider just turning up the tolerance and accept that the pgf tests are basically only smoke test. The right solution would be to check for the installed latex packages and fonts but I suspect that would be a lot of work. |
Maybe it is acceptable just to download these 3 fonts instead of the whole
|
I think there are 2 separate concerns
|
I tried to download fonts manually and place it to |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
We see it under appveyor and it happens to me locally.
I do not know when it started to fail, because test was disabled prior to #6757, but I will try to figure it out.
The problem seems related to font handling pgf_pdflatex.pdf
Baseline:

Result:

Diff:

Baseline:

Result:

The text was updated successfully, but these errors were encountered: