FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Ps tests by mdboom · Pull Request #115 · matplotlib/matplotlib · GitHub

Repository navigation

Ps tests - #115

Merged
mdboom merged 2 commits into
matplotlib:masterfrom
mdboom:ps_tests
May 27, 2011
Merged

mdboom merged 2 commits into
matplotlib:masterfrom
mdboom:ps_tests

Conversation

mdboom commented May 13, 2011

Copy link
Copy Markdown
Member

This adds tests to test the PS backend in the regression test framework.

Since both PDF and PS are use the same renderer (in this case ghostscript) it's actually possible to use the PDF baseline images to check the PS output for most of the image comparison tests. The exception to this is when using a feature that Postscript doesn't support: alpha-blending. So, rather than adding a ton of new baseline images for PS, this will use the PDF ones when no EPS one is provided. This has the added benefit of automatically checking that the PDF and PS output is very close to identical, as it should be by design.

This also removes the mathfont tests for SVG and PDF since (a) they weren't testing anything backend-specific, (b) they took a significant portion of testing time and (c) the small differences between font rendering in PDF and PS were causing some false negatives when testing PS.

Ditto for the png_suite test.

Also fixes one minor font rendering bug in the PS backend uncovered by adding the regression tests.

mdboom merged commit df35fa3 into matplotlib:master May 27, 2011
richbwood mentioned this pull request Dec 19, 2012
mdboom deleted the ps_tests branch March 3, 2015 18:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL