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

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

PageDrawer.shfill() is called with a ctm that has a 0 scaling. That results 
later that the radius of both circles is 0 :-( The pdf spec tells us: "If one 
radius is 0, the corresponding circle is treated as a point; if both are 0, 
nothing is painted." So the real work would be to find out why the ctm has a 0 
scaling :-(

> 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: 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.1.5#6160)

Reply via email to