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/03/08 13:56:42 UTC

[jira] [Created] (PDFBOX-1970) Shadings are flipped or rotated

Tilman Hausherr created PDFBOX-1970:
---------------------------------------

             Summary: Shadings are flipped or rotated
                 Key: PDFBOX-1970
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1970
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 1.8.4
            Reporter: Tilman Hausherr


Some of my shading test images are flipped or rotated when done with the 1.8 branch, not with the 2.0 branch. 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 2.0 branch (good).





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