You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2009/06/15 11:19:07 UTC

[jira] Resolved: (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 ]

Andreas Lehmkühler resolved PDFBOX-478.
---------------------------------------

    Resolution: Fixed

I've found a work around for your problem. You have to deactivate the clipping operators (see PageDrawer.properties in the Resources directory) and everything works fine. Obviously the added formular text is somehow overwritten, if clipping is active.

Because of some other sideffects I've created a new issue (PDFBOX-483) for the clipping part and will close this issue as resolved.

> 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.