[cairo-bugs] [Bug 24240] New: PDF backend seems to rasterize when drawing to group

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 30 17:50:54 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24240

           Summary: PDF backend seems to rasterize when drawing to group
           Product: cairo
           Version: 1.8.8
          Platform: x86-64 (AMD64)
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pdf backend
        AssignedTo: ajohnson at redneon.com
        ReportedBy: ken at miriamtech.com
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=29967)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29967)
Test program

The attached test case shows an apparent rasterizing of fonts when text is
drawn on a group rather than on the bare context.

On Mac OS X (the only platform I have available for test at present), Preview
renders the first line using sub-pixel interpolation. The second line uses
basic anti-aliasing instead. And when the result is printed, the first line is
crisp while the second line looks like.... well, a printed raster graphic.

I don't know if fonts are the only things being rasterized; paths seem to show
similar symptoms.

We have been using this technique when drawing items that may need to be
wrapped onto another page (draw it on a group, and if you run out of room, pop
it, show page, then paint the group) for quite a while. I have PDFs generated
with Cairo 1.4 that don't seem to exhibit this problem, though I haven't run
this exact test case against an older Cairo to verify.


-- 
Configure bugmail: http://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