STM32CubeMX-Keil_uVision5/FinalHomework/Core/Inc/GB3232.h

112 lines
7.3 KiB
C
Raw Permalink Normal View History

2025-01-07 14:57:25 +08:00
// ------------------ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD>ݽṹ<DDBD><E1B9B9><EFBFBD><EFBFBD> ------------------------ //
//struct typFNT_GB32 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD>ݽṹ
//{
// unsigned char Index[3]; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// unsigned char Msk[128]; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//};
typedef struct
{
unsigned char Index[2];
char Msk[128];
}typFNT_GB32;
/////////////////////////////////////////////////////////////////////////
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3> //
// <20><><EFBFBD>ֿ<EFBFBD>: <20><><EFBFBD><EFBFBD>32.dot,<2C><><EFBFBD><EFBFBD>ȡģ<C8A1><C4A3><EFBFBD><EFBFBD>λ,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҵ<EFBFBD><D2B4>ϵ<EFBFBD><CFB5><EFBFBD> //
// ȡģ<C8A1><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˳<EFBFBD><CBB3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡģ<C8A1><C4A3>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ
/////////////////////////////////////////////////////////////////////////
const typFNT_GB32 code codeGB_32[] = // <20><><EFBFBD>ݱ<EFBFBD>
{
"<EFBFBD><EFBFBD>",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x80,0x00,0x00,
0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,
0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,
0x03,0x00,0xC0,0x00,0x03,0xFF,0xE0,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,
0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,
0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,
0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x18,0x3F,
0xFF,0xFF,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"<22><>",0*/
"<EFBFBD><EFBFBD>",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x08,0x07,0x00,0x00,
0x04,0x06,0x00,0x00,0x06,0x04,0x00,0x20,0x03,0x0F,0xFF,0xF0,0x02,0x0C,0x00,0x00,
0x00,0x18,0x00,0x00,0x40,0x98,0x00,0x00,0x20,0xBF,0xFF,0xC0,0x30,0xAC,0x00,0xC0,
0x19,0x4C,0x40,0x80,0x19,0x0C,0x60,0x80,0x01,0x0C,0x30,0x80,0x01,0x08,0x30,0x80,
0x02,0x18,0x00,0x88,0x03,0xFF,0xFF,0xFC,0x02,0x18,0x81,0x80,0x04,0x18,0x41,0x80,
0x04,0x18,0x61,0x80,0x0C,0x10,0x21,0x80,0x3C,0x30,0x21,0x80,0x0C,0x30,0x01,0x88,
0x08,0x7F,0xFF,0xFC,0x08,0x20,0x01,0x80,0x18,0x00,0x01,0x80,0x18,0x00,0x41,0x00,
0x1C,0x00,0x3F,0x00,0x0C,0x00,0x0F,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,/*"<22><>",1*/
"<EFBFBD><EFBFBD>",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x00,0x00,0xE0,0x30,0x00,
0x00,0xC0,0x18,0x00,0x00,0xC0,0x18,0x00,0x01,0x80,0x18,0x10,0x01,0xBF,0xFF,0xF8,
0x01,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x07,0x80,0x00,0x60,
0x07,0x07,0xFF,0xF0,0x0F,0x00,0x00,0x00,0x0B,0x00,0x00,0x00,0x13,0x00,0x00,0x60,
0x23,0x0F,0xFF,0xF0,0x43,0x00,0x00,0x00,0x43,0x00,0x00,0x00,0x03,0x00,0x00,0x00,
0x03,0x06,0x00,0x60,0x03,0x07,0xFF,0xE0,0x03,0x06,0x00,0x60,0x03,0x06,0x00,0x60,
0x03,0x06,0x00,0x60,0x03,0x06,0x00,0x60,0x03,0x06,0x00,0x60,0x03,0x07,0xFF,0xE0,
0x03,0x06,0x00,0x60,0x03,0x06,0x00,0x60,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"<22><>",4*/
"Ϣ",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,
0x00,0x04,0x01,0x00,0x00,0xFF,0xFF,0xC0,0x00,0xC0,0x01,0x80,0x00,0xC0,0x01,0x80,
0x00,0xC0,0x01,0x80,0x00,0xFF,0xFF,0x80,0x00,0xC0,0x01,0x80,0x00,0xC0,0x01,0x80,
0x00,0xC0,0x01,0x80,0x00,0xFF,0xFF,0x80,0x00,0xC0,0x01,0x80,0x00,0xC0,0x01,0x80,
0x00,0xC0,0x01,0x80,0x00,0xC0,0x01,0x80,0x00,0xFF,0xFF,0x80,0x00,0x82,0x00,0x00,
0x00,0x01,0x80,0x00,0x00,0x21,0xC0,0x00,0x02,0x30,0xC0,0x40,0x02,0x30,0xC2,0x30,
0x06,0x30,0x02,0x38,0x04,0x30,0x02,0x1C,0x0C,0x30,0x02,0x1C,0x1C,0x30,0x03,0x08,
0x10,0x3F,0xFF,0x00,0x00,0x1F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"Ϣ",5*/
"<EFBFBD><EFBFBD>",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x08,0x00,0x01,0xC0,0x0E,0x00,
0x01,0x80,0x0C,0x00,0x01,0x80,0x0C,0x00,0x01,0x80,0x0C,0x00,0x01,0x80,0x0C,0x00,
0x01,0x98,0x0C,0x18,0x3F,0xFF,0xFF,0xFC,0x01,0x80,0x0C,0x00,0x01,0x80,0x0C,0x00,
0x01,0x80,0x0C,0x00,0x01,0x80,0x0C,0x00,0x01,0x8C,0x0C,0x20,0x01,0xB3,0xFF,0xF0,
0x01,0xC0,0x80,0x60,0x0F,0x80,0x80,0x60,0x3D,0x80,0x40,0xC0,0x31,0x80,0x40,0xC0,
0x01,0x80,0x21,0x80,0x01,0x80,0x21,0x80,0x01,0x80,0x33,0x00,0x01,0x80,0x1E,0x00,
0x01,0x80,0x0C,0x00,0x01,0x80,0x1E,0x00,0x01,0x80,0x37,0x00,0x01,0x80,0xE3,0xC0,
0x1F,0x83,0x80,0xF8,0x07,0x8E,0x00,0x7C,0x02,0x30,0x00,0x00,0x00,0x00,0x00,0x00,/*"<22><>",6*/
"<EFBFBD><EFBFBD>",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0xC0,0x00,
0x00,0x01,0x8C,0x00,0x00,0x01,0x87,0x00,0x00,0x01,0x83,0x80,0x00,0x01,0x81,0x80,
0x00,0x01,0x80,0x80,0x00,0x01,0x80,0x30,0x3F,0xFF,0xFF,0xF8,0x10,0x03,0xC0,0x00,
0x00,0x07,0xC0,0x00,0x00,0x07,0xA0,0x00,0x00,0x0D,0xA0,0x00,0x00,0x0D,0x90,0x00,
0x00,0x19,0x90,0x00,0x00,0x19,0x98,0x00,0x00,0x31,0x8C,0x00,0x00,0x61,0x86,0x00,
0x00,0xC1,0x87,0x00,0x00,0x81,0x83,0x80,0x01,0x81,0x81,0xC0,0x03,0x01,0x80,0xF0,
0x04,0x01,0x80,0x7C,0x08,0x01,0x80,0x38,0x10,0x01,0x80,0x10,0x60,0x01,0x80,0x00,
0x00,0x01,0x80,0x00,0x00,0x01,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,/*"<22><>",7*/
"<EFBFBD><EFBFBD>",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0xC0,0x00,
0x00,0x03,0x00,0x00,0x00,0x06,0x00,0x10,0x00,0x06,0x00,0x38,0x3F,0xFF,0xFF,0xFC,
0x00,0x0C,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x30,0x01,0x00,
0x00,0x7F,0xFF,0xC0,0x00,0x60,0x01,0x00,0x00,0xE0,0x01,0x00,0x01,0xE0,0x01,0x00,
0x03,0x60,0x01,0x00,0x06,0x7F,0xFF,0x00,0x08,0x60,0x01,0x00,0x10,0x60,0x01,0x00,
0x20,0x60,0x01,0x00,0x00,0x60,0x01,0x00,0x00,0x7F,0xFF,0x00,0x00,0x60,0x01,0x00,
0x00,0x60,0x01,0x00,0x00,0x60,0x01,0x00,0x00,0x60,0x01,0x00,0x00,0x60,0x01,0x00,
0x00,0x60,0x3F,0x00,0x00,0x60,0x0F,0x00,0x00,0x40,0x02,0x00,0x00,0x00,0x00,0x00,/*"<22><>",8*/
"<EFBFBD><EFBFBD>",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x22,0x00,0x40,
0x0F,0xF3,0xFF,0xE0,0x08,0x63,0x00,0x40,0x08,0x63,0x00,0x40,0x08,0x43,0x00,0x40,
0x08,0x43,0x00,0x40,0x08,0xC3,0x00,0x40,0x08,0x83,0xFF,0xC0,0x08,0x83,0x00,0x40,
0x09,0x03,0x00,0x40,0x08,0x83,0x00,0x40,0x08,0x43,0x00,0x40,0x08,0x63,0xFF,0xC0,
0x08,0x23,0x20,0x40,0x08,0x33,0x10,0x20,0x08,0x33,0x10,0x70,0x08,0x33,0x10,0x60,
0x08,0x33,0x19,0x80,0x08,0x33,0x0B,0x00,0x0B,0xF3,0x0C,0x00,0x08,0xE3,0x06,0x00,
0x08,0x83,0x07,0x00,0x08,0x03,0x0B,0x80,0x08,0x03,0x31,0xC0,0x08,0x03,0xC0,0xF8,
0x08,0x03,0x80,0x78,0x08,0x03,0x00,0x10,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"<22><>",9*/
"<EFBFBD><EFBFBD>",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x08,0x30,0x00,
0x00,0x0C,0x20,0x00,0x00,0x1C,0x10,0x00,0x00,0x18,0x10,0x00,0x00,0x30,0x18,0x00,
0x00,0x30,0x08,0x00,0x00,0x60,0x0C,0x00,0x00,0x60,0x04,0x00,0x00,0xC0,0x06,0x00,
0x01,0x80,0x03,0x00,0x01,0x01,0x01,0x80,0x03,0x01,0x81,0xC0,0x06,0x03,0xC0,0xF0,
0x0C,0x03,0x00,0x7C,0x10,0x07,0x00,0x30,0x20,0x06,0x00,0x00,0x00,0x0C,0x00,0x00,
0x00,0x0C,0x00,0x00,0x00,0x18,0x10,0x00,0x00,0x30,0x08,0x00,0x00,0x20,0x0C,0x00,
0x00,0x40,0x06,0x00,0x00,0x80,0x03,0x00,0x01,0x00,0x03,0x80,0x03,0xFF,0xFF,0xC0,
0x03,0xE0,0x01,0xC0,0x00,0x00,0x00,0xC0,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,/*"<22><>",10*/
"˾",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,
0x07,0xFF,0xFF,0xE0,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x60,
0x00,0x00,0x00,0x60,0x00,0x00,0x18,0x60,0x1F,0xFF,0xFC,0x60,0x00,0x00,0x00,0x60,
0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x60,0x03,0x00,0x60,0x60,0x03,0xFF,0xE0,0x60,
0x03,0x00,0x40,0x60,0x03,0x00,0x40,0x60,0x03,0x00,0x40,0x60,0x03,0x00,0x40,0x60,
0x03,0x00,0x40,0x60,0x03,0x00,0x40,0x60,0x03,0xFF,0xC0,0x60,0x03,0x00,0x40,0x60,
0x03,0x00,0x00,0x60,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x60,0x00,0x00,0x10,0x60,
0x00,0x00,0x0F,0xC0,0x00,0x00,0x01,0xC0,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,/*"˾",11*/
};