unicover
1.0.0
Unicover是一个简单的命令行工具,显示有关系统字体Unicode覆盖的信息。它应该在使用FontConfig(Linux和其他类似Unix)的系统上使用。
依赖项:Python-FontConfig,freetype-py。
在大多数情况下,发出以下命令就足够了:
pip3 install --user UniCover如果您从Python FontConfig库中获得错误,请尝试首先安装其标头文件,例如。对于Debian或Ubuntu:
sudo apt install libfontconfig1-dev显示所有包含的字体family或字体文件的字符
返回由Unicode块分组的字符列表。
unicover -f ' Liberation Sans '
unicover -f /usr/share/fonts/TTF/LiberationSans-Bold.ttf
unicover -f ' Liberation Sans ' -g # lists only Unicode blocks
unicover -f ' Liberation Sans ' -o # omits summary line (total number of characters)您可以使用FontConfig发现系统中安装了哪些字体:
fc-list : family # lists font families
fc-list : file family # lists font files with families they belong to列出所有包含指定字符的系统字体
unicover -c ₹
unicover -c 54f6
unicover -c ₹ -g # lists only font families
unicover -c ₹ -o # omits summary line (total number of fonts)显示系统字体支持的所有Unicode块
unicover -g列出系统字体支持的所有字符
unicover -l
unicover -gl # group characters by Unicode block注意:输出将很长。