** Description changed: - I have just noticed a problem caused by the change on 3 Oct 2011, which - prevents pdfopt from linearizing pdflatex-generated files at least under Ubuntu + I have just noticed a problem caused by the change on 3 Oct 2011, which + prevents pdfopt from linearizing pdflatex-generated files at least under Ubuntu 12.04: + [IMPACT] + + pdfopt does not work on any file generated by pdflatex. + + [TESTCASE] + + Cited from the original reporter of this bug: + + ---------- How to reproduce the problem: - ghostscript/9.05 is used by Ubuntu 12.04. Linearizing a pdflatex-generated file + ghostscript/9.05 is used by Ubuntu 12.04. Linearizing a pdflatex-generated file does not work here. For test, simply /usr/share/doc/texlive- doc/latex/curve/curve.pdf can be used with pdfopt: - dreibh@lupo:/tmp$ pdfopt /usr/share/doc/texlive-doc/latex/curve/curve.pdf + dreibh@lupo:/tmp$ pdfopt /usr/share/doc/texlive-doc/latex/curve/curve.pdf x.pdf - **** Considering object with an invalid number 264 as null. - **** Considering object with an invalid number 265 as null. - **** Considering object with an invalid number 264 as null. - **** Considering object with an invalid number 265 as null. - dreibh@lupo:/tmp$ pdfinfo x.pdf + **** Considering object with an invalid number 264 as null. + **** Considering object with an invalid number 265 as null. + **** Considering object with an invalid number 264 as null. + **** Considering object with an invalid number 265 as null. + dreibh@lupo:/tmp$ pdfinfo x.pdf Producer: ESP Ghostscript 815.03 CreationDate: Mon Feb 25 18:03:04 2008 ModDate: Mon Feb 25 18:03:04 2008 Tagged: no Pages: 26 Encrypted: no Page size: 595 x 842 pts (A4) File size: 184754 bytes Optimized: no ########### <<-- not linearized PDF version: 1.3 - I have therefore reverted the change in pdf_base.ps: - 1 index 0 lt { - - ( **** Considering object with a negative number as null.\n) + - ( **** Considering object with a negative number as null.\n) pdfformaterror + 1 index dup 0 lt exch NumObjects ge or { - + ( **** Considering object with an invalid number ) - + 2 index 20 string cvs concatstrings + + ( **** Considering object with an invalid number ) + + 2 index 20 string cvs concatstrings + ( as null.\n) concatstrings pdfformaterror - Now, pdfopt works as before: dreibh@lupo:/tmp$ pdfopt /usr/share/doc/texlive-pictures- doc/latex/curve/curve.pdf y.pdf - dreibh@lupo:~/tmp$ pdfinfo y.pdf + dreibh@lupo:~/tmp$ pdfinfo y.pdf Producer: ESP Ghostscript 815.03 CreationDate: Mon Feb 25 18:03:04 2008 ModDate: Mon Feb 25 18:03:04 2008 Tagged: no Pages: 26 Encrypted: no Page size: 595 x 842 pts (A4) File size: 185577 bytes - Optimized: yes ########### <<-- not linearized + Optimized: yes ########### <<-- linearized PDF version: 1.3 + ---------- + + After installing the proposed package this problem should disappear, + getting + + ... + Optimized: yes + ... + + without needing to edit pdf_base.ps. + + [Regression Potential] + + Very low, as only a simple consistency check got removed by the patch, + on the rendering nothing is changed. + ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: ghostscript 9.05~dfsg-0ubuntu4.1 ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21 Uname: Linux 3.2.0-27-generic x86_64 ApportVersion: 2.0.1-0ubuntu11 Architecture: amd64 Date: Thu Aug 2 23:05:41 2012 InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423) Lpstat: - device for Farblaser-TCP: socket://132.252.151.21:9100 - device for HP-LaserJet-2420: socket://132.252.151.20:9100 - device for HPLaserJet4050: socket://132.252.151.22:9100 - device for HPLaserJet5MP: socket://172.31.255.128:9100 - device for Knoll: lpd://192.168.200.144/ + device for Farblaser-TCP: socket://132.252.151.21:9100 + device for HP-LaserJet-2420: socket://132.252.151.20:9100 + device for HPLaserJet4050: socket://132.252.151.22:9100 + device for HPLaserJet5MP: socket://172.31.255.128:9100 + device for Knoll: lpd://192.168.200.144/ MachineType: LENOVO 4061W1N Papersize: a4 PccardctlIdent: - Socket 0: - no product info available + Socket 0: + no product info available PccardctlStatus: - Socket 0: - no card + Socket 0: + no card PpdFiles: - Knoll: Fiery X3eTY 50_45C-KM PS Color Server 1.01eu - Farblaser-TCP: Dell MFP Laser 3115cn v3015.103 PS - HPLaserJet4050: HP LaserJet 4050 Series Postscript (recommended) - HP-LaserJet-2420: HP LaserJet 2420 Postscript (recommended) - HPLaserJet5MP: HP LaserJet 5MP Postscript (recommended) + Knoll: Fiery X3eTY 50_45C-KM PS Color Server 1.01eu + Farblaser-TCP: Dell MFP Laser 3115cn v3015.103 PS + HPLaserJet4050: HP LaserJet 4050 Series Postscript (recommended) + HP-LaserJet-2420: HP LaserJet 2420 Postscript (recommended) + HPLaserJet5MP: HP LaserJet 5MP Postscript (recommended) ProcEnviron: - LANGUAGE= - TERM=xterm - PATH=(custom, user) - LANG=de_DE.UTF-8 - SHELL=/bin/bash + LANGUAGE= + TERM=xterm + PATH=(custom, user) + LANG=de_DE.UTF-8 + SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-27-generic root=UUID=b0b8846c-fcfb-4cda-ba9c-600cb5ff36bf ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7 SourcePackage: ghostscript UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 12/14/2011 dmi.bios.vendor: LENOVO dmi.bios.version: 6FET92WW (3.22 ) dmi.board.name: 4061W1N dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6FET92WW(3.22):bd12/14/2011:svnLENOVO:pn4061W1N:pvrThinkPadW500:rvnLENOVO:rn4061W1N:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 4061W1N dmi.product.version: ThinkPad W500 dmi.sys.vendor: LENOVO
** Changed in: ghostscript (Ubuntu Precise) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032366 Title: pdfopt problem caused by change of pdf_base.ps To manage notifications about this bug go to: https://bugs.launchpad.net/gs-gpl/+bug/1032366/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs