File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ $ python fontlib.py
70
70
71
71
``` docs
72
72
HZK Info: .//client/combined.bin
73
- file size : 303520
73
+ file size : 261972
74
74
font height : 16
75
75
data size : 32
76
- scan mode : Horizontal
76
+ scan mode : Vertical
77
77
byte order : LSB
78
- characters : 8932
78
+ characters : 7710
79
79
80
80
!: b'\x00\x00\x00\x00\x00\x00\x08\x00\x0c\x00\x08\x00\x08\x00\x08\x00\x08\x00\x08\x00\x08\x00\x08\x00\x00\x00\x08\x00\x08\x00\x00\x00'
81
81
@@ -229,15 +229,21 @@ $ ab abconfig-mpy
229
229
230
230
方法参见 [ 使用图标字体生成字库] ( ./ICONFONT.md )
231
231
232
+ ### 选取其它语种字符的方法
233
+
234
+ ` GB2312 ` 收录了包括拉丁字母、希腊字母、日文平假名及片假名字母、俄语西里尔字母在内的 682 个全角字符
235
+
236
+ 可以用键盘输入它们,但是并不一定简单,好在我们还可以从 [ GB2312简体中文编码表] ( http://tools.jb51.net/table/gb2312 ) 页面中直接查看复制它们
237
+
232
238
### 关于速度
233
239
234
240
> 以当前字库文件举例:
235
241
> * 文件名:` combined.bin `
236
- > * 文件大小:` 303,520 ` 字节
242
+ > * 文件大小:` 261,972 ` 字节
237
243
> * ` GB2312 ` 索引表大小:` 17,672 ` 字节
238
244
> * 点阵大小:` 16x16 ` 像素
239
245
> * 字符数据大小:` 32 ` 字节
240
- > * 字符总数:` 8932 ` 个(包含` ASCII ` 和` GB2312 ` )
246
+ > * 字符总数:` 7710 ` 个(包含` ASCII ` 和` GB2312 ` )
241
247
242
248
243
249
* 实例化` FontLib ` 时打开字库文件,读取文件头信息,大约 12 ms
You can’t perform that action at this time.
0 commit comments