[cairo-bugs] [Bug 27491] New: Printing web pages with images in them doesn't work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 6 08:44:21 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27491

           Summary: Printing web pages with images in them doesn't work
           Product: cairo
           Version: 1.9.6
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: postscript backend
        AssignedTo: ajohnson at redneon.com
        ReportedBy: b3nton at gmail.com
         QAContact: cairo-bugs at cairographics.org


Printing some web pages (eg, http://news.bbc.co.uk/) with either Firefox or
Midori (a webkit-gtk browser) doesn't work with cairo-1.9.6. The printer
whirrs, the paper moves through it but nothing gets printed. The pages are
blank if they contain any images. Reading through the cups error log was
unenlightening. Ghostscript seems to be having problems

D [06/Apr/2010:14:10:31 +0100] [Job 14] Error: /nocurrentpoint in --show--
D [06/Apr/2010:14:10:31 +0100] [Job 14] Operand stack:
D [06/Apr/2010:14:10:31 +0100] [Job 14] (\022)
D [06/Apr/2010:14:10:31 +0100] [Job 14] Execution stack:
D [06/Apr/2010:14:10:31 +0100] [Job 14] %interp_exit   .runexec2  
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push  
--nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
  1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   1861   1   3  
%oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop  
.runexec2   --nostringval--   --nostringval--   --nostringval--   2  
%stopped_push   --nostringval--   --nostringval--   --nostringval--  
--nostringval--   %array_continue
D [06/Apr/2010:14:10:31 +0100] [Job 14] Dictionary stack:
D [06/Apr/2010:14:10:31 +0100] [Job 14] --dict:1157/1684(ro)(G)--  
--dict:3/20(G)--   --dict:119/200(L)--
D [06/Apr/2010:14:10:31 +0100] [Job 14] Current allocation mode is local
D [06/Apr/2010:14:10:31 +0100] [Job 14] Last OS error: 2
D [06/Apr/2010:14:10:31 +0100] [Job 14] GPL Ghostscript 8.71: Unrecoverable
error, exit code 1
D [06/Apr/2010:14:10:31 +0100] [Job 14] renderer exited with status 0

If I recompile firefox without the option --enable-system-cairo then it uses
it's own version of cairo and printing once again works fine. This is what
makes me think this is a cairo bug. Firefox and Midori have different backends
but they both use cairo. Midori I don't know how to fix - it uses webkit-gtk
for its rendering which uses the system cairo.
Printing doesn't work with Thunderbird (also compiled with
--enable-system-cairo) if the email has any images in it but it will print if
the email is just text.
Printing works fine in every other app I've tried, epdfview and xpdf can print
pdfs with images in them. The gimp can print images.
Midori and the broken version of firefox can both print a local html file that
is just text. They can also print plain text downloaded from the web. It seems
to be web pages with images in them that cause the bug. The images are rendered
fine on the screen, the bug happens when they get sent to ghostscript

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list