[ 
https://issues.apache.org/jira/browse/PDFBOX-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925170#comment-13925170
 ] 

Maruan Sahyoun commented on PDFBOX-1970:
----------------------------------------

Having looked at some of the 1.8 code my feeling is that the transformations 
are not done consistently but in a way that it works. So as long as it works my 
suggestion is to go ahead and commit the changes with the comments you made. If 
there are new cases where it’s proven to be wrong they could be changed then.

> 1.8 shadings are sometimes flipped
> ----------------------------------
>
>                 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
>              Labels: shading, shadingpattern
>         Attachments: _asy-gouraud.pdf-1.png, asy-gouraud.pdf
>
>
> 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).



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

Reply via email to