[Poppler-bugs] [Bug 66229] pdftocairo -ps fails with this pdf

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 18 00:18:43 PDT 2015


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

--- Comment #3 from Jason Crain <jason at aquaticape.us> ---
Created attachment 117751
  --> https://bugs.freedesktop.org/attachment.cgi?id=117751&action=edit
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
(http://cgit.freedesktop.org/cairo/tree/src/cairo-matrix.c#n426).  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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150818/83532a22/attachment.html>


More information about the Poppler-bugs mailing list