I'm using Pango and Cairo. Is there a simple way to get a list of available fonts? I'm willing to use another library, provided the solution is fairly simple.
A:
Pango has a set of font functions, to get a list of fonts, I needed to get pango_font_map_list_families then use pango_font_family_list_faces to get individual face information, although that is more than I need in this case.
WarWeasle
2010-06-21 13:22:04