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注意:輸出將很長。