xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Steiner" <simonsteiner1...@gmail.com>
Subject RE: NoSuchMethod - CFFCIDFont.getProperty
Date Tue, 12 Jul 2016 20:27:47 GMT
Hi,

 

What fop version, maybe you have wrong version of fontbox jar?

 

Thanks

 

From: Marc Kaufman [mailto:marckauf@adobe.com] 
Sent: 12 July 2016 21:05
To: fop-users@xmlgraphics.apache.org
Subject: NoSuchMethod - CFFCIDFont.getProperty

 

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 org.apache.fontbox.cff.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    

 


Mime
View raw message