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

1.8 shadings are sometimes flipped

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.4
    • Fix Version/s: 1.8.5
    • Component/s: None

      Description

      Some of my shading test images are sometimes flipped when done with the 1.8 branch, not with the trunk. I have observed this with shadingtype 1, 4 and 5.

      The shadingContext is created with an AffineTransform (the CTM is identical and its just a translation) of
      [1.0, 0.0, 399.0]
      [0.0, 1.0, 49.0]
      for the 1.8 branch (bad)

      and with
      [1.0, 0.0, 399.0]
      [0.0, -1.0, 149.0]
      for the trunk (good).

        Attachments

        1. _asy-gouraud.pdf-1.png
          26 kB
          Tilman Hausherr
        2. asy-gouraud.pdf
          12 kB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: