[
https://issues.apache.org/jira/browse/PDFBOX-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Hewson resolved PDFBOX-2753.
---------------------------------
Resolution: Fixed
> Improve rendering of filled thin lines
> --------------------------------------
>
> Key: PDFBOX-2753
> URL: https://issues.apache.org/jira/browse/PDFBOX-2753
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: John Hewson
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: bugzilla867751.pdf-3-nice.png,
> bugzilla867751.pdf-3-not-so-nice.png
>
>
> While working on PDFBOX-1658 I noticed that the file also contains some thin
> lines which disappear when rendering at lower resolutions. The problem is due
> to the PDF having filled paths with a width < 1px being used, rather than
> using stroked paths. Because these paths are rectangular, they're triggering
> our heuristic gradient detector which disables anti-aliasing.
> The solution is to increase the threshold for disabling anti-aliasing to
> paths with a width and height > 1, and this file now renders perfectly, even
> at 72 dpi.
> See the discussion in PDFBOX-1658 for further information.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]