Re: enumerating available fonts



On 03/18/2009 05:23 PM, Chuck Crisler wrote:
That function seems to list 'families' for a given 'font map'. But it
seems that you have to have a font map to begin.

pango_cairo_font_map_get_default().

behdad

I simply want to know
all of the fonts on the system, like open office writer.

Chuck

On Wed, 2009-03-18 at 17:16 -0400, Behdad Esfahbod wrote:
On 03/18/2009 05:14 PM, Chuck Crisler wrote:
How do I enumerate the fonts available on a system? I suspect
XListFonts() may not yield all of the nicer fonts but I haven't been
able to find anything promising in Pango.
pango_font_map_list_families()?

behdad

Thank you!
Chuck





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