[
https://issues.apache.org/jira/browse/PDFBOX-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933144#comment-15933144
]
Tilman Hausherr commented on PDFBOX-3724:
-----------------------------------------
Re the difference with 1 2 3 4: this is possibly a java bug. Or a lack of
definition what to do when the first element of a dash array is 0. JDK8 shows
(probably) the line thickness as length, JDK9 shows nothing, Adobe shows a
minimal line. So the solution would be to replace 0 with a small number...
sadly this can produce JVM crashes so we'll use our current compromise, which
is 0.035.
Re the PDFBOX-3000 improvements... thanks; but it will never be perfect, for
example we can't do proper CMYK blending.
A snapshot is available at
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.6-SNAPSHOT/
> Wrong size in rendering of some artifacts
> -----------------------------------------
>
> Key: PDFBOX-3724
> URL: https://issues.apache.org/jira/browse/PDFBOX-3724
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.5
> Reporter: Daniel Persson
> Priority: Minor
> Attachments: example1.pdf, example1-pdfbox1.png,
> example1-poppler-1.png, PDFBOX-3724_reduced.pdf
>
>
> Seems that some artifacts get the wrong width when rendering. I've tested my
> way to that the artifact is a stroked line and it seems the stroke width is
> larger than a single pixel and stroke width might only be applied to how wide
> a stroke is and the length of the stroke might have a minimal length? Poppler
> seem to handle this stroke correctly.
> ----- OFF TOPIC
> We do text extraction with PDFBox and use poppler today to extract our images
> because we had a lot of artifacts earlier but with the tremendous work by the
> team to solve PDFBOX-3000 issues we are looking into using PDFBox for image
> rendering. A lot of our examples have even more details than the poppler
> rendered images.
> Great work people.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]