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 21:19:18 GMT
Turns out fop 2.1 needs fontbox 1.8

Marc

-----Original Message-----
From: Marc Kaufman [mailto:marckauf@adobe.com] 
Sent: Tuesday, July 12, 2016 1:28 PM
To: users@pdfbox.apache.org
Subject: RE: NoSuchMethod - CFFCIDFont.getProperty

I've opened a conversation on the fop mailing list. I think it's partially that fop doesn't
do a very good job with .otf fonts, yet.

Marc

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

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: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
>


---------------------------------------------------------------------
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


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


Mime
View raw message