Gentoo Archives: gentoo-amd64

From: Frank Peters <frank.peters@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Ghostscript Problem - Need Verification
Date: Mon, 13 Dec 2010 23:03:04
1 I have noticed a severe problem with ghostscript. A bug report was filed
2 with the ghostscript upstream maintainers, but, surprisingly (to me at least)
3 no one could reproduce the problem. This may indicate that the problem is
4 unique to Gentoo ghostscript or that something strange is happening in my
5 system. What I need is verification from other Gentoo users.
7 The problem concerns the ghostscript raster drivers such as PGM, TIFF, PNG,
8 etc. Whenever a certain resolution (the exact value depends on the driver)
9 is exceeded, the output for any embedded images in the PostScript file is all
10 black. Text is rendered without problem, but if an image is inserted into
11 the document, say with OpenOffice, the image is rendered all black (above certain
12 resolutions).
14 Why do I use these raster drivers?
16 There can be a need to use them on occasion, but, more significantly, I print
17 documents with the ghostscript IJS driver from Hewlett-Packard. Ghostscript must
18 supply some kind of raster to the IJS driver because any embedded images are printed
19 all black. The problem therefore probably extends beyond the raster drivers
20 themselves.
22 Attached is a sample PostScript file, With a PostScript viewer
23 such as gv or gsview, the image is clearly visible. If some Gentoo user could
24 render this file into a PGM format using the following command and then report the
25 results, it would be very helpful to me.
27 gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pgm -r380 -sOutputFile=image-test.pgm
29 Viewing the resulting image file with an image viewer such as display from ImageMagick
30 (display -resize 25% image-test.pgm) should show an all white page with an all black
31 rectangle in place of the central image.
33 Interestingly, if the resolution in the above command is changed to 300dpi (-r300)
34 the raster driver renders the image correctly. I found the exact cut-off value
35 to be 326.
37 The same behavior applies to the TIFF and PNG drivers although at different
38 cut-off resolution values for each driver. However, the fax drivers, tiffg3,
39 and the pbm driver seem unaffected.
41 If someone can verify this problem, then Gentoo ghostscript must be the fault.
42 If no one else can reproduce the issue then I am somehow in possession of a
43 jinxed system (although the same problem exists on both of my Gentoo machines).
45 Frank Peters


File name MIME type application/postscript


Subject Author
Re: [gentoo-amd64] Ghostscript Problem - Need Verification Mark Knecht <markknecht@×××××.com>
Re: [gentoo-amd64] Ghostscript Problem - Need Verification Randy Barlow <randy@×××××××××××××××××.com>
Re: [gentoo-amd64] Ghostscript Problem - Need Verification malc <mlashley@×××××.com>