[
https://issues.apache.org/jira/browse/PDFBOX-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714904#action_12714904
]
Andreas Lehmkühler commented on PDFBOX-478:
-------------------------------------------
I've tried to display the pdf with org.apache.pdfbox-PDFReader and to cenvert
it to a jpg with org.apache.pdfbox.PDFToImage and both works fine.
Perhaps the issue is located in your implemtation. Please have a look at
org.apache.pdfbox.util.PDFImageWriter.WriteImage(..) as an example.
> PDFToImage don't render text in iText generated PDF
> -----------------------------------------------------
>
> Key: PDFBOX-478
> URL: https://issues.apache.org/jira/browse/PDFBOX-478
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Environment: Ubuntu 8.10 with resticted fonts extras, jdk 1.6.0.7,
> itext 2.1.4
> Reporter: Sebastian Ortiz V
> Fix For: 0.8.0-incubator
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When try to PDFToImage a pdf with text added with the iText library, the
> result image don't contain the text.
> I debugged a little the pdfbox, and found that the text is extracted well in
> the class org/apache/pdfbox/pdmodel/font/PDType1Font.java the String is
> drawed in the graphics as should be ( i think so )
> If i write the BufferedImage in PDPage convertToImage() the image don't
> contains anything. i belive the issue is that the graphics objects where the
> PDType1Font1 draws the string is not the "same", or something related.
> a PDF to test can be found at
> http://itext.ugent.be/library/com/lowagie/examples/general/HelloWorldPdf.pdf
> Thanks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.