[
https://issues.apache.org/jira/browse/PDFBOX-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067508#comment-14067508
]
Tilman Hausherr edited comment on PDFBOX-2227 at 7/19/14 1:18 PM:
------------------------------------------------------------------
File with the font - the problem line is
{code}
dup 8#40 /space put %032 space
{code}
This is a PostScript radix number:
{quote}
A radix number takes the form base#number, where base is a decimal integer in
the range 2 through 36. number is interpreted in this base; it must consist of
digits
ranging from 0 to base - 1. Digits greater than 9 are represented by the
letters A
through Z (or a through z). The number is treated as an unsigned integer and is
converted to an integer object having the same twos-complement binary
representation.
{quote}
was (Author: tilman):
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
> Assignee: 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)