<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - pdftocairo -ps fails with this pdf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66229#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - pdftocairo -ps fails with this pdf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66229">bug 66229</a>
from <span class="vcard"><a class="email" href="mailto:jason@aquaticape.us" title="Jason Crain <jason@aquaticape.us>"> <span class="fn">Jason Crain</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=117751" name="attach_117751" title="fix size of transparency group surface">attachment 117751</a> <a href="attachment.cgi?id=117751&action=edit" title="fix size of transparency group surface">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=66229&attachment=117751'>[review]</a>
fix size of transparency group surface
cairo_surface_create_similar_clip calculates an incorrect surface size under
rotation. The right calculation is a bit more involved. See
_cairo_matrix_transform_bounding_box in cairo's cairo-matrix.c
(<a href="http://cgit.freedesktop.org/cairo/tree/src/cairo-matrix.c#n426">http://cgit.freedesktop.org/cairo/tree/src/cairo-matrix.c#n426</a>). It requires
transforming the four corners of the clip extents and taking the min/max of the
results. Instead, this patch lets cairo handle creating a surface of the right
size.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>