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/01/06 21:08:51 UTC
[jira] [Updated] (PDFBOX-1809) Embedded Fonts not drawn on Pages
BufferedImage
[ https://issues.apache.org/jira/browse/PDFBOX-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-1809:
------------------------------------
Attachment: pdfbox-1809.pdf-1.png
Rendering after pdfbox-1691 has been solved
> Embedded Fonts not drawn on Pages BufferedImage
> -----------------------------------------------
>
> Key: PDFBOX-1809
> URL: https://issues.apache.org/jira/browse/PDFBOX-1809
> Project: PDFBox
> Issue Type: Bug
> 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: Blocker
> Attachments: 01-0001-01-REP.pdf, 01-0001-01-rep-01.png, PdfBoxImage_0.png, PdfBoxImage_1.png, pdfbox-1809.pdf-1.png
>
>
> 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.1.5#6160)