You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Sebastian Ortiz V (JIRA)" <ji...@apache.org> on 2009/06/01 02:17:07 UTC
[jira] Updated: (PDFBOX-478) PDFToImage don't render text in iText
generated PDF
[ https://issues.apache.org/jira/browse/PDFBOX-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Ortiz V updated PDFBOX-478:
-------------------------------------
Attachment: report_anexo3_664adeed-4d27-4d14-932b-2ac04afe4d271.jpg
report_anexo3_664adeed-4d27-4d14-932b-2ac04afe4d27.pdf
This a sample file to convert and the output generated by pdfbox.
The file was modified by using iText.
> 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
>
> Attachments: report_anexo3_664adeed-4d27-4d14-932b-2ac04afe4d27.pdf, report_anexo3_664adeed-4d27-4d14-932b-2ac04afe4d271.jpg
>
> 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.