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 2014/07/19 14:50:38 UTC

[jira] [Updated] (PDFBOX-2227) java.io.IOException: Found Token[kind=NAME, text= ] but expected LITERAL for type1 font

     [ https://issues.apache.org/jira/browse/PDFBOX-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-2227:
------------------------------------

    Attachment: 1405774069273.txt

File with the font - the problem line is
{code}
dup 8#40   /space   put %032 space
{code}


> java.io.IOException: Found Token[kind=NAME, text= ] but expected LITERAL for type1 font
> ---------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-2227
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2227
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>              Labels: type1font
>         Attachments: 1405774069273.txt
>
>
> [~ssteiner1] reports an exception with the file from PDFBOX-1084:
> {code}
> java.io.IOException: Found Token[kind=NAME, text=#40] but expected LITERAL at 2354
> 	at org.apache.fontbox.type1.Type1Parser.read(Type1Parser.java:737)
> 	at org.apache.fontbox.type1.Type1Parser.parseASCII(Type1Parser.java:159)
> 	at org.apache.fontbox.type1.Type1Parser.parse(Type1Parser.java:61)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)