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

Tilman Hausherr updated PDFBOX-2156:
------------------------------------

    Description: 
The attached file renders incorrectly except at 72dpi; at other resolutions, 
there are different results that get worse as the resolution gets higher. For 
shading types 2 and 3, this effect happens only in the 1.8 versions, not in the 
2.0 version.

The reason is that the transformation is incomplete if the ctm is null.

I found the file here and it was created by Matthias Kramm:
https://github.com/jdapena/swftools/tree/master/spec

  was:
The attached file renders incorrectly except at 72dpi; at other resolutions, 
there are different results that get worse as the resolution gets higher. This 
effect happens only in the 1.8 versions.

The reason is that the transformation is incomplete if the ctm is null. The 
effect doesn't happen in the 2.0 version. I already have a fix but will make 
some tests and try another strategy too.

I found the file here and it was created by Matthias Kramm:
https://github.com/jdapena/swftools/tree/master/spec


> different shading patterns at different resolutions when ctm is null
> --------------------------------------------------------------------
>
>                 Key: PDFBOX-2156
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2156
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.5, 1.8.6, 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>              Labels: shading, shadingpattern
>         Attachments: swftools-gradients.pdf, swftools-gradients1.jpg
>
>
> The attached file renders incorrectly except at 72dpi; at other resolutions, 
> there are different results that get worse as the resolution gets higher. For 
> shading types 2 and 3, this effect happens only in the 1.8 versions, not in 
> the 2.0 version.
> The reason is that the transformation is incomplete if the ctm is null.
> I found the file here and it was created by Matthias Kramm:
> https://github.com/jdapena/swftools/tree/master/spec



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

Reply via email to