pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Kaufman <marck...@adobe.com>
Subject RE: NoSuchMethod - CFFCIDFont.getProperty
Date Tue, 12 Jul 2016 20:00:40 GMT
Ah. Good point. I missed the package header. Thanks
But the CFFCIDFont class is in org.apache.fontbox.cff.
Some miscommunication somewhere...

Marc

-----Original Message-----
From: Tilman Hausherr [mailto:THausherr@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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


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


Mime
View raw message