const unsigned char FONT24x32[][96] = {
/* 0 */
{
________,_XXXXXXX,________,
_______X,XXXXXXXX,XX______,
______XX,XXXXXXXX,XXX_____,
_____XXX,XXXXXXXX,XXXX____,
____XXXX,XXX___XX,XXXXX___,
____XXXX,X_______,XXXXX___,
___XXXXX,________,_XXXXX__,
___XXXXX,________,_XXXXX__,
___XXXXX,________,_XXXXX__,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
__XXXXX_,________,__XXXXX_,
___XXXXX,________,_XXXXX__,
___XXXXX,________,_XXXXX__,
___XXXXX,________,_XXXXX__,
____XXXX,X_______,XXXXX___,
____XXXX,XXX___XX,XXXXX___,
_____XXX,XXXXXXXX,XXXX____,
______XX,XXXXXXXX,XXX_____,
_______X,XXXXXXXX,XX______,
________,_XXXXXXX,________}
, {...} //其他省略
};
我看见ucGUI的字体都是类似这样定义的,实在看不懂这是怎样的数组,该数组元素内的每一个字节,都是由下划线_和X组成?
比如第一行中间的字节为 _XXXXXXX ? 这哪里是有效的数据啊…… 我的理解是写成0x7F那还差不多
哪位朋友帮忙解释下,谢谢了!
|