[
https://issues.apache.org/jira/browse/PDFBOX-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Don Jensen updated PDFBOX-1809:
-------------------------------
Description:
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"));
}
was:When converting a PDF Page to image PDPage,convertToImage. Some fonts
are not transferring to the bufferedImage canvas.
> 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
> Attachments: 01-0001-01-REP.pdf, PdfBoxImage_0.png, PdfBoxImage_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.4#6159)