如何使用C或C获得在Linux上安装的True Type字体列表++? [英] How to get a list of installed True Type Fonts on Linux using C or C++?

查看:196
本文介绍了如何使用C或C获得在Linux上安装的True Type字体列表++?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序如何获得True Type字体可用在Linux上的列表。

How can my app get a list of the True Type Fonts that are available on Linux.

有没有在那里它们被存储在不同的分布的标准目录?或其他一些标准的方式来找到他们?

Is there a standard directory where they are stored across different distributions? Or some other standard way to locate them?

推荐答案

我觉得fontconfig的是做正确的方式。拿上维基百科文章或的的fontconfig的主页

I think fontconfig is the right way to do it. Take a look on the wikipedia article or the fontconfig hompage.

这篇关于如何使用C或C获得在Linux上安装的True Type字体列表++?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆