Hi,
Am 12.07.2016 um 14:18 schrieb Thomas Letsch:
Hi,
I am reading a PDF file with an embedded type1 font. I am getting an
IOException during parsing of the PDF (I removed the name of the font
for legal reasons):
Why not, is it a secret font?
PDType1Font [ERROR] Can't read the embedded Type1 font <name removed>
java.io.IOException: Found Token[kind=START_ARRAY, text=[] but expected
INTEGER
Unfortunately I cannot send you the PDF, but I can send you an extract
with the (hopefully) interesting parts.
I doesn't help. We need the font itself as the parser throws the exception when
reading the font.
BTW, what PDFBox version are you using?
BR
Andreas
Thanks a lot!
Thomas
/FontFile 23 0 R
/FontName /<name removed>
/FontBBox [ 0 -221 932 886 ]
/StemV 0
/ItalicAngle 0
/Flags 32800
/CapHeight 770
/Descent -229
/Ascent 770
/Type /FontDescriptor
endobj
26 0 obj
<<
/Filter /FlateDecode
/Length 25 0 R
stream
...
endstream
endobj
25 0 obj
467
endobj
27 0 obj
<<
/Type /Font
/ToUnicode 26 0 R
/BaseFont /<name removed>
/Encoding <<
/Type /Encoding
/Differences [ 32 /space /exclam 44 /comma /hyphen 48 /zero 50 /two
/three 53 /five 55 /seven 58 /colon 65 /A /B /C /D /E /F /G /H /I /J
/K /L /M /N /O /P 82 /R /S /T /U /V /W 90 /Z 97 /a /b /c /d /e /f /g
/h /i 107 /k /l /m /n /o 114 /r /s /t /u 122 /z 128 /Adieresis 134
/Udieresis 159 /udieresis ]
/FontDescriptor 24 0 R
/Subtype /Type1
/Name /Fnt_0_0
/Widths [ <widths removed> ]
/LastChar 255
/FirstChar 0
endobj
29 0 obj
<<
/Filter /FlateDecode
/Length 28 0 R
/Length3 532
/Length2 5382
/Length1 2350
stream
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]