You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/03/03 07:44:21 UTC

[jira] [Comment Edited] (PDFBOX-870) PDF-To-IMAGE output is not anti-aliased

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

Tilman Hausherr edited comment on PDFBOX-870 at 3/3/14 6:42 AM:
----------------------------------------------------------------

Ok, so that is a "no". Here's one that does have anti-aliasing. I set anti-aliasing to ON in PageDrawer.fillPath() and strokePath(). It is specifically set to OFF in the trunk, don't know why.

About the fonts: yes this is a known problem, see PDFBOX-1800 and PDFBOX-1701 and PDFBOX-1689. I complained about this myself. The first change I ever made locally (PDFBOX-1296, now obsolete) dealt with bad fonts.


was (Author: tilman):
Ok, so that is a "no". Here's one that does have anti-aliasing. I set anti-aliasing to ON in PageDrawer.fillPath() and strokePath(). It is specifically set to OFF in the trunk, don't know why.

About the fonts: yes this is a known problem, see PDFBOX-1800 and PDFBOX-1701. I complained about this myself. The first change I ever made locally (PDFBOX-1296, now obsolete) dealt with bad fonts.

> PDF-To-IMAGE output is not anti-aliased
> ---------------------------------------
>
>                 Key: PDFBOX-870
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-870
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 1.3.1
>            Reporter: Nicolas Hoibian
>         Attachments: a_metro-vlc.pdf, a_metro-vlc.pdf-1-antialioasing.png, a_metro-vlc.pdf-1.png, pdf-renderer_vlc.png, pdfbox_vlc.png
>
>
> Hi
> I am a user of pdf-renderer from java.net, and I am looking into the pdf to image part of pdfbox.
> So far it seems that pdfbox can render more of the pdf that are problematic with pdf-renderer, but for those that work in both, the pdf-to-image output is prettier for pdf-renderer, as both the font and shapes/path/lines are anti-aliased.
> With PDFbox, the text is sometimes antialiased, but never the shapes/drawings.
> Is there a way to have shapes antialiased ?
> I am using the latest version from svn.
> Here are some examples in the difference of rendering



--
This message was sent by Atlassian JIRA
(v6.2#6252)