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 2016/09/10 12:58:21 UTC
[jira] [Created] (PDFBOX-3491) NumberFormatException in
CFFParser.readRealNumber
Tilman Hausherr created PDFBOX-3491:
---------------------------------------
Summary: NumberFormatException in CFFParser.readRealNumber
Key: PDFBOX-3491
URL: https://issues.apache.org/jira/browse/PDFBOX-3491
Project: PDFBox
Issue Type: Bug
Components: FontBox
Affects Versions: 2.0.2, 2.0.3, 2.1.0
Reporter: Tilman Hausherr
Assignee: Tilman Hausherr
Fix For: 2.0.3, 2.1.0
{code}
Caused by: java.lang.NumberFormatException: empty String
sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1020)
java.lang.Double.valueOf(Double.java:504)
org.apache.fontbox.cff.CFFParser.readRealNumber(CFFParser.java:390)
org.apache.fontbox.cff.CFFParser.readEntry(CFFParser.java:270)
org.apache.fontbox.cff.CFFParser.readDictData(CFFParser.java:236)
org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:397)
org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141)
org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:68)
org.apache.pdfbox.pdmodel.font.PDType1CFont.<init>(PDType1CFont.java:102)
org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:60)
{code}
I've tried several things, and returning 0 resulted in the same rendering as Adobe Reader.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org