<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Playback of recording surface into pdf surface is incomplete or blank"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89232">89232</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Playback of recording surface into pdf surface is incomplete or blank
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>pdf backend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>ajohnson@redneon.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>cagprado@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=113669" name="attach_113669" title="Simple code that reproduces the described issue.">attachment 113669</a> <a href="attachment.cgi?id=113669&action=edit" title="Simple code that reproduces the described issue.">[details]</a></span>
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,</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>