[
https://issues.apache.org/jira/browse/PDFBOX-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-3122:
------------------------------------
Description:
{code}
Caused by: java.lang.IllegalArgumentException: dash lengths all zero
org.apache.pdfbox.rendering.PageDrawer.getStroke(PageDrawer.java:563)
org.apache.pdfbox.rendering.PageDrawer.strokePath(PageDrawer.java:571)
org.apache.pdfbox.contentstream.operator.graphics.StrokePath.process(StrokePath.java:36)
{code}
The content stream has this:
{code}
[ 0.0 0.0 ] 0 d
{code}
I'll fix this by checking the dash array and pass an empty array if all
elements are 0.
was:
{code}
Caused by: java.lang.IllegalArgumentException: dash lengths all zero
org.apache.pdfbox.rendering.PageDrawer.getStroke(PageDrawer.java:563)
org.apache.pdfbox.rendering.PageDrawer.strokePath(PageDrawer.java:571)
org.apache.pdfbox.contentstream.operator.graphics.StrokePath.process(StrokePath.java:36)
{code}
The content stream has this:
{code}
[ 0.0 0.0 ] 0 d
{code}
I'll fix this by checking the dash array and pass an empty array if an element
is 0.
> IllegalArgumentException: dash lengths all zero
> -----------------------------------------------
>
> Key: PDFBOX-3122
> URL: https://issues.apache.org/jira/browse/PDFBOX-3122
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Fix For: 2.0.0
>
>
> {code}
> Caused by: java.lang.IllegalArgumentException: dash lengths all zero
> org.apache.pdfbox.rendering.PageDrawer.getStroke(PageDrawer.java:563)
> org.apache.pdfbox.rendering.PageDrawer.strokePath(PageDrawer.java:571)
>
> org.apache.pdfbox.contentstream.operator.graphics.StrokePath.process(StrokePath.java:36)
> {code}
> The content stream has this:
> {code}
> [ 0.0 0.0 ] 0 d
> {code}
> I'll fix this by checking the dash array and pass an empty array if all
> elements are 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]