📄 fonts.h
字号:
#ifndef _FONTS_H
#define _FONTS_H
struct FONT_DEF
{
unsigned char store_width; /* glyph storage width in bytes */
unsigned char glyph_height; /* glyph height for storage */
unsigned char *glyph_table; /* font table start address in memory */
unsigned char fixed_width; /* fixed width of glyphs. If zero */
/* then use the width table. */
unsigned char *width_table; /* variable width table start adress */
};
/* define the range if characters in the font tables */
#define ASCII_BOT 0x20
#define ASCII_TOP 0x7E
/* font definition tables for the three fonts */
extern struct FONT_DEF fonts[];
/* glyph bitmap tables for the three fonts */
extern unsigned char normal_glyph_table[];
extern unsigned char bold_glyph_table[];
extern unsigned char bigbold_glyph_table[];
/* width tables for the two small fonts */
extern unsigned char normal_width_table[];
extern unsigned char bold_width_table[];
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -