Tilman Hausherr created PDFBOX-3754:
---------------------------------------
Summary: Skip << >> in type1 font parser
Key: PDFBOX-3754
URL: https://issues.apache.org/jira/browse/PDFBOX-3754
Project: PDFBox
Issue Type: Bug
Components: FontBox
Affects Versions: 2.0.5
Reporter: Tilman Hausherr
Assignee: Tilman Hausherr
Fix For: 2.0.6, 3.0.0
The attached file contains this in the ASCII parts of its type1 fonts:
{code}
%!FontType1-1.0:
13 dict begin
/FontInfo 2 dict dup begin
/GlyphNames2HostCode <<
>> def
/GlyphNames2Unicode <<
>> def
end readonly def
{code}
PDFBox and (probably PDF.js) choke on the empty postscript dictionary. So I'll
add parsing of empty dictionaries.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]