简体   繁体   中英

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 fonts? I'm willing to use another library, provided the solution is fairly simple.

Pango具有一组字体功能,要获取字体列表,我需要获取pango_font_map_list_families,然后使用pango_font_family_list_faces获取个人面部信息,尽管在这种情况下,这比我需要的更多。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM