You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "chao (Jira)" <ji...@apache.org> on 2021/04/01 03:23:00 UTC

[jira] [Created] (PDFBOX-5146) name for 'gs' operator not found in resources: /GS9

chao created PDFBOX-5146:
----------------------------

             Summary: name for 'gs' operator not found in resources: /GS9
                 Key: PDFBOX-5146
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5146
             Project: PDFBox
          Issue Type: Bug
          Components: Text extraction
    Affects Versions: 2.0.22
         Environment: jdk 1.8 pdf box 2.0.22
            Reporter: chao
         Attachments: 1617246792(1).jpg, demopdf.pdf

*Hello, excuse me*

*i have some problem with pdfbox2.0.22.*

*1.when i Identify some pdf , console alter many error.*

*2.some pdf ,console alter  miss  mstmc.ttf.  my develop env is window 10*

thanks for you help !!!

code eg:

InputStream inputStream = new FileInputStream(new File("xxxxxxx.pdf"));

BodyContentHandler handler = new BodyContentHandler(Integer.MAX_VALUE);
Metadata metadata = new Metadata();
ParseContext parseContext = new ParseContext();
PDFParser parser = new PDFParser();
parser.parse(inputStream, handler, metadata, parseContext);

 

pom.xml  eg:

<dependency>
 <groupId>org.apache.pdfbox</groupId>
 <artifactId>pdfbox</artifactId>
 <version>2.0.22</version>
</dependency>
<dependency>
 <groupId>org.apache.pdfbox</groupId>
 <artifactId>pdfbox-tools</artifactId>
 <version>2.0.22</version>
</dependency>
<dependency>
 <groupId>org.apache.pdfbox</groupId>
 <artifactId>fontbox</artifactId>
 <version>2.0.22</version>
</dependency>

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org