Summary: | pdftocairo -ps fails with this pdf | ||
---|---|---|---|
Product: | poppler | Reporter: | James Cloos <cloos> |
Component: | cairo backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | devil92666, madbiologist2016, masfia, michael, moo.freedesktop.z.edmcman |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Adobe’s Transparency Design Guide
fix size of transparency group surface |
Description
James Cloos
2013-06-26 21:37:08 UTC
*** Bug 70671 has been marked as a duplicate of this bug. *** *** Bug 91235 has been marked as a duplicate of this bug. *** Created attachment 117751 [details] [review] 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. *** Bug 79509 has been marked as a duplicate of this bug. *** *** Bug 90548 has been marked as a duplicate of this bug. *** Not only fixes the issue but cleans up the code, thanks! I've just pushed it to git master. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.