You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/04/09 21:03:13 UTC

[jira] [Commented] (PDFBOX-2753) Improve rendering of filled thin lines

    [ https://issues.apache.org/jira/browse/PDFBOX-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14488003#comment-14488003 ] 

ASF subversion and git services commented on PDFBOX-2753:
---------------------------------------------------------

Commit 1672455 from [~jahewson] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1672455 ]

PDFBOX-2753: Improve rendering of filled thin lines

> 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
>
>
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org