[
https://issues.apache.org/jira/browse/PDFBOX-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966232#comment-15966232
]
ASF subversion and git services commented on PDFBOX-3754:
---------------------------------------------------------
Commit 1791157 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1791157 ]
PDFBOX-3754: parse empty dictionary
> 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
> Labels: type1font
> Fix For: 2.0.6, 3.0.0
>
> Attachments: PDFJS-7769.pdf
>
>
> 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]