bugGNU gv - Bugs: bug #12155, landscape pdf cropping bug


You are not allowed to post comments on this tracker with your current authentication level.

bug #12155: landscape pdf cropping bug

Submitted by:  None
Submitted on:  Sat Feb 26 23:19:14 2005  
Category: PDF renderingSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 3.6.3

(Jump to the original submission Jump to the original submission)

Thu May 22 07:33:41 2008, comment #7:

Beginning with GNU ghostscript 8.62.0, the bug in ghostscript has been fixed. Therefore the parameter "-g2x2" is not needed any more (but does usually no bad).

However, with GPL Ghostscript, that parameter is still needed and therefore I will leave it enabled by default.

Markus Steinborn <msteinbo>
Project Administrator
Fri Mar 14 07:59:37 2008, comment #6:


Mon Jun 25 20:47:11 2007, comment #5:

Patch applied and tested.

Jose E. Marchesi <jemarch>
Mon Dec 4 19:38:04 2006, comment #4:

The gv-gs-hidden-param.patch indeed works, but it first requires this patch to be reversed (which in addition to breaking the -dFIXEDMEDIA patch, seems to cause saved parameters in the .gv file, like GV.watchFile, to be ignored):


Thu Apr 13 19:41:43 2006, comment #3:

Thanks for the bug report. I am not an official maintainer, but gv is my by far most used postscript previewer - in fact, the same bug can be triggered with usual postscript files, too.

I have benn testing the attached fix since 1/4 year with best results, so it's time to release it :-)

"-dFIXEDMEDIA" instead of "-g2x2" seems to be much more compatible.

Please note that this patch changes the default parameters of the ghostscript invokation in the "State - Ghostscript options - Arguments" dialog, so consider clicking on "System defaults" in that window. If the user may edit the parameter, he can easyly change it for hard files.

As usual, my contact info is in the patch file as comment.

Wed Apr 12 00:25:23 2006, comment #2:

This patch causes gv to show a completely blank page from some postscript documents, see: http://bugs.gentoo.org/show_bug.cgi?id=121849

Thu Mar 31 18:53:46 2005, comment #1:

I just applied John's patch (thanks John!).

So i close this bug.

Jose E. Marchesi <jemarch>
Sat Feb 26 23:19:14 2005, original submission:

Both gv-3.5.8 and gv-3.6.1 have a well-known cropping bug.

For example, see

  • the posting by Craig Lawson on 2002-03-15 23:07

at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=58840.

Neither posted test cases for this particular bug, but here is an example:


A patch to workaround this bug is attached.

-- John Bowman
University of Alberta



Attached Files
file #9779:  gv-gs-hidden-param.patch added by None (2kB - text/x-patch - This patch should the gv-3.6.1-landscape.patch)
file #2619:  gv-3.6.1-landscape.patch added by None (464B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by msteinbo (Posted a comment)
  • -unavailable- added by jemarch (Updated the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu May 22 07:33:41 2008msteinboAssigned tojemarch=>None
    Mon Jun 25 20:47:11 2007jemarchStatusIn Progress=>Fixed
    Mon Jun 25 15:03:26 2007jemarchReleaseNone=>3.6.3
    Mon Oct 16 14:40:41 2006jemarchStatusFixed=>In Progress
    Thu Apr 13 19:41:43 2006NoneAttached File-=>Added gv-gs-hidden-param.patch, #9779
    Thu Mar 31 18:53:46 2005jemarchStatusNone=>Fixed
      Assigned toNone=>jemarch
    Sat Feb 26 23:19:14 2005NoneAttached File-=>Added gv-3.6.1-landscape.patch, #2241

    Back to the top

    Powered by Savane 3.1-cleanup1