106 lines
1.4 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __FONT_H
#define __FONT_H
/*******************************************************************************/
//DevEBox 大越创新
//淘宝店铺mcudev.taobao.com
//淘宝店铺shop389957290.taobao.com
/*******************************************************************************/
extern const unsigned char asc2_1206[95][12]; //12*12 ASCII字符集点阵
extern const unsigned char asc2_1608[95][16]; //16*16 ASCII字符集点阵
extern const unsigned char asc2_2412[95][36]; //24*24 ASICII字符集点阵
//定义字库存储划分
struct typFNT_GB16
{
unsigned char Index[2];
unsigned char Msk[32];
};
#define USE_ONCHIP_FLASH_FONT 1 //定义是否开启片上字库
//宋体5号
#define hz16_num 56 //此处用于设定字库汉字字符的存储汉字的个数,如果添加或者减少字符,需要这里也对应修改
//电子科技液晶测试程序颜色填充文字显示图片触摸输入全程技术支持专注批发成功
extern const struct typFNT_GB16 hz16[];
//定义字库存储划分
struct typFNT_GB24
{
unsigned char Index[2];
unsigned char Msk[72];
};
#define hz24_num 9 //此处用于设定字库汉字字符的存储汉字的个数,如果添加或者减少字符,需要这里也对应修改
extern const struct typFNT_GB24 hz24[];
#endif
/*******************************************************************************/
//DevEBox 大越创新
//淘宝店铺mcudev.taobao.com
//淘宝店铺shop389957290.taobao.com
/*******************************************************************************/