You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/07/05 05:30:34 UTC

[jira] [Resolved] (PDFBOX-2185) Rotation and skew not applied on rectangles

     [ https://issues.apache.org/jira/browse/PDFBOX-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-2185.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.7
         Assignee: Tilman Hausherr

Thanks for finding and solving this! I committed your patch in rev 1607970 for the trunk and rev 1607971 for the 1.8 branch.

> Rotation and skew not applied on rectangles
> -------------------------------------------
>
>                 Key: PDFBOX-2185
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2185
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.6, 1.8.7, 2.0.0
>            Reporter: Petr Slaby
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.7, 2.0.0
>
>         Attachments: AppendRectangleToPath.java.patch, example_013.pdf
>
>
> When rendering the attached example, rotation and skew of rectangles is not applied properly. The reason is that the AppendRectangleToPath transform only start and end point and makes a non-rotated non-skewed result out of that. Instead, each corner of the rectangle has to be transformed separately as shown in the attached patch.



--
This message was sent by Atlassian JIRA
(v6.2#6252)