diff --git a/libraries/oleddrv/font/SongSmall5.c b/libraries/oleddrv/font/SongSmall5.c new file mode 100644 --- /dev/null +++ b/libraries/oleddrv/font/SongSmall5.c @@ -0,0 +1,305 @@ +/******************************************************************************* +* File Name : SongSmall5.c +* Author : lxyppc +* Version : V1.0 +* Date : 10-03-07 +* Description : Font data for "ËÎÌ塡СÎå" +*******************************************************************************/ + +#define SongSmall5_English_Height(ch) (12) +#define SongSmall5_English_Width(ch) (6) +const struct +{ + unsigned char data[12]; +}SongSmall5_English[0x60] = { + /* Char Code {data} */ + {/* 0x0020*/ { + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,}}, + {/* ! 0x0021*/ { + 0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00, + 0x02,0x00,0x00,0x00,}}, + {/* " 0x0022*/ { + 0x00,0x0C,0x02,0x0C,0x02,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,}}, + {/* # 0x0023*/ { + 0x90,0xD0,0xBC,0xD0,0xBC,0x90,0x00,0x03, + 0x00,0x03,0x00,0x00,}}, + {/* $ 0x0024*/ { + 0x18,0x24,0xFE,0x44,0x8C,0x00,0x03,0x02, + 0x07,0x02,0x01,0x00,}}, + {/* % 0x0025*/ { + 0x18,0x24,0xD8,0xB0,0x4C,0x80,0x00,0x03, + 0x00,0x01,0x02,0x01,}}, + {/* & 0x0026*/ { + 0xC0,0x38,0xE4,0x38,0xE0,0x00,0x01,0x02, + 0x02,0x01,0x02,0x02,}}, + {/* ' 0x0027*/ { + 0x08,0x06,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,}}, + {/* ( 0x0028*/ { + 0x00,0x00,0x00,0xF8,0x04,0x02,0x00,0x00, + 0x00,0x01,0x02,0x04,}}, + {/* ) 0x0029*/ { + 0x00,0x02,0x04,0xF8,0x00,0x00,0x00,0x04, + 0x02,0x01,0x00,0x00,}}, + {/* * 0x002A*/ { + 0x90,0x60,0xF8,0x60,0x90,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00,}}, + {/* + 0x002B*/ { + 0x20,0x20,0xFC,0x20,0x20,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00,}}, + {/* , 0x002C*/ { + 0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x06, + 0x00,0x00,0x00,0x00,}}, + {/* - 0x002D*/ { + 0x20,0x20,0x20,0x20,0x20,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,}}, + {/* . 0x002E*/ { + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, + 0x00,0x00,0x00,0x00,}}, + {/* / 0x002F*/ { + 0x00,0x80,0x60,0x1C,0x02,0x00,0x04,0x03, + 0x00,0x00,0x00,0x00,}}, + {/* 0 0x0030*/ { + 0xF8,0x04,0x04,0x04,0xF8,0x00,0x01,0x02, + 0x02,0x02,0x01,0x00,}}, + {/* 1 0x0031*/ { + 0x00,0x08,0xFC,0x00,0x00,0x00,0x00,0x02, + 0x03,0x02,0x00,0x00,}}, + {/* 2 0x0032*/ { + 0x18,0x84,0x44,0x24,0x18,0x00,0x03,0x02, + 0x02,0x02,0x02,0x00,}}, + {/* 3 0x0033*/ { + 0x08,0x04,0x24,0x24,0xD8,0x00,0x01,0x02, + 0x02,0x02,0x01,0x00,}}, + {/* 4 0x0034*/ { + 0x40,0xB0,0x88,0xFC,0x80,0x00,0x00,0x00, + 0x00,0x03,0x02,0x00,}}, + {/* 5 0x0035*/ { + 0x3C,0x24,0x24,0x24,0xC4,0x00,0x01,0x02, + 0x02,0x02,0x01,0x00,}}, + {/* 6 0x0036*/ { + 0xF8,0x24,0x24,0x2C,0xC0,0x00,0x01,0x02, + 0x02,0x02,0x01,0x00,}}, + {/* 7 0x0037*/ { + 0x0C,0x04,0xE4,0x1C,0x04,0x00,0x00,0x00, + 0x03,0x00,0x00,0x00,}}, + {/* 8 0x0038*/ { + 0xD8,0x24,0x24,0x24,0xD8,0x00,0x01,0x02, + 0x02,0x02,0x01,0x00,}}, + {/* 9 0x0039*/ { + 0x38,0x44,0x44,0x44,0xF8,0x00,0x00,0x03, + 0x02,0x02,0x01,0x00,}}, + {/* : 0x003A*/ { + 0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00, + 0x02,0x00,0x00,0x00,}}, + {/* ; 0x003B*/ { + 0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00, + 0x06,0x00,0x00,0x00,}}, + {/* < 0x003C*/ { + 0x00,0x20,0x50,0x88,0x04,0x02,0x00,0x00, + 0x00,0x00,0x01,0x02,}}, + {/* = 0x003D*/ { + 0x90,0x90,0x90,0x90,0x90,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,}}, + {/* > 0x003E*/ { + 0x00,0x02,0x04,0x88,0x50,0x20,0x00,0x02, + 0x01,0x00,0x00,0x00,}}, + {/* ? 0x003F*/ { + 0x18,0x04,0xC4,0x24,0x18,0x00,0x00,0x00, + 0x02,0x00,0x00,0x00,}}, + {/* @ 0x0040*/ { + 0xF8,0x04,0xE4,0x94,0xF8,0x00,0x01,0x02, + 0x02,0x02,0x02,0x00,}}, + {/* A 0x0041*/ { + 0x00,0xE0,0x9C,0xF0,0x80,0x00,0x02,0x03, + 0x00,0x00,0x03,0x02,}}, + {/* B 0x0042*/ { + 0x04,0xFC,0x24,0x24,0xD8,0x00,0x02,0x03, + 0x02,0x02,0x01,0x00,}}, + {/* C 0x0043*/ { + 0xF8,0x04,0x04,0x04,0x0C,0x00,0x01,0x02, + 0x02,0x02,0x01,0x00,}}, + {/* D 0x0044*/ { + 0x04,0xFC,0x04,0x04,0xF8,0x00,0x02,0x03, + 0x02,0x02,0x01,0x00,}}, + {/* E 0x0045*/ { + 0x04,0xFC,0x24,0x74,0x0C,0x00,0x02,0x03, + 0x02,0x02,0x03,0x00,}}, + {/* F 0x0046*/ { + 0x04,0xFC,0x24,0x74,0x0C,0x00,0x02,0x03, + 0x02,0x00,0x00,0x00,}}, + {/* G 0x0047*/ { + 0xF0,0x08,0x04,0x44,0xCC,0x40,0x00,0x01, + 0x02,0x02,0x01,0x00,}}, + {/* H 0x0048*/ { + 0x04,0xFC,0x20,0x20,0xFC,0x04,0x02,0x03, + 0x00,0x00,0x03,0x02,}}, + {/* I 0x0049*/ { + 0x04,0x04,0xFC,0x04,0x04,0x00,0x02,0x02, + 0x03,0x02,0x02,0x00,}}, + {/* J 0x004A*/ { + 0x00,0x04,0x04,0xFC,0x04,0x04,0x06,0x04, + 0x04,0x03,0x00,0x00,}}, + {/* K 0x004B*/ { + 0x04,0xFC,0x24,0xD0,0x0C,0x04,0x02,0x03, + 0x02,0x00,0x03,0x02,}}, + {/* L 0x004C*/ { + 0x04,0xFC,0x04,0x00,0x00,0x00,0x02,0x03, + 0x02,0x02,0x02,0x03,}}, + {/* M 0x004D*/ { + 0xFC,0x3C,0xC0,0x3C,0xFC,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00,}}, + {/* N 0x004E*/ { + 0x04,0xFC,0x30,0xC4,0xFC,0x04,0x02,0x03, + 0x02,0x00,0x03,0x00,}}, + {/* O 0x004F*/ { + 0xF8,0x04,0x04,0x04,0xF8,0x00,0x01,0x02, + 0x02,0x02,0x01,0x00,}}, + {/* P 0x0050*/ { + 0x04,0xFC,0x24,0x24,0x18,0x00,0x02,0x03, + 0x02,0x00,0x00,0x00,}}, + {/* Q 0x0051*/ { + 0xF8,0x84,0x84,0x04,0xF8,0x00,0x01,0x02, + 0x02,0x07,0x05,0x00,}}, + {/* R 0x0052*/ { + 0x04,0xFC,0x24,0x64,0x98,0x00,0x02,0x03, + 0x02,0x00,0x03,0x02,}}, + {/* S 0x0053*/ { + 0x18,0x24,0x24,0x44,0x8C,0x00,0x03,0x02, + 0x02,0x02,0x01,0x00,}}, + {/* T 0x0054*/ { + 0x0C,0x04,0xFC,0x04,0x0C,0x00,0x00,0x02, + 0x03,0x02,0x00,0x00,}}, + {/* U 0x0055*/ { + 0x04,0xFC,0x00,0x00,0xFC,0x04,0x00,0x01, + 0x02,0x02,0x01,0x00,}}, + {/* V 0x0056*/ { + 0x04,0x7C,0x80,0xE0,0x1C,0x04,0x00,0x00, + 0x03,0x00,0x00,0x00,}}, + {/* W 0x0057*/ { + 0x1C,0xE0,0x3C,0xE0,0x1C,0x00,0x00,0x03, + 0x00,0x03,0x00,0x00,}}, + {/* X 0x0058*/ { + 0x04,0x9C,0x60,0x9C,0x04,0x00,0x02,0x03, + 0x00,0x03,0x02,0x00,}}, + {/* Y 0x0059*/ { + 0x04,0x1C,0xE0,0x1C,0x04,0x00,0x00,0x02, + 0x03,0x02,0x00,0x00,}}, + {/* Z 0x005A*/ { + 0x0C,0x84,0x64,0x1C,0x04,0x00,0x02,0x03, + 0x02,0x02,0x03,0x00,}}, + {/* [ 0x005B*/ { + 0x00,0x00,0xFE,0x02,0x02,0x00,0x00,0x00, + 0x07,0x04,0x04,0x00,}}, + {/* \ 0x005C*/ { + 0x00,0x0E,0x30,0xC0,0x00,0x00,0x00,0x00, + 0x00,0x01,0x02,0x00,}}, + {/* ] 0x005D*/ { + 0x00,0x02,0x02,0xFE,0x00,0x00,0x00,0x04, + 0x04,0x07,0x00,0x00,}}, + {/* ^ 0x005E*/ { + 0x00,0x04,0x02,0x04,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,}}, + {/* _ 0x005F*/ { + 0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08, + 0x08,0x08,0x08,0x08,}}, + {/* ` 0x0060*/ { + 0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,}}, + {/* a 0x0061*/ { + 0x00,0x40,0xA0,0xA0,0xC0,0x00,0x00,0x01, + 0x02,0x02,0x03,0x02,}}, + {/* b 0x0062*/ { + 0x04,0xFC,0x20,0x20,0xC0,0x00,0x00,0x03, + 0x02,0x02,0x01,0x00,}}, + {/* c 0x0063*/ { + 0x00,0xC0,0x20,0x20,0x60,0x00,0x00,0x01, + 0x02,0x02,0x02,0x00,}}, + {/* d 0x0064*/ { + 0x00,0xC0,0x20,0x24,0xFC,0x00,0x00,0x01, + 0x02,0x02,0x03,0x02,}}, + {/* e 0x0065*/ { + 0x00,0xC0,0xA0,0xA0,0xC0,0x00,0x00,0x01, + 0x02,0x02,0x02,0x00,}}, + {/* f 0x0066*/ { + 0x00,0x20,0xF8,0x24,0x24,0x04,0x00,0x02, + 0x03,0x02,0x02,0x00,}}, + {/* g 0x0067*/ { + 0x00,0x40,0xA0,0xA0,0x60,0x20,0x00,0x07, + 0x0A,0x0A,0x0A,0x04,}}, + {/* h 0x0068*/ { + 0x04,0xFC,0x20,0x20,0xC0,0x00,0x02,0x03, + 0x02,0x00,0x03,0x02,}}, + {/* i 0x0069*/ { + 0x00,0x20,0xE4,0x00,0x00,0x00,0x00,0x02, + 0x03,0x02,0x00,0x00,}}, + {/* j 0x006A*/ { + 0x00,0x00,0x20,0xE4,0x00,0x00,0x08,0x08, + 0x08,0x07,0x00,0x00,}}, + {/* k 0x006B*/ { + 0x04,0xFC,0x80,0xE0,0x20,0x20,0x02,0x03, + 0x02,0x00,0x03,0x02,}}, + {/* l 0x006C*/ { + 0x04,0x04,0xFC,0x00,0x00,0x00,0x02,0x02, + 0x03,0x02,0x02,0x00,}}, + {/* m 0x006D*/ { + 0xE0,0x20,0xE0,0x20,0xC0,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00,}}, + {/* n 0x006E*/ { + 0x20,0xE0,0x20,0x20,0xC0,0x00,0x02,0x03, + 0x02,0x00,0x03,0x02,}}, + {/* o 0x006F*/ { + 0x00,0xC0,0x20,0x20,0xC0,0x00,0x00,0x01, + 0x02,0x02,0x01,0x00,}}, + {/* p 0x0070*/ { + 0x20,0xE0,0x20,0x20,0xC0,0x00,0x08,0x0F, + 0x0A,0x02,0x01,0x00,}}, + {/* q 0x0071*/ { + 0x00,0xC0,0x20,0x20,0xE0,0x00,0x00,0x01, + 0x02,0x0A,0x0F,0x08,}}, + {/* r 0x0072*/ { + 0x20,0xE0,0x40,0x20,0x20,0x00,0x02,0x03, + 0x02,0x00,0x00,0x00,}}, + {/* s 0x0073*/ { + 0x00,0x60,0xA0,0xA0,0x20,0x00,0x00,0x02, + 0x02,0x02,0x03,0x00,}}, + {/* t 0x0074*/ { + 0x00,0x20,0xF8,0x20,0x00,0x00,0x00,0x00, + 0x01,0x02,0x02,0x00,}}, + {/* u 0x0075*/ { + 0x20,0xE0,0x00,0x20,0xE0,0x00,0x00,0x01, + 0x02,0x02,0x03,0x02,}}, + {/* v 0x0076*/ { + 0x20,0xE0,0x20,0x80,0x60,0x20,0x00,0x00, + 0x03,0x01,0x00,0x00,}}, + {/* w 0x0077*/ { + 0x60,0x80,0xE0,0x80,0x60,0x00,0x00,0x03, + 0x00,0x03,0x00,0x00,}}, + {/* x 0x0078*/ { + 0x20,0x60,0x80,0x60,0x20,0x00,0x02,0x03, + 0x00,0x03,0x02,0x00,}}, + {/* y 0x0079*/ { + 0x20,0xE0,0x20,0x80,0x60,0x20,0x08,0x08, + 0x07,0x01,0x00,0x00,}}, + {/* z 0x007A*/ { + 0x00,0x20,0xA0,0x60,0x20,0x00,0x00,0x02, + 0x03,0x02,0x02,0x00,}}, + {/* { 0x007B*/ { + 0x00,0x00,0x20,0xDE,0x02,0x00,0x00,0x00, + 0x00,0x07,0x04,0x00,}}, + {/* | 0x007C*/ { + 0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00, + 0x00,0x0F,0x00,0x00,}}, + {/* } 0x007D*/ { + 0x00,0x02,0xDE,0x20,0x00,0x00,0x00,0x04, + 0x07,0x00,0x00,0x00,}}, + {/* ~ 0x007E*/ { + 0x02,0x01,0x02,0x04,0x04,0x02,0x00,0x00, + 0x00,0x00,0x00,0x00,}}, + {/*  0x007F*/ { + 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, + 0xFF,0xFF,0xFF,0xFF,}}, +}; +