Repository navigation
gs distiller (of ps backend) uses ps2write device - #92
Merged
Merged
Conversation
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8754 | jdh2358 | 2010-10-15 09:34:49 -0400 (Fri, 15 Oct 2010) | 1 line added chipy talk video and some notes about transforms ........ r8755 | mdboom | 2010-10-19 08:44:14 -0400 (Tue, 19 Oct 2010) | 2 lines Make is_decade safe for non-finite values. ........ r8756 | mdboom | 2010-10-19 10:16:23 -0400 (Tue, 19 Oct 2010) | 2 lines Fix LogFormatter, as reported by Gökhan Sever ........ svn path=/trunk/matplotlib/; revision=8757
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8758 | mdboom | 2010-10-22 11:00:31 -0400 (Fri, 22 Oct 2010) | 2 lines [3092255] Fix the direction of scroll event in Tk backend to match other backends. ........ svn path=/trunk/matplotlib/; revision=8759
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8760 | mdboom | 2010-10-22 12:17:26 -0400 (Fri, 22 Oct 2010) | 2 lines Fix problems with funnily encoded fonts in PS backend. ........ svn path=/trunk/matplotlib/; revision=8761
svn path=/trunk/matplotlib/; revision=8762
…ference. svn path=/trunk/matplotlib/; revision=8763
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8764 | mdboom | 2010-10-27 08:16:56 -0400 (Wed, 27 Oct 2010) | 1 line Update pcolormesh test reference image ........ svn path=/trunk/matplotlib/; revision=8765
svn path=/trunk/matplotlib/; revision=8766
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8767 | mdboom | 2010-11-01 09:04:29 -0400 (Mon, 01 Nov 2010) | 2 lines Flush the clipboard after pasting to it so that the data remains after matplotlib is closed. (Reported by Daniel Hyams on the mailing list). ........ svn path=/trunk/matplotlib/; revision=8768
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8769 | jdh2358 | 2010-11-04 11:28:03 -0700 (Thu, 04 Nov 2010) | 1 line added recipes ........ r8770 | jdh2358 | 2010-11-04 13:50:49 -0700 (Thu, 04 Nov 2010) | 1 line some updates to recipes ........ svn path=/trunk/matplotlib/; revision=8771
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8772 | leejjoon | 2010-11-05 09:11:05 +0900 (Fri, 05 Nov 2010) | 1 line fix demo_text_path.py ........ svn path=/trunk/matplotlib/; revision=8773
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8774 | mdboom | 2010-11-05 14:47:31 -0400 (Fri, 05 Nov 2010) | 1 line Fix 'unexpected end of path' errors encountered with this file in new version of Inkscape ........ svn path=/trunk/matplotlib/; revision=8775
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8776 | jouni | 2010-11-07 10:06:41 +0200 (Sun, 07 Nov 2010) | 2 lines Allow bypassing the download mechanism in get_sample_data ........ svn path=/trunk/matplotlib/; revision=8777
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8778 | mdboom | 2010-11-08 11:33:23 -0500 (Mon, 08 Nov 2010) | 1 line Fix bug where using zoom tool on polar plot prevents it from panning subsequently ........ svn path=/trunk/matplotlib/; revision=8779
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8780 | jdh2358 | 2010-11-08 20:47:24 -0600 (Mon, 08 Nov 2010) | 1 line added context and nofigs options to support context between plot directive code blocks ........ svn path=/trunk/matplotlib/; revision=8781
svn path=/trunk/matplotlib/; revision=8782
svn path=/trunk/matplotlib/; revision=8783
svn path=/trunk/matplotlib/; revision=8784
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8785 | jdh2358 | 2010-11-09 07:23:25 -0800 (Tue, 09 Nov 2010) | 1 line fix a bug in context so plot directive will be forced to run (but not save) figs which are already cached ........ svn path=/trunk/matplotlib/; revision=8786
svn path=/trunk/matplotlib/; revision=8787
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8788 | leejjoon | 2010-11-10 18:32:58 +0900 (Wed, 10 Nov 2010) | 1 line fix incorrect end position of FancyArrowPatch ........ svn path=/trunk/matplotlib/; revision=8789
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8790 | mdboom | 2010-11-10 12:00:51 -0500 (Wed, 10 Nov 2010) | 2 lines Fix Agg complexity exception so it is thrown multiple times correctly. ........ svn path=/trunk/matplotlib/; revision=8791
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8792 | mdboom | 2010-11-12 09:58:33 -0500 (Fri, 12 Nov 2010) | 1 line Clip all objects in Agg to the figure ........ svn path=/trunk/matplotlib/; revision=8793
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8794 | weathergod | 2010-11-12 10:10:21 -0600 (Fri, 12 Nov 2010) | 2 lines Fixed a bug in axis3d.py which caused axis labels to not be centered along the axis as well as correctly calculating the rotation angle needed to keep the axis label parallel to the axis irrespectively of the plot's aspect ratio. ........ svn path=/trunk/matplotlib/; revision=8795
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8796 | mdboom | 2010-11-12 11:56:38 -0500 (Fri, 12 Nov 2010) | 1 line Fix indentation ........ svn path=/trunk/matplotlib/; revision=8797
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8798 | leejjoon | 2010-11-15 09:31:16 +0900 (Mon, 15 Nov 2010) | 1 line replace ax.transData in contour.py with proper get_transform call ........ r8799 | leejjoon | 2010-11-15 09:31:56 +0900 (Mon, 15 Nov 2010) | 1 line Collection.update_from copies attributes of scalarmappable ........ svn path=/trunk/matplotlib/; revision=8800
svn path=/trunk/matplotlib/; revision=8801
svn path=/trunk/matplotlib/; revision=8802
…ate the documentation to indicate that NFFT should *not* be used for zero padding, otherwise scaling will be incorrect. svn path=/trunk/matplotlib/; revision=8803
…ere passed in as the same object. svn path=/trunk/matplotlib/; revision=8804
…o C++ svn path=/trunk/matplotlib/; revision=8805
…into mdboom-minor_doc_fixes Conflicts: .gitignore CHANGELOG doc/faq/installing_faq.rst doc/sphinxext/inheritance_diagram.py doc/users/recipes.rst
modified: ../../doc/users/annotations_guide.rst modified: patches.py
…s' grid. modified: lib/matplotlib/axes.py modified: lib/matplotlib/pyplot.py
…o mdboom-test_reorg
…plotlib into kaufman-grid_indep_axis_ctrl
…lotlib into mdboom-split-mathtext-tests
… functions. modified: axes.py modified: pyplot.py
…o mdboom-math_image
Contributor
There was a problem hiding this comment.
I might have suggested instantiating a single instance:
gs_backend_helper = _GsBackendHelper()
and converting all of those classmethods to (possibly memoized) read-only properties:
gs_exe
gs_version
has_ps2write
Contributor
|
@leejjoon - this fixes my issues with ghostscript 9.0.2 |
Closed
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With gs version 9 and later, the gs distiller (which currently uses "pswrite" device) produces very large file when image is included. This can be simply solved if we use "ps2write" device. Furthermore, "ps2write" device seems to be recommended.
http://www.cups.org/str.php?L3766
This patch checks the gs version, and uses "ps2write" device if appropriate.
However, using "ps2write" seems to result in an incorrect bbox.
#85 (comment)
The patch also fixes it.