Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2185

Rotation and skew not applied on rectangles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.6, 1.8.7, 2.0.0
    • 1.8.7, 2.0.0
    • Rendering
    • None

    Description

      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.

      Attachments

        1. example_013.pdf
          25 kB
          Petr Slaby
        2. AppendRectangleToPath.java.patch
          2 kB
          Petr Slaby

        Activity

          People

            tilman Tilman Hausherr
            pslabycz Petr Slaby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: