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/04/17 21:00:17 UTC

[jira] [Commented] (PDFBOX-1809) Embedded Fonts not drawn on Pages BufferedImage

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

Tilman Hausherr commented on PDFBOX-1809:
-----------------------------------------

[~lomilar] could you please test with the current 2.0 version whether your files render the way you want, or not? IMHO your problem was solved long ago with John's big change but I'd like your feedback before resolving this issue.

> Embedded Fonts not drawn on Pages BufferedImage
> -----------------------------------------------
>
>                 Key: PDFBOX-1809
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1809
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.3
>         Environment: Windows 7 professional, Spring Tool Suite Version 3.2.0.RELEASE java version 1.7.0.45
>            Reporter: Don Jensen
>            Priority: Critical
>         Attachments: 01-0001-01-REP.pdf, 01-0001-01-rep-01-good.png, 01-0001-01-rep-01.png, PdfBoxImage_0.png, PdfBoxImage_1.png, pdfbox-1809-image.jpg, pdfbox-1809.pdf
>
>
> When converting a PDF Page to image PDPage,convertToImage.  Some fonts are not transferring to the bufferedImage canvas.  
> for(int index = 0; index < workDoc.getNumberOfPages(); index++){ 
>        PDPage workPage = (PDPage) workDoc.getDocumentCatalog().getAllPages().get(index); 
>        BufferedImage workImage = workPage.convertToImage(); 
>        ImageIO.write(workImage, "PNG", new File(baseFolder + "PdfBoxImage_" + index + ".png")); 
> } 



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