[Fontconfig] Caching Postscript names
Keith Packard
keithp at keithp.com
Tue Jun 3 12:28:59 PDT 2008
On Tue, 2008-06-03 at 12:18 -0400, Isaiah Beerbower wrote:
> I am working on GNUstep's (http://www.gnustep.org/) font support. One
> of GNUstep's goals is to implement the OpenStep specification
> (http://www.gnustep.org/resources/OpenStepSpec.pdf.gz). Fontconfig is
> already being used by GNUstep, however, in order to properly implement
> the OpenStep standard the Postscript name should be used to uniquely
> reference a font. Right now GNUstep is using the full font name,
> however, it would be better if the Postscript name was cached so that
> it could be used instead. So my final question is: what are the pros
> and cons to adding the Postscript name to the properties which
> Fontconfig caches?
>
> I've included a patch (below) which adds the functionality.
That seems fine, however note that this won't let you search for fonts
by postscript name. If you want to do that, you can modify the font
matching code to look for postscript names in the pattern.
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20080603/2732cc1c/attachment.pgp
More information about the Fontconfig
mailing list