[
https://issues.apache.org/jira/browse/PDFBOX-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944037#comment-13944037
]
Tilman Hausherr commented on PDFBOX-1954:
-----------------------------------------
I solved the problem with the Vattenfall file, the cause is similar to
PDFBOX-1830: a wrong initialisation. Rev 1571581 had incorrectly changed the
initialization of lineCap from 0 (= CAPBUTT) to CAPSQUARE. The spec tells "A
code specifying the shape of the endpoints for any open path that is stroked
(see “Line Cap Style” on page 216). Initial value: 0, for square butt caps." I
changed it back to 0 (CAPBUTT) in rev 1580201 and the vattenfall file is now OK.
> Regression: Some lines are too small / too long
> -----------------------------------------------
>
> Key: PDFBOX-1954
> URL: https://issues.apache.org/jira/browse/PDFBOX-1954
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: John Hewson
> Labels: regression
> Fix For: 2.0.0
>
> Attachments: PDFBOX-1794-vattenfall.pdf-1-after.png,
> PDFBOX-1794-vattenfall.pdf-1-before.png,
> PDFBOX-1870-DeviceN3.pdf-1-after.png, PDFBOX-1870-DeviceN3.pdf-1-before.png
>
>
> The attached images have differences in line thickness / length. The
> vattenfall file had this problem before, it was solved in PDFBOX-1830.
--
This message was sent by Atlassian JIRA
(v6.2#6252)