Re: pango and Type 1 FontName

On 09/23/2009 11:07 AM, Allin Cottrell wrote:

I wonder, is there a way to get hold of the FontName for a Type 1
font, given the family name as returned by a user's selection of a
font in the GTK font selector?

E.g. the user selects "Bodoni MT" and we want to map this to the
FontName in the afm file, "BodoniMT", for the benefit of a
traditional PostScript-oriented application.  (Simply removing
spaces would work in this case but I'm not sure if it would work
in general.)

Or if this is not something pango handles, might fontconfig do the

At this time neither pango nor fontconfig does that. Though there are plans for fontconfig to expose Postscript family name in the future.



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