Cross platform way to get a list of availble fonts
I'm using Pango and Cairo. Is there a simple way to get a list of available f开发者_JS百科onts? I'm willing to use another library, provided the solution is fairly simple.
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.
精彩评论