字體計數軟件,此軟件以統一碼區塊與漢字編碼標準統計字體內的漢字數量,目前只提供Windows版本,基于使用了tkinter模塊,此軟件只限個人使用而已,.spec文件可使用pyinstaller以編譯軟件。
軟件介紹
此軟件可計算一套字體內的漢字數量,目前只限OpenType/TrueType單字體文件而已。導入字體時,軟件將從cmap表(儲存字體內(十進制)統一碼與字符對應的表)提取漢字列表,然后以該列表依統一碼區塊(比對十六進制碼位)與漢字編碼標準(比對 .txt文件)統計字體內的漢字數量。
功能介紹
支援的編碼標準/漢字表;
GB/T 2312;
GB/T 12345;
GBK;
*Note: Private Use Area (PUA) characters are removed and not counted, resulting in 20923 characters. 注:不計算私用區(PUA)字符,共計20923字。
GB 18030;
*Note: Mandatory section are counted only. According to GB 18030, mandatory section of a font is all CJK characters in the Basic Multilingual Plane e.g. CJK Unified Ideographs and CJK Unified Ideographs Extension A. 注:只計算強制性標準部分。依據GB 18030,字體內強制需要支援的字符范圍應該是基本多文種平面(BMP)內的所有漢字,即中日韓統一表意文字與中日韓統一表意文字擴展A區。
Table of General Standard Chinese Characters/通用規范漢字表;
3500 Commonly Used Chinese Characters/3500字常用漢字表;
*Note: Official name is Xiandai Hanyu Changyong Zibiao. May be renamed in future version. 注:官方文檔名為《現代漢語常用字表》。未來可能會更換名稱。
臺 灣教育部常用字表;
臺 灣教育部次常用字表;
*Note: Source file from Chinese Useful ToolKit by Watermelonnn. 注:字表來源為Watermelonnn Chinese Useful ToolKit。
Big5/五大碼;
Hong Kong Supplementary Character Set (HKSCS)/香港增補字符集。