bugghostscript - Bugs: bug #20270, Landscape postscript files are...


bug #20270: Landscape postscript files are sometimes cropped in GV

Submitted by:  None
Submitted on:  Tue 26 Jun 2007 06:31:10 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( Jump to the original submission)

Sat 31 May 2008 11:33:07 AM UTC, comment #11:

Best sites from google.de :
1) http://www.google.de/notebook/public/04608191802079853396/BDShxQwoQqI2u9aMj
2) http://www.google.de/notebook/public/14811194029080121230/BDShxQwoQ-K6u9aMj
3) http://www.google.de/notebook/public/04608191802079853396/BDSIKQgoQwYS79aMj
4) http://www.google.de/notebook/public/04608191802079853396/BDQouQwoQgaq79aMj
5) http://www.google.de/notebook/public/04608191802079853396/BDQcKQgoQ4c679aMj
6) http://www.google.de/notebook/public/04608191802079853396/BDShxQwoQ-fO79aMj
7) http://www.google.de/notebook/public/13061649652563958978/BDSHDQwoQgKq89aMj
8) http://www.google.de/notebook/public/13061649652563958978/BDQcKQgoQhc289aMj
9) http://www.google.de/notebook/public/13061649652563958978/BDSHDQwoQ5fG89aMj
10) http://www.google.de/notebook/public/16826695713444040349/BDQGMQgoQva299aMj
11) http://www.google.de/notebook/public/16826695713444040349/BDQcKQgoQ4dG99aMj
12) http://www.google.de/notebook/public/16826695713444040349/BDQ2NQgoQv_W99aMj
13) http://www.google.de/notebook/public/14811194029080121230/BDShxQwoQsJm-9aMj
14) http://www.google.de/notebook/public/14811194029080121230/BDQGMQgoQ5r2-9aMj
15) http://www.google.de/notebook/public/14811194029080121230/BDSIKQgoQgea-9aMj
16) http://www.google.de/notebook/public/14811194029080121230/BDQaSQgoQo4m_9aMj
17) http://www.google.de/notebook/public/17317152843759546979/BDSMKQgoQuK2_9aMj
18) http://www.google.de/notebook/public/17317152843759546979/BDQcKQgoQyNC_9aMj
19) http://www.google.de/notebook/public/17317152843759546979/BDShxQwoQpfO_9aMj
20) http://www.google.de/notebook/public/17317152843759546979/BDShxQwoQ9JjA9aMj
21) http://www.google.de/notebook/public/03229453723828530204/BDShxQwoQ-LvA9aMj
22 http://www.google.de/notebook/public/03229453723828530204/BDQouQwoQ8N7A9aMj
23) http://www.google.de/notebook/public/03229453723828530204/BDQaSQgoQzITB9aMj
24) http://www.google.de/notebook/public/03229453723828530204/BDShxQwoQw6rB9aMj
25) http://www.google.de/notebook/public/06400866979459256914/BDQ2NQgoQ_dTB9aMj
26) http://www.google.de/notebook/public/06400866979459256914/BDShxQwoQyPjB9aMj
27) http://www.google.de/notebook/public/06400866979459256914/BDQcKQgoQ1JzC9aMj
28) http://www.google.de/notebook/public/06400866979459256914/BDQ2NQgoQ5bvC9aMj
29) http://www.google.de/notebook/public/01766436141041937324/BDShxQwoQ7t_C9aMj
30) http://www.google.de/notebook/public/01766436141041937324/BDSMKQgoQqIrD9aMj
31) http://www.google.de/notebook/public/01766436141041937324/BDSHDQwoQt7DD9aMj
32) http://www.google.de/notebook/public/01766436141041937324/BDSMKQgoQ_dXD9aMj
33) http://www.google.de/notebook/public/03054172070810390609/BDQ2NQgoQ-fvD9aMj
34) http://www.google.de/notebook/public/03054172070810390609/BDSIKQgoQwJjE9aMj
35) http://www.google.de/notebook/public/03054172070810390609/BDQcKQgoQ67zE9aMj
36) http://www.google.de/notebook/public/03054172070810390609/BDQouQwoQkOTE9aMj
37) http://www.google.de/notebook/public/11647051931541063004/BDQ2NQgoQp4rF9aMj
38) http://www.google.de/notebook/public/11647051931541063004/BDQcKQgoQzbTF9aMj
39) http://www.google.de/notebook/public/11647051931541063004/BDSMKQgoQx9vF9aMj
40) http://www.google.de/notebook/public/11647051931541063004/BDSIKQgoQp4LG9aMj
41) http://www.google.de/notebook/public/18236042230916225380/BDQcKQgoQ4J3G9aMj
42) http://www.google.de/notebook/public/18236042230916225380/BDSHDQwoQ68DG9aMj
43) http://www.google.de/notebook/public/18236042230916225380/BDQcKQgoQ8uLG9aMj
44) http://www.google.de/notebook/public/18236042230916225380/BDSMKQgoQ1oXH9aMj
45) http://www.google.de/notebook/public/00355309926142456421/BDSIKQgoQ06nH9aMj
46) http://www.google.de/notebook/public/00355309926142456421/BDQouQwoQqdDH9aMj
47) http://www.google.de/notebook/public/00355309926142456421/BDQaSQgoQ1_TH9aMj
48) http://www.google.de/notebook/public/00355309926142456421/BDSHDQwoQj5nI9aMj
49) http://www.google.de/notebook/public/04608191802079853396/BDSHDQwoQ__LP9aMj
50) http://www.google.de/notebook/public/13061649652563958978/BDShxQwoQn5jQ9aMj

Sun 04 May 2008 09:09:06 PM UTC, comment #10:

Fixed in GNU gs version 8.62.0, thanks for the report !

Didier LINK <Arabidopsis>
Project Administrator
Sat 15 Sep 2007 01:57:35 PM UTC, comment #9:

You've saved a lot of time for me. I was about to check the problem on a newly installed system. Thanks.

As I mentoned before, I have improved the workaround in gv and therefore collected test files that have failed either without workaround-options or wioth "-g2x2" as workaround. If you are interested in these test cases, let me know.

-email is unavailable-

(e-mail address valid till 31st March 2008).

Fri 14 Sep 2007 07:57:52 PM UTC, comment #8:

Ok, I can confirm the bug, thanks for all these informations, I will investigate further.

Didier LINK <Arabidopsis>
Project Administrator
Fri 14 Sep 2007 06:20:15 PM UTC, comment #7:

Hopefully the log file is not still too big after compressing with bzip2.

(file #13949)

Fri 14 Sep 2007 06:18:39 PM UTC, comment #6:

Thanks for the fast reply: "--disbale-cups" did the job.

Atatched a screenshot what I see at home. I have resized the paper to A3 in ghostscript.

If I reanble "-dFIXEDMEDIA" in the options dialog, then I see the full picture without any parts missing. gv 3.6.2 used "-g2x2" instead of "-dFIXEDMEDIA". This is as expected, as options for working around this bug have been added in release IIRR 3.6.2 and and I have improved them in release 3.6.3. But that is not the point. The point is that these options are a workaround.

The tests from the linked gv bugreport (inkluding these which are in only in bugzilla's linked in the gv bug report) work fine with patched ghostscript and "-dFIXEDMEDIA" disabled - at lesast for me.

Repearting the test with the patch from the bug report, all is well.

As it does not help reporting "Works for me" and "Doesn't work for me", I have logged all output from my build script and attached it to this bug report in the hope it might be usefull.

M. Steinborn

(file #13948)

Fri 14 Sep 2007 12:15:22 PM UTC, comment #5:


For use gs without cups you need to pass the option "-disable-cups" at configure time. The installation failed in your case because they need to put the filter on a common location with cupsd and don't override it with "-prefix", maybe it's an error but I will investigate this issue.

And I repeat : with gv-3.6.3 and gs 8.60.0 your test case looks good, the bottom is present !

Good luck in your tests, keep contact for this issue :)



Didier LINK <Arabidopsis>
Project Administrator
Fri 14 Sep 2007 11:41:23 AM UTC, comment #4:

I forgot an important remark:

If you repeat the test I did at university, you woill have to substitute "gnuGV" with "GV" in the here-document. At university I had to patch gnu-gv to use "gnuGV" ressource instead of "GV" because an old version 3.5.8 is installed here which uses ressources being incompatible with gv 3.6.3.

Fri 14 Sep 2007 11:37:11 AM UTC, comment #3:

Looking at the past ghostscript updates for fedora core, i think I would have to wait forever for an update for my distribution, so I used to build gnu ghostscript with e.g. "--prefix=/usr/local/gs8.60" at home 'nd telling gv to use the version I would like to use/test. As my test at university shows that gnu ghostscript 8.60.0 wants to replace files in /usr/lib even when giving the prefix, I think I cannot continue doing so.

How can I install the new version in parallel to the version 8.15.x from fedora?

Greetings M. Steinborn

BTW: I do not expect the missing cups files to have any effect on the result of the test, so the quick test at university shoudl have shown the right result.

Fri 14 Sep 2007 11:25:53 AM UTC, comment #2:

I did a quick test at university - I'll do a deeper test at home soon. Here are the results:

I used this script to build gnu gs and install it.

--- cut here ---
#! /bin/bash

wget http://ftp.gnu.org/gnu/ghostscript/gnu-ghostscript-8.60.0.tar.bz2
tar -xf gnu-ghostscript-8.60.0.tar.bz2
cd gnu-ghostscript-8.60.0
./configure --prefix=/tmp/msteinbo/gs-8.60.0
make install
# does fail with
### ./src/instcopy -c -m 755 cups/pstoraster `cups-config --serverbin`/filter
### cp: cannot create regular file `/usr/lib/cups/filter/#inst.9816#':
### Permission denied

cd ..
ln -s ln -s /usr/share/ghostscript/fonts /tmp/msteinbo/gs-8.60.0/share/ghostscript/fonts

cat <<EOT
gnuGV.gsInterpreter: /tmp/msteinbo/gs-8.60.0/bin/gs
gnuGV.gsCmdConvPDF: /tmp/msteinbo/gs-8.60.0/bin/gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pswrite -sOutputFile=%s -f %s -c save pop quit
gnuGV.gsCmdScanPDF: /tmp/msteinbo/gs-8.60.0/bin/gs -dNODISPLAY -dQUIET -sPDFname=%s -sDSCname=%s pdf2dsc.ps -c quit
EOT > $HOME/.gv
--- cut here ----

With gnu gv 3.6.3 and the config written by the script above (it disables the work-around for the ghostscript bug in gv) the error still shows.


M. Steinborn

Wed 12 Sep 2007 01:57:38 PM UTC, comment #1:

Sorry for the late answer,

I tested the file attached to the bug at ghostscript.com and it works at expected with the current devel version of GNU gs. The release is for today. Please test with the new version when available for your distribution.

Thanks for the report and the testcase !


Didier LINK <Arabidopsis>
Project Administrator
Tue 26 Jun 2007 06:31:10 PM UTC, original submission:

In GV, we currently try to workaround of the following bug by adding "-dFIXEDMEDIA" to the invocation of ghostscript (cf. GV-bug #12155). While searching in the GPL Ghostscript Bugzilla, I found that the following bugreport contains a real fix for the problem, but for an unknown reason it is not included in GPL Ghostscript.


But anyway, I can be included in GNU Ghostscript?!


M. Steinborn



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #13949:  build.log.bz2 added by None (29KiB - application/x-bzip2)
file #13948:  gverror2.png added by None (45KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by Arabidopsis (Posted a comment)

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

    Only logged-in users can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-04 Arabidopsis StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2007-09-14 Arabidopsis StatusReady For Test => Confirmed
    2007-09-14 None Attached File- => Added build.log.bz2, #13949
    2007-09-14 None Attached File- => Added gverror2.png, #13948
    2007-09-12 Arabidopsis StatusNone => Ready For Test

    Back to the top

    Powered by Savane 3.4