desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #00838
[Bug 817049] Re: gs renders images as black boxes when generating PDF files
This bug was fixed in the package poppler - 0.16.7-2ubuntu2
---------------
poppler (0.16.7-2ubuntu2) oneiric; urgency=low
* debian/patches/15_output-tiling-patterns-issuing-PS-patterns.patch,
debian/patches/17_dont-use-patterns-when-only-one-instance-is-used.patch:
Backported upstream patch to use PostScript Patterns for tiling fill when
output PostScript level >= 2 and to avoid using /PatternType if only one
instance of the pattern is used. This should fix LP: #817049.
-- Till Kamppeter <till.kamppeter@xxxxxxxxx> Fri, 19 Aug 2011 15:10:18 +0200
** Changed in: poppler (Ubuntu)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/817049
Title:
gs renders images as black boxes when generating PDF files
Status in GS-GPL - GPL Ghostscript:
Invalid
Status in “acroread” package in Ubuntu:
Incomplete
Status in “ghostscript” package in Ubuntu:
Invalid
Status in “poppler” package in Ubuntu:
Fix Released
Bug description:
Hi,
I just noticed that for several days my cupspdf printer driver
(generating PDF files in the home directory as a special printer)
generated broken PDF files when printing from firefox to cupspdf.
Debugging and breaking it down into its processing steps showed that
firefox itself generates a PDF files and sends it to the cupspdf
printer, which then runs something like (filenames replaced for
debugging tests)
pdftops -level2 -origpagesizes x.pdf y.ps
/usr/lib/cups/filter/pstops 619 hadmut test 1 finishings=3 < y.ps >
z.ps
/usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=a.pdf -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f z.ps
The first and the second step work, the generated postscript file (y.ps in this example) is correct (i.e. ghostview shows it correctly, I did not check it's internals).
But then gs generates a broken pdf.
Just try a
/usr/bin/gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite
-sOutputFile=a.pdf -f z.ps
with the attached z.ps as an example. I'll attach both z.ps and
a.pdf.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ghostscript 9.01~dfsg-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-11.47-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
Architecture: amd64
Date: Wed Jul 27 17:13:18 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
Lpstat:
device for Deskjet-F2100-series: hp:/usb/Deskjet_F2100_series?serial=CN7CK4T2NP04TK
device for HP-LaserJet-1300: socket://192.168.160.1:9100
device for hp-LaserJet-1320-series: hp:/usb/hp_LaserJet_1320_series?serial=00CNM1G08790
device for Laser: ///dev/null
device for PDF: cups-pdf:/
MachineType: Gigabyte Technology Co., Ltd. GA-MA78G-DS3H
Papersize: a4
PpdFiles:
PDF: Generic CUPS-PDF Printer
HP-LaserJet-1300: HP LaserJet 1300 Series Postscript (recommended)
hp-LaserJet-1320-series: HP LaserJet 1320 Foomatic/pxlmono (recommended)
Deskjet-F2100-series: HP Deskjet f2100 Series hpijs, 3.10.6
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/tcsh
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-11-generic root=/dev/mapper/raid2-ubuntu64 ro quiet splash vt.handoff=7
SourcePackage: ghostscript
UpgradeStatus: Upgraded to natty on 2011-05-17 (70 days ago)
dmi.bios.date: 04/03/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F2
dmi.board.name: GA-MA78G-DS3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF2:bd04/03/2008:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA78G-DS3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA78G-DS3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA78G-DS3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/817049/+subscriptions