[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to