[
https://issues.apache.org/jira/browse/PDFBOX-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908691#comment-13908691
]
Tilman Hausherr edited comment on PDFBOX-1931 at 3/6/14 7:32 AM:
-----------------------------------------------------------------
PageDrawer.shfill() is called with a ctm that has a 0 scaling (edit 6.3.2014:
only when looking superficially at the variable in a debug session, see later
comment). 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 :-(
was (Author: tilman):
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: 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)