pango and Type 1 FontName




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

Thanks.

-- 
Allin Cottrell
Department of Economics
Wake Forest University




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