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:58:42 UTC

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

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

Tilman Hausherr updated PDFBOX-1970:
------------------------------------

    Description: 
Some of my shading test images are flipped or rotated 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).



  was:
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).




> 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
>              Labels: shading, shadingpattern
>
> Some of my shading test images are flipped or rotated 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)