ser*_*gej 5 command-line fonts unicode ubuntu-font-family .ttf
使用命令行,如何检查*.ttf
文件是否包含某个字符?
我想知道字体文件是否Ubuntu-R.ttf
包含U+2007
(FIGURE SPACE) 字符。
hb-shape /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf `echo -ne "\u2007"`
Run Code Online (Sandbox Code Playgroud)
返回:
[space=0+231]
Run Code Online (Sandbox Code Playgroud)
所以字符被定义