[cairo-bugs] [Bug 89232] New: Playback of recording surface into pdf surface is incomplete or blank

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 19 08:01:14 PST 2015


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

            Bug ID: 89232
           Summary: Playback of recording surface into pdf surface is
                    incomplete or blank
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pdf backend
          Assignee: ajohnson at redneon.com
          Reporter: cagprado at gmail.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 113669
  --> https://bugs.freedesktop.org/attachment.cgi?id=113669&action=edit
Simple code that reproduces the described issue.

Hi,

I’ve been trying to create a pdf surface from a recording surface. Attached is
a simple c++ code to reproduce the issue. After creating and drawing in the
recording surface I replay it in a pdf surface and an image surface in order to
compare both results. The code for both are quite the same but the results are
not as pdf output is missing one of the blocks.

It seems that every object with negative coordinates in the recording surface
don't get drawn in the pdf output but the same kind of problem happens when I
uncomment line 9 in the file (cairo_translate(ctx,1000,1000);) where every
coordinate is now positive but the pdf output is blank while the png seems to
give the expected result.

Cairo 1.14.0, I haven’t tried the stable release.

Attached code compiled with g++ -Wall -O2 $(pkg-config --cflags --libs cairo)

Cheers,

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150219/db984864/attachment.html>


More information about the cairo-bugs mailing list