freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] loading fonts with signature 'OTTO'


From: Graham Asher
Subject: Re: [ft-devel] loading fonts with signature 'OTTO'
Date: Tue, 09 Mar 2010 14:44:49 +0000
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Thanks for the help, guys. Yes, it does work after all.

Being assured that fonts of this type are supported made me keep trying, and I discovered that the problem was trivial: I had disabled loading of the psnames module, by commenting out FT_CONFIG_OPTION_POSTSCRIPT_NAMES. Although there's a debug-only message saying you need that module to load CFF fonts, the actual error code implies that the format is unrecognised, causing some confusion. What we need somewhere on the FreeType web site is a list of font formats and the modules needed to load them; together with any gotchas like this one (it's a gotcha because you have to enable the psnames module both in ft_module.h and by having the right config option macro defined).

Graham


James Cloos wrote:
"Graham" == Graham Asher <address@hidden> writes:

Graham> What we have here is a CFF font packaged inside something else,
Graham> I think.

Yes, CFF inside a SFNT container; what the public know as otf fonts.

When Werner added docs/formats.txt in 2004, ft already supported OTTO,
and that was between 2.1.8 and 2.1.9.

It is possible that the font is CID-encoded and that might explain why
you are having difficulties with it.

Other the freetype, you might want to see what the otfinfo(1) tool in
http://www.lcdf.org/type/lcdf-typetools-2.82.tar.gz has to say about it.

-JimC





reply via email to

[Prev in Thread] Current Thread [Next in Thread]