Cornelis Hoeflake created PDFBOX-3183:
-----------------------------------------

             Summary: Thine strokes (hairline)
                 Key: PDFBOX-3183
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3183
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
    Affects Versions: 2.0.0
            Reporter: Cornelis Hoeflake
             Fix For: 2.0.0


I have a PDF which has a very small line in it. When rendering with PDFBox, the 
line is not shown. Only at very high resolution, starting with a scale factor 
of 14. The line is shown (as black 1 pixel line) in other PDF readers like 
Adobe, Chrome, PDFJS and Edge.

I think this issue is related to PDFBOX-2753 but is different.

The line is implemented by a stroke of 0.06pt high. That stroke is surrounded 
by a rectangle of the same height. Now there are two problems. 
First, the rectangle is used as the clipping area. That area is 0.06pt high 
which is 0 pixels at lower resolution.
Secondly, the stroke itself has a height of 0.06pt which is 0 pixels at lower 
resolution. Although the PageDrawer.getStroke rewrites this to 0.25.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to