pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Hi,I have a problem on use pdfbox!
Date Wed, 24 Aug 2016 16:31:21 GMT
Am 24.08.2016 um 16:56 schrieb Diego Azevedo:
> Can you tell us:
>
>     - what you are doing (commented piece of code may help)
>     - what version of pdfbox you're using
>     - a URL where we can get a pdf where this error occurs? (atachments will
>     be blocked on the server)

I have the PDF, as a moderator :-)


to zss_503@163.com:

For the future, please consider this: a perfect support request has 
always 3 parts:
- what you were doing
- what you were expecting to happen
- what happened instead

Tilman


>
>
>
> On Wed, Aug 24, 2016 at 11:19 AM, John Hewson <john@jahewson.com> wrote:
>
>>> On 24 Aug 2016, at 04:13, "zss_503@163.com" <zss_503@163.com> wrote:
>>>
>>> Hi,I have a problem!
>> What's the problem?
>>
>> -- John
>>
>>> 八月 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
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>>> For additional commands, e-mail: users-help@pdfbox.apache.org



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


Mime
View raw message