pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zss_503@163.com" <zss_...@163.com>
Subject Hi,I have a problem on use pdfbox!
Date Wed, 24 Aug 2016 11:13:44 GMT
Hi,I have a problem!

八月 24, 2016 7:12:10 下午 org.apache.pdfbox.pdmodel.font.PDCIDFontType2 <init>

警告: Could not read embedded TTF for font FPWCGE+SimSun 
java.io.IOException: glyf is mandatory 
at org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:211) 
at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:150) 
at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:106) 
at org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:111) 
at org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:70) 
at org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:125)

at org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:128) 
at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:83) 
at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:123) 
at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60)

at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)

at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)

at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446)

at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149) 
at org.apache.pdfbox.text.PDFTextStreamEngine.processPage(PDFTextStreamEngine.java:136) 
at org.apache.pdfbox.text.PDFTextStripper.processPage(PDFTextStripper.java:391) 
at org.apache.pdfbox.text.PDFTextStripper.processPages(PDFTextStripper.java:319) 
at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:266) 
at org.apache.pdfbox.tools.ExtractText.startExtraction(ExtractText.java:237) 
at org.apache.pdfbox.tools.ExtractText.main(ExtractText.java:82) 
at com.example.PdfMain.main(PdfMain.java:19) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:483) 
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) 



zss_503@163.com
Mime
View raw message