pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkühler (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (PDFBOX-1238) Document stream used a undefined font resource
Date Sun, 13 May 2012 09:54:49 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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

    Resolution: Fixed
      Assignee: Andreas Lehmkühler

You should use the new non sequential parser as the document was update/modified, see PDFBOX-1199
for further details.
                
> Document stream used a undefined font resource 
> -----------------------------------------------
>
>                 Key: PDFBOX-1238
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1238
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing, PDFReader, PDModel, Text extraction
>    Affects Versions: 1.6.0, 1.7.0
>         Environment: JDK 1.5, Eclipse 3.X
>            Reporter: philip huang
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.7.0
>
>         Attachments: 5661890.PDF, screenshot-1.jpg
>
>
> I can not find the font (F3) in resouces, but the content stream included the follow
script
> BT /F3 8 Tf ET q BT /F3 8 Tf 0 0 0.6275 rg 0 0 0.6275 RG 1 0 0 1 1 5.89 Tm 8 TL (www.global-reports.com)Tj
()'
> ET Q 
> and then, some exceptions are threw.
> 15:25:19,985 WARN  [PDFStreamEngine] java.io.IOException: Error: Could not find font(COSName{F3})
in map={F2=org.apache.pdfbox.pdmodel.font.PDType1Font@18f5824}
> java.io.IOException: Error: Could not find font(COSName{F3}) in map={F2=org.apache.pdfbox.pdmodel.font.PDType1Font@18f5824}
> 	at org.apache.pdfbox.util.operator.SetTextFont.process(SetTextFont.java:57)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:553)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:270)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:237)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:217)
> 15:25:19,985 WARN  [PDFStreamEngine] java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:357)
> 	at org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:45)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:553)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:270)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:237)
> 	at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:217)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message