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

Tilman Hausherr commented on PDFBOX-1931:
-----------------------------------------

>From the "an anomaly in the matrix" dept.:

Getting an X or Y scale value from a matrix object is not the same as getting a 
scale value from an AffineTransform generated from a matrix. In the 1.8 
version, the first is done (which brings a value != 0), in the 2.0 version, the 
second is done, which brings a value = 0. It was introduced with rev 1562921, 
by modifying the patch of [~lmpmbernardo] (which used the matrix scale method). 
Luckily this wasn't done in 1.8.

I will fix this after making tests with other radial shading images to be sure 
that my theory is correct.

> Radial shading is missing
> -------------------------
>
>                 Key: PDFBOX-1931
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1931
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>              Labels: shading, shadingpattern
>         Attachments: pdfbox-1931.pdf-1.png, uniekekans_test.pdf
>
>
> The attached file contains a radial shading fill which is missing. 
> RadialShadingContext#calculateInputValues is returning NaN which seems to be 
> incorrect.



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

Reply via email to