You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "philip huang (Created) (JIRA)" <ji...@apache.org> on 2012/02/28 08:57:55 UTC

[jira] [Created] (PDFBOX-1238) Document stream used a undefined font resource

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
             Fix For: 1.7.0


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

        

Re: [jira] [Updated] (PDFBOX-1238) Document stream used a undefined font resource

Posted by Santosh Arakeri <sa...@gmail.com>.
Please, some body can stop this mail.
Daily I am getting filled my inbox with this.

On Tue, Feb 28, 2012 at 1:31 PM, philip huang (Updated) (JIRA) <
jira@apache.org> wrote:

>
>     [
> https://issues.apache.org/jira/browse/PDFBOX-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> philip huang updated PDFBOX-1238:
> ---------------------------------
>
>     Attachment: 5661890.PDF
>
> > 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
> >             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
>
>
>

[jira] [Updated] (PDFBOX-1238) Document stream used a undefined font resource

Posted by "philip huang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

philip huang updated PDFBOX-1238:
---------------------------------

    Attachment: 5661890.PDF
    
> 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
>             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

        

[jira] [Resolved] (PDFBOX-1238) Document stream used a undefined font resource

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ 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

       

[jira] [Updated] (PDFBOX-1238) Document stream used a undefined font resource

Posted by "philip huang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

philip huang updated PDFBOX-1238:
---------------------------------

    Attachment: screenshot-1.jpg
    
> 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
>             Fix For: 1.7.0
>
>         Attachments: 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