Am 12.07.2016 um 22:00 schrieb Marc Kaufman:
Ah. Good point. I missed the package header. Thanks
But the CFFCIDFont class is in org.apache.fontbox.cff.
Some miscommunication somewhere...

Still don't know what we could do. If a class external to PDFBox calls a method in PDFBox that doesn't exist, what should we do?

Tilman


Marc

-----Original Message-----
From: Tilman Hausherr [mailto:thaush...@t-online.de]
Sent: Tuesday, July 12, 2016 12:57 PM
To: users@pdfbox.apache.org
Subject: Re: NoSuchMethod - CFFCIDFont.getProperty

I suspect you wanted to post on a FOP mailing list. PDFBox doesn't have a file 
OTFFile.java.

Tilman

Am 12.07.2016 um 21:53 schrieb Marc Kaufman:
I'm trying to use an Adobe CFF font (KozGoPr6N-Regular.otf). During the font 
loading I get to:
OTFFile.readName() line 34: Object familyName =
fileFont.getProperty("FamilyName");
But fileFont is a CFFCIDFont, and there is no such method "getProperty".
Stack:
OTFFile.readName() line: 134
OTFFile(OpenFont).readFont(FontFileReader, String, String) line: 740
OFFontLoader.read(String) line: 109
OFFontLoader.read() line: 93
OFFontLoader(FontLoader).getFont() line: 124
FontLoader.loadFont(FontUris, String, boolean, EmbeddingMode,
EncodingMode, boolean, boolean, InternalResourceResolver) line: 108



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to