** Description changed: This bug is happening on Ubuntu : 12.04 LTS ghostscript version : 9.05 Mozilla firefox: 12 and above. How to reproduce: - 1. Open Mozilla firefox web browser + 1. Open Mozilla firefox web browser 2. Type in the url : www.google.com 3. Go to File->Print and select "Print to File" option and output format as "pdf" and click on the print button. 4. Pass the generated pdf file to Ghostscript 9.05 using cupsfilter command: - cupsfilter -m application/vnd.cups-raster -p + cupsfilter -m application/vnd.cups-raster -p /usr/share/cups/model/laserjet.ppd -o "PageSize=Letter fitplot" ~/mozilla.pdf > ~/mozilla.ras 5. Open the mozilla.ras file using Rasterviewer application - rasterviewer ~/mozilla.ras + rasterviewer ~/mozilla.ras You will find that the color of the botton "Google Search" and "I'm feeling luck" are yellow in color which is different from what we view in the browser. + + [IMPACT] + + Everyone with an HP inkjet printer (and perhaps also some other color + printers) can get wrongly colored graphical elements when printing from + programs which use Cairo for their print output + + The fix is a small patch on Ghostscript, with which the Ghostscript + developers have fixed the bug upstream (see linked upstream bug). + + [TESTCASE] + + Let Ghostscript render the attached sample PDF file (generated via + "Print to file" by Firefox, from the www.google.com page) into the CUPS + Raster format with color space 17 (the color space used for HP's color + inkjets by HPLIP) using the following command line: + + gs -sDEVICE=cups -dcupsColorSpace=17 -sOutputFile=out17.raster firefox- + google-com-lp1022516.pdf + + The display the output file with rasterview from + http://www.easysw.com/~mike/rasterview/index.html: + + rasterview out17.raster + + The buttons on the page appear in yellow whereas in the original PDF + file they are gray. + + After installing the proposed package and repeating the Ghostscript + command line call, the buttons in out17.raster appear correctly in gray. + + You can also use the steps shown in the original bug description to + reproduce the bug and to verify that the proposed package fixes it. + + [Regression Potential] + + The patch is very small and simple and it is issued by the upstream + developers who run it through automated regression tests with several + 10k of files, so the probability of regressions is very low.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1022516 Title: Incorrect color output of the buttons on the webpages (google search web page) when printed from Mozilla firefox 12 and above To manage notifications about this bug go to: https://bugs.launchpad.net/gs-gpl/+bug/1022516/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs