You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/09/02 18:39:02 UTC

[jira] [Commented] (PDFBOX-3917) Gap in line

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

Tilman Hausherr commented on PDFBOX-3917:
-----------------------------------------

I'm leaving this open but I think this can't be fixed after reading this question:
https://stackoverflow.com/questions/5046088/affinetransform-without-transforming-stroke
java _can_ draw lines of variable width. However by design PDFBox does the transform on the path elements, i.e. the shapes being stroked are already transformed. So the CTM never reaches the graphics device. So we'd have to do a very complex redesign / refactor that would likely break a lot of the sensitive parts (patterns and transparency groups) for a long time.

> Gap in line
> -----------
>
>                 Key: PDFBOX-3917
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3917
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.7
>            Reporter: simon steiner
>         Attachments: PDFBOX-3917-reduced.pdf, test.pdf
>
>
> java -jar pdf-box-svn/app/target/pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage test.pdf
> Output has a gap in the line



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org