You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2015/06/19 19:06:00 UTC

[jira] [Comment Edited] (PDFBOX-1843) Find a way to test PDFToImage

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

John Hewson edited comment on PDFBOX-1843 at 6/19/15 5:05 PM:
--------------------------------------------------------------

We could ship a collection of fonts as part of the test suite (maybe download some GPL'd ones, like we do with jbig2). Then we can use a custom FontProvider subclass which uses only those fonts. The fonts which ship with Ghostscript would be a good starting point.


was (Author: jahewson):
We could ship a collection of fonts as part of the test suite (maybe download some GPL'd ones, like we do with jbig2). Then we can use a custom FontProvider subclass which uses only those fonts.

> Find a way to test PDFToImage
> -----------------------------
>
>                 Key: PDFBOX-1843
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1843
>             Project: PDFBox
>          Issue Type: Wish
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>              Labels: test
>             Fix For: 2.0.0
>
>         Attachments: TestPDFToImage.java
>
>
> The regression tests for PDFToImage are currently disabled because different JVMs produce different output because of their different implementations of AWT.
> We should investigate if these AWT differences are caused by:
> 1. PNG encoding
> 2. Type 1 font rendering
> 3. anti-aliasing
> 4. line/curve drawing
> If the answer is anything except 4 then there will be a relatively easy fix.



--
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