-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfont_pc8x8.c
198 lines (194 loc) · 6.43 KB
/
font_pc8x8.c
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/*
* font_pc8x8 generated by png2font
*/
#include "font.h"
static uint8_t PROGMEM data[] = {
/* 'A' */ 0x8c, 0x37, 0xcf, 0xff, 0x3c, 0x03,
/* 'B' */ 0x3f, 0xb3, 0xd9, 0x67, 0x36, 0xff, 0x00,
/* 'C' */ 0x3c, 0xf3, 0x60, 0x30, 0x30, 0xf3, 0x00,
/* 'D' */ 0x1f, 0x9b, 0xd9, 0x6c, 0xb6, 0x7d, 0x00,
/* 'E' */ 0x7f, 0xa3, 0xc5, 0x63, 0x31, 0xfe, 0x01,
/* 'F' */ 0x7f, 0xa3, 0xc5, 0x63, 0x31, 0x3c, 0x00,
/* 'G' */ 0x3c, 0xf3, 0x60, 0x30, 0x37, 0xf3, 0x01,
/* 'H' */ 0xf3, 0x3c, 0xff, 0xf3, 0x3c, 0x03,
/* 'I' */ 0x6f, 0x66, 0x66, 0x0f,
/* 'J' */ 0x78, 0x18, 0x0c, 0x36, 0x9b, 0x79, 0x00,
/* 'K' */ 0x67, 0xb3, 0xcd, 0x63, 0x33, 0x9f, 0x01,
/* 'L' */ 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0xff, 0xf0, 0xc1, 0xf0, 0xec, 0x01,
/* '6' */ 0x9c, 0x31, 0x7c, 0xf3, 0xec, 0x01,
/* '7' */ 0xff, 0x0c, 0x63, 0x0c, 0xc3, 0x00,
/* '8' */ 0xde, 0x3c, 0x7b, 0xf3, 0xec, 0x01,
/* '9' */ 0xde, 0x3c, 0xfb, 0x30, 0xe6, 0x00,
/* '(' */ 0x6c, 0x33, 0x63, 0x0c,
/* '{' */ 0x38, 0xc3, 0x1c, 0x0c, 0x83, 0x03,
/* '[' */ 0x3f, 0x33, 0x33, 0x0f,
/* '<' */ 0x98, 0x99, 0x61, 0x18, 0x06,
/* '!' */ 0xf6, 0x6f, 0x06, 0x06,
/* '@' */ 0xbe, 0xf1, 0x7e, 0xbf, 0x1f, 0x78, 0x00,
/* '#' */ 0x36, 0xdb, 0xdf, 0xf6, 0xb7, 0xd9, 0x00,
/* '$' */ 0x8c, 0x3f, 0x78, 0xf0, 0xc7, 0x00,
/* '%' */ 0x80, 0xf1, 0x0c, 0xc3, 0x30, 0x8f, 0x01,
/* '^' */ 0x08, 0x8e, 0x6d, 0x0c, 0x00, 0x00, 0x00,
/* '&' */ 0x1c, 0x1b, 0xc7, 0xbd, 0x9b, 0xb9, 0x01,
/* '*' */ 0x00, 0x66, 0x3c, 0xff, 0x3c, 0x66, 0x00, 0x00,
/* '?' */ 0xde, 0x0c, 0x63, 0x0c, 0xc0, 0x00,
/* '_' */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff,
/* '+' */ 0x00, 0xc3, 0xfc, 0x0c, 0x03, 0x00,
/* '-' */ 0x00, 0x00, 0xfc, 0x00, 0x00, 0x00,
/* '=' */ 0x00, 0xf0, 0x03, 0xc0, 0x0f, 0x00,
/* ';' */ 0xb0, 0x01, 0x7b,
/* ':' */ 0x3c, 0x3c,
/* ',' */ 0x00, 0x00, 0x7b,
/* '.' */ 0x00, 0x3c,
/* '\' */ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01,
/* '"' */ 0x7b, 0x6f, 0x00, 0x00, 0x00,
/* '/' */ 0xc0, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x02, 0x00,
/* '~' */ 0xee, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00,
/* '>' */ 0xc3, 0x30, 0xcc, 0xcc, 0x00,
/* ']' */ 0xcf, 0xcc, 0xcc, 0x0f,
/* '}' */ 0x07, 0xc3, 0xe0, 0x0c, 0x73, 0x00,
/* ')' */ 0x63, 0xcc, 0x6c, 0x03,
};
static struct font_glyph PROGMEM info[] = {
/* ! */ {4, 416},
/* " */ {5, 518},
/* # */ {7, 427},
/* $ */ {6, 434},
/* % */ {7, 440},
/* & */ {7, 454},
/* ' */ {0, 0},
/* ( */ {4, 397},
/* ) */ {4, 553},
/* * */ {8, 461},
/* + */ {6, 483},
/* , */ {3, 506},
/* - */ {6, 489},
/* . */ {2, 509},
/* / */ {8, 523},
/* 0 */ {7, 335},
/* 1 */ {6, 342},
/* 2 */ {6, 348},
/* 3 */ {6, 354},
/* 4 */ {7, 360},
/* 5 */ {6, 367},
/* 6 */ {6, 373},
/* 7 */ {6, 379},
/* 8 */ {6, 385},
/* 9 */ {6, 391},
/* : */ {2, 504},
/* ; */ {3, 501},
/* < */ {5, 411},
/* = */ {6, 495},
/* > */ {5, 538},
/* ? */ {6, 469},
/* @ */ {7, 420},
/* A */ {6, 0},
/* B */ {7, 6},
/* C */ {7, 13},
/* D */ {7, 20},
/* E */ {7, 27},
/* F */ {7, 34},
/* G */ {7, 41},
/* H */ {6, 48},
/* I */ {4, 54},
/* J */ {7, 58},
/* K */ {7, 65},
/* L */ {7, 72},
/* M */ {7, 79},
/* N */ {7, 86},
/* O */ {7, 93},
/* P */ {7, 100},
/* Q */ {6, 107},
/* R */ {7, 113},
/* S */ {6, 120},
/* T */ {6, 126},
/* U */ {6, 132},
/* V */ {6, 138},
/* W */ {7, 144},
/* X */ {7, 151},
/* Y */ {6, 158},
/* Z */ {7, 164},
/* [ */ {4, 407},
/* \ */ {7, 511},
/* ] */ {4, 543},
/* ^ */ {7, 447},
/* _ */ {8, 475},
/* ` */ {0, 0},
/* a */ {7, 171},
/* b */ {7, 178},
/* c */ {6, 185},
/* d */ {7, 191},
/* e */ {6, 198},
/* f */ {6, 204},
/* g */ {7, 210},
/* h */ {7, 217},
/* i */ {4, 224},
/* j */ {6, 228},
/* k */ {7, 234},
/* l */ {4, 241},
/* m */ {7, 245},
/* n */ {6, 252},
/* o */ {6, 258},
/* p */ {7, 264},
/* q */ {7, 271},
/* r */ {7, 278},
/* s */ {6, 285},
/* t */ {5, 291},
/* u */ {7, 296},
/* v */ {6, 303},
/* w */ {7, 309},
/* x */ {7, 316},
/* y */ {6, 323},
/* z */ {6, 329},
/* { */ {6, 401},
/* | */ {0, 0},
/* } */ {6, 547},
/* ~ */ {7, 531},
};
struct font font_pc8x8 = {data, info, 8, 33, 126};