chardacters render

This commit is contained in:
Emanuele Trabattoni
2021-08-15 18:54:16 +02:00
parent 487054ff76
commit c34e6931eb
8 changed files with 63 additions and 50 deletions

View File

@@ -55,38 +55,11 @@
typedef struct _tFont
{
const uint8_t *table;
uint16_t Width;
uint16_t Height;
const uint16_t Width;
const uint16_t Height;
} sFONT;
//GB2312
// typedef struct // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD>ݽṹ
// {
// const char index[2]; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// const char matrix[MAX_HEIGHT_FONT*MAX_WIDTH_FONT/8+2]; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// }CH_CN;
// typedef struct
// {
// const CH_CN *table;
// uint16_t size;
// uint16_t ASCII_Width;
// uint16_t Width;
// uint16_t Height;
// }cFONT;
// extern sFONT Font24;
// extern sFONT Font20;
// extern sFONT Font16;
// extern sFONT Font12;
// extern sFONT Font8;
// extern cFONT Font12CN;
// extern cFONT Font24CN;
#ifdef __cplusplus
}
#endif