本帖最后由 niuyaliang 于 2014-4-11 22:10 编辑
然后定义一个结构体变量的汉字字膜数组
“确”对应Index[2],32个字节对应Mask[32]
struct typFNT_GB const GB1616[] =
{ // 实际大小为14*14取膜,添加为16*16
"确",0x00,0x00,0x00,0x80,0x00,0xF8,0x7D,0x08,0x12,0x10,0x11,0xFC,0x21,0x24,0x3D,0x24,
0x65,0xFC,0x25,0x24,0x25,0x24,0x25,0xFC,0x3D,0x24,0x21,0x24,0x02,0x0C,0x00,0x00,/*"确",0*/
}
|