[
https://issues.apache.org/jira/browse/PDFBOX-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-1733:
------------------------------------
Environment: XP, W7 (was: XP)
> Rectangles have one rounded edge in rendered image only
> -------------------------------------------------------
>
> Key: PDFBOX-1733
> URL: https://issues.apache.org/jira/browse/PDFBOX-1733
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Environment: XP, W7
> Reporter: Tilman Hausherr
> Priority: Minor
> Attachments: test-landscape2-01.png, test-landscape2.pdf
>
>
> The file test-landscape2.pdf of the pdfbox tests has two rectangles, but when
> rendering each one has a rounded edge at the top left. There is no such edge
> in the acrobat viewer.
> A debug shows that the cap property of the stroke property of the java
> graphics object is set to CAP_ROUND which produces this effect.
> In the pdf, there is this line:
> 6 w 8 M 1 J
> The "1 J" means "round cap"
> http://www.verypdf.com/document/pdf-format-reference/pg_0219.htm
> http://www.verypdf.com/document/pdf-format-reference/pg_0216.htm
> So I'm not even sure if this is a bug in pdfbox or a bug in the acrobat
> viewer. Does anyone here use a different viewer?
--
This message was sent by Atlassian JIRA
(v6.1#6144)