Lianne Louie created PDFBOX-4936:
------------------------------------
Summary: IOException: Found Token[kind=NAME, text=put] but
expected LITERAL
Key: PDFBOX-4936
URL: https://issues.apache.org/jira/browse/PDFBOX-4936
Project: PDFBox
Issue Type: Bug
Components: FontBox
Affects Versions: 2.0.20
Reporter: Lianne Louie
When processing the attached PDF you receive the following error message:
{noformat}
2020-07-27 22:25:54.642 ERROR [http-nio-8080-exec-8][PDType1Font:273] Can't
read the embedded Type1 font ABJEHJ+Helvetica Narrow java.io.IOException: Found
Token[kind=NAME, text=put] but expected LITERAL at
org.apache.fontbox.type1.Type1Parser.read(Type1Parser.java:812)
{noformat}
This seems to be due to the embedded type1 font (Helvetica Narrow) having the
following construction:
{noformat}
0 1 255 {1 index exch /.notdef put} for
readonly def put } for
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]