[Fontconfig] Re: fc-glyphname bug

James Cloos cloos at jhcloos.com
Wed Mar 7 15:16:24 PST 2007

>>>>> "Keith" == Keith Packard <keithp at keithp.com> writes:

>> That said, should FC_GLYPHNAME_MAXLEN be only as long as the
>> longest name processed by fc-glyphname when fc is built?  Or should
>> it be long enough to handle any valid PostScript glyph name?
>> (Which is 127 according to the PLRM.)

Keith> It doesn't need to be any longer -- the only use of this
Keith> constant is in relation to the built-in list of glyph names, so
Keith> names longer than this will never be useful.

It gets used by fcfreetype.c in FcFreeTypeCharSetAndSpacing(), which
is being called by fc-cache(1) when hitting s050000l.pfb.

James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

More information about the Fontconfig mailing list