You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/04/12 17:07:41 UTC

[jira] [Created] (PDFBOX-3754) Skip << >> in type1 font parser

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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org