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 2014/04/07 17:22:16 UTC

[jira] [Resolved] (PDFBOX-2018) Dashed line with incorrect line cap

     [ https://issues.apache.org/jira/browse/PDFBOX-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-2018.
-------------------------------------

    Resolution: Fixed

Fixed in rev 1585502.

> Dashed line with incorrect line cap
> -----------------------------------
>
>                 Key: PDFBOX-2018
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2018
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.5
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 1.8.5
>
>
> The dashed lines of p.9, 10 and 11 of the PDFBOX-1917 file look different in 1.8 and in 2.0. IMHO, they look better in 1.8, however after debugging I found out that 2.0 is correct. I found a place in 1.8 where a BasicStroke object is initialized with "default values", and looking at the java source code it is a square cap, and that is incorrect, it must be a BUTT cap.



--
This message was sent by Atlassian JIRA
(v6.2#6252)