-
Notifications
You must be signed in to change notification settings - Fork 0
/
char_font.h
168 lines (166 loc) · 5.88 KB
/
char_font.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#ifndef CHAR_FONT_H
#define CHAR_FONT_H
const unsigned short char_font[160][5] =
{
{ 0x00, 0x00, 0x00, 0x00, 0x00, },
{ 0x00, 0x00, 0x5f, 0x00, 0x00, },
{ 0x00, 0x07, 0x00, 0x07, 0x00, },
{ 0x14, 0x7f, 0x14, 0x7f, 0x14, },
{ 0x04, 0x2a, 0x7f, 0x2a, 0x10, },
{ 0x23, 0x13, 0x08, 0x64, 0x62, },
{ 0x36, 0x49, 0x59, 0x26, 0x50, },
{ 0x00, 0x05, 0x03, 0x00, 0x00, },
{ 0x08, 0x36, 0x41, 0x00, 0x00, },
{ 0x00, 0x00, 0x41, 0x36, 0x08, },
{ 0x54, 0x7c, 0x38, 0x7c, 0x54, },
{ 0x08, 0x08, 0x3e, 0x08, 0x08, },
{ 0x00, 0xa0, 0x60, 0x00, 0x00, },
{ 0x08, 0x08, 0x08, 0x08, 0x08, },
{ 0x00, 0x60, 0x60, 0x00, 0x00, },
{ 0x40, 0x30, 0x08, 0x06, 0x01, },
{ 0x3e, 0x41, 0x41, 0x41, 0x3e, },
{ 0x00, 0x42, 0x7f, 0x40, 0x00, },
{ 0x42, 0x61, 0x51, 0x49, 0x46, },
{ 0x22, 0x41, 0x49, 0x49, 0x36, },
{ 0x1c, 0x13, 0x10, 0x7f, 0x10, },
{ 0x2f, 0x49, 0x49, 0x49, 0x31, },
{ 0x3e, 0x49, 0x49, 0x49, 0x32, },
{ 0x01, 0x01, 0x71, 0x09, 0x07, },
{ 0x36, 0x49, 0x49, 0x49, 0x36, },
{ 0x26, 0x49, 0x49, 0x49, 0x3e, },
{ 0x00, 0x63, 0x63, 0x00, 0x00, },
{ 0x00, 0xa3, 0x63, 0x00, 0x00, },
{ 0x08, 0x14, 0x22, 0x41, 0x00, },
{ 0x14, 0x14, 0x14, 0x14, 0x14, },
{ 0x00, 0x41, 0x22, 0x14, 0x08, },
{ 0x02, 0x01, 0x59, 0x06, 0x00, },
{ 0x3e, 0x41, 0x5d, 0x51, 0x0e, },
{ 0x7e, 0x09, 0x09, 0x09, 0x7e, },
{ 0x7f, 0x49, 0x49, 0x49, 0x36, },
{ 0x3e, 0x41, 0x41, 0x41, 0x41, },
{ 0x7f, 0x41, 0x41, 0x41, 0x3e, },
{ 0x7f, 0x49, 0x49, 0x49, 0x41, },
{ 0x7f, 0x09, 0x09, 0x09, 0x01, },
{ 0x3e, 0x41, 0x59, 0x49, 0x3a, },
{ 0x7f, 0x08, 0x08, 0x08, 0x7f, },
{ 0x00, 0x41, 0x7f, 0x41, 0x00, },
{ 0x20, 0x41, 0x41, 0x3f, 0x01, },
{ 0x7f, 0x08, 0x14, 0x22, 0x41, },
{ 0x7f, 0x40, 0x40, 0x40, 0x40, },
{ 0x7f, 0x06, 0x18, 0x06, 0x7f, },
{ 0x7f, 0x06, 0x08, 0x30, 0x7f, },
{ 0x3e, 0x41, 0x41, 0x41, 0x3e, },
{ 0x7f, 0x09, 0x09, 0x09, 0x06, },
{ 0x3e, 0x41, 0x51, 0x61, 0x3e, },
{ 0x7f, 0x19, 0x29, 0x49, 0x46, },
{ 0x26, 0x49, 0x49, 0x49, 0x32, },
{ 0x01, 0x01, 0x7f, 0x01, 0x01, },
{ 0x3f, 0x40, 0x40, 0x40, 0x3f, },
{ 0x03, 0x1c, 0x60, 0x1c, 0x03, },
{ 0x3f, 0x40, 0x38, 0x40, 0x3f, },
{ 0x63, 0x14, 0x08, 0x14, 0x63, },
{ 0x01, 0x06, 0x78, 0x06, 0x01, },
{ 0x61, 0x51, 0x49, 0x45, 0x43, },
{ 0x00, 0x00, 0x7f, 0x41, 0x00, },
{ 0x01, 0x06, 0x08, 0x30, 0x40, },
{ 0x00, 0x41, 0x7f, 0x00, 0x00, },
{ 0x04, 0x02, 0x01, 0x02, 0x04, },
{ 0x80, 0x80, 0x80, 0x80, 0x80, },
{ 0x00, 0x05, 0x03, 0x00, 0x00, },
{ 0x20, 0x54, 0x54, 0x54, 0x38, },
{ 0x7f, 0x48, 0x44, 0x44, 0x38, },
{ 0x38, 0x44, 0x44, 0x44, 0x28, },
{ 0x38, 0x44, 0x44, 0x48, 0x7f, },
{ 0x38, 0x54, 0x54, 0x54, 0x18, },
{ 0x00, 0x08, 0x7e, 0x09, 0x00, },
{ 0x18, 0xa4, 0xa4, 0xa4, 0x78, },
{ 0x7f, 0x10, 0x08, 0x08, 0x70, },
{ 0x00, 0x48, 0x7a, 0x40, 0x00, },
{ 0x40, 0x80, 0x80, 0x7a, 0x00, },
{ 0x7f, 0x10, 0x28, 0x44, 0x00, },
{ 0x00, 0x00, 0x7f, 0x00, 0x00, },
{ 0x7c, 0x04, 0x38, 0x04, 0x7c, },
{ 0x7c, 0x08, 0x04, 0x04, 0x78, },
{ 0x38, 0x44, 0x44, 0x44, 0x38, },
{ 0xfc, 0x24, 0x24, 0x24, 0x18, },
{ 0x18, 0x24, 0x24, 0x24, 0xfc, },
{ 0x7c, 0x08, 0x04, 0x04, 0x04, },
{ 0x48, 0x54, 0x54, 0x54, 0x24, },
{ 0x04, 0x3f, 0x44, 0x40, 0x20, },
{ 0x3c, 0x40, 0x40, 0x40, 0x7c, },
{ 0x0c, 0x30, 0x40, 0x30, 0x0c, },
{ 0x3c, 0x40, 0x38, 0x40, 0x3c, },
{ 0x44, 0x28, 0x10, 0x28, 0x44, },
{ 0x0c, 0x50, 0x50, 0x50, 0x3c, },
{ 0x44, 0x64, 0x54, 0x4c, 0x44, },
{ 0x00, 0x08, 0x36, 0x41, 0x00, },
{ 0x00, 0x00, 0xe7, 0x00, 0x00, },
{ 0x00, 0x41, 0x36, 0x08, 0x00, },
{ 0x08, 0x04, 0x08, 0x10, 0x08, },
{ 0x70, 0x48, 0x44, 0x48, 0x70, },
{ 0x7e, 0x09, 0x09, 0x09, 0x7e, },
{ 0x7f, 0x49, 0x49, 0x49, 0x30, },
{ 0x7f, 0x49, 0x49, 0x49, 0x36, },
{ 0x7f, 0x01, 0x01, 0x01, 0x03, },
{ 0xc0, 0x7e, 0x41, 0x41, 0xff, },
{ 0x7f, 0x49, 0x49, 0x41, 0x63, },
{ 0x76, 0x08, 0x7f, 0x08, 0x76, },
{ 0x22, 0x41, 0x49, 0x49, 0x36, },
{ 0x7f, 0x20, 0x10, 0x08, 0x7f, },
{ 0x7f, 0x20, 0x13, 0x08, 0x7f, },
{ 0x7f, 0x08, 0x14, 0x22, 0x41, },
{ 0x40, 0x3e, 0x01, 0x01, 0x7f, },
{ 0x7f, 0x06, 0x18, 0x06, 0x7f, },
{ 0x7f, 0x08, 0x08, 0x08, 0x7f, },
{ 0x3e, 0x41, 0x41, 0x41, 0x3e, },
{ 0x7f, 0x01, 0x01, 0x01, 0x7f, },
{ 0x7f, 0x09, 0x09, 0x09, 0x06, },
{ 0x3e, 0x41, 0x41, 0x41, 0x22, },
{ 0x01, 0x01, 0x7f, 0x01, 0x01, },
{ 0x4f, 0x90, 0x90, 0x90, 0x7f, },
{ 0x3c, 0x42, 0xff, 0x42, 0x3c, },
{ 0x63, 0x14, 0x08, 0x14, 0x63, },
{ 0x7f, 0x40, 0x40, 0x7f, 0xc0, },
{ 0x07, 0x08, 0x08, 0x08, 0x7f, },
{ 0x7f, 0x40, 0x7e, 0x40, 0x7f, },
{ 0x7f, 0x40, 0x7e, 0x40, 0xff, },
{ 0x01, 0x7f, 0x48, 0x48, 0x30, },
{ 0x7f, 0x48, 0x30, 0x00, 0x7f, },
{ 0x7f, 0x48, 0x48, 0x30, 0x00, },
{ 0x22, 0x41, 0x49, 0x49, 0x36, },
{ 0x7f, 0x08, 0x3e, 0x41, 0x3e, },
{ 0x46, 0x29, 0x19, 0x09, 0x7f, },
{ 0x20, 0x54, 0x54, 0x54, 0x38, },
{ 0x38, 0x54, 0x54, 0x52, 0x20, },
{ 0x7c, 0x54, 0x54, 0x54, 0x28, },
{ 0x7c, 0x04, 0x04, 0x04, 0x00, },
{ 0xc0, 0x78, 0x44, 0x7c, 0xc0, },
{ 0x38, 0x54, 0x54, 0x54, 0x18, },
{ 0x44, 0x28, 0xfe, 0x28, 0x44, },
{ 0x28, 0x44, 0x54, 0x54, 0x28, },
{ 0x7c, 0x20, 0x10, 0x08, 0x7c, },
{ 0x7c, 0x20, 0x12, 0x09, 0x7c, },
{ 0x7c, 0x10, 0x28, 0x44, 0x00, },
{ 0x40, 0x38, 0x04, 0x7c, 0x00, },
{ 0x7c, 0x08, 0x30, 0x08, 0x7c, },
{ 0x7c, 0x10, 0x10, 0x10, 0x7c, },
{ 0x38, 0x44, 0x44, 0x44, 0x38, },
{ 0x7c, 0x04, 0x04, 0x04, 0x7c, },
{ 0xfc, 0x24, 0x24, 0x18, 0x00, },
{ 0x38, 0x44, 0x44, 0x44, 0x28, },
{ 0x04, 0x04, 0x7c, 0x04, 0x04, },
{ 0x1c, 0xa0, 0xa0, 0xa0, 0x7c, },
{ 0x38, 0x44, 0xfe, 0x44, 0x38, },
{ 0x44, 0x28, 0x10, 0x28, 0x44, },
{ 0x7c, 0x40, 0x40, 0x7c, 0xc0, },
{ 0x00, 0x1c, 0x10, 0x10, 0x7c, },
{ 0x7c, 0x40, 0x7c, 0x40, 0x7c, },
{ 0x7c, 0x40, 0x7c, 0x40, 0xfc, },
{ 0x04, 0x7c, 0x50, 0x50, 0x20, },
{ 0x7c, 0x50, 0x20, 0x00, 0x7c, },
{ 0x7c, 0x50, 0x50, 0x20, 0x00, },
{ 0x28, 0x44, 0x54, 0x38, 0x00, },
{ 0x7c, 0x10, 0x38, 0x44, 0x38, },
{ 0x00, 0x08, 0x54, 0x34, 0x7c, },
};
#endif