Tilman Hausherr created PDFBOX-1733:
---------------------------------------
Summary: 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
Reporter: Tilman Hausherr
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)