LxgwWenKai
LxgwWenKai copied to clipboard
cmap 似乎损坏了
使用python程序使用该字体是需要查询cmap来检查是否支持某个字符,但是检测时发现cmap损坏了,程序一直运行错误。 下面的程序结果验证了cmap的损坏情况:
$ python -m ots LXGWWenKai-Regular.ttf
ERROR: cmap: Failed to read segment start range 441
ERROR: cmap: Failed to parse format 4 cmap subtable 0
ERROR: cmap: Failed to parse table
Failed to sanitize file!