-
Notifications
You must be signed in to change notification settings - Fork 3
/
Serif_plain_10.h
199 lines (198 loc) · 8.34 KB
/
Serif_plain_10.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
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
199
// Created by http://oleddisplay.squix.ch/ Consider a donation
// In case of problems make sure that you are using the font file with the correct version!
const uint8_t Serif_plain_10Bitmaps[] PROGMEM = {
// Bitmap Data:
0x00, // ' '
0xAA,0x88, // '!'
0xAA,0xA0, // '"'
0x24,0x28,0x7E,0x28,0xFC,0x50,0x50, // '#'
0x23,0xEA,0x1C,0x2A,0xA7,0x08, // '$'
0xE4,0x52,0x2A,0x1F,0xE1,0x51,0x28,0x9C, // '%'
0x30,0x24,0x10,0x16,0xE9,0xA4,0x61,0xEC, // '&'
0xA8, // '''
0x52,0x49,0x24,0x40, // '('
0x91,0x24,0x94,0x80, // ')'
0x22,0xA7,0x3E,0x20, // '*'
0x10,0x10,0x10,0xFE,0x10,0x10,0x10, // '+'
0x50, // ','
0xE0, // '-'
0x80, // '.'
0x22,0x44,0x44,0x88, // '/'
0x72,0x28,0xA2,0x8A,0x27,0x00, // '0'
0x4C,0x44,0x44,0xE0, // '1'
0x72,0x20,0x84,0x21,0x2F,0x80, // '2'
0x72,0x20,0x8C,0x0A,0x27,0x00, // '3'
0x10,0xC5,0x14,0xF8,0x43,0x80, // '4'
0xFA,0x0F,0x02,0x0A,0x27,0x00, // '5'
0x72,0x28,0x3C,0x8A,0x27,0x00, // '6'
0xFA,0x21,0x04,0x20,0x84,0x00, // '7'
0x72,0x28,0x9C,0xDA,0x27,0x00, // '8'
0x72,0x28,0x9E,0x0A,0x27,0x00, // '9'
0x82, // ':'
0x40,0x28, // ';'
0x04,0x73,0x03,0x80,0xC0, // '<'
0xFC,0x03,0xF0, // '='
0x80,0xE0,0x31,0xCC,0x00, // '>'
0xE0,0x84,0xC4,0x01,0x00, // '?'
0x1E,0x18,0x4D,0xAA,0x9A,0xA2,0xA8,0xAD,0xF1,0x80,0x3E,0x00, // '@'
0x10,0x30,0x28,0x28,0x7C,0x44,0xCE, // 'A'
0xF8,0x89,0x13,0xC4,0x48,0xBE,0x00, // 'B'
0x38,0x8A,0x04,0x08,0x08,0x9E,0x00, // 'C'
0xF8,0x44,0x42,0x42,0x42,0x44,0xF8, // 'D'
0xFC,0x89,0x03,0xC4,0x08,0xBF,0x00, // 'E'
0xFC,0x89,0x03,0xC4,0x08,0x38,0x00, // 'F'
0x3C,0x42,0x80,0x80,0x86,0x42,0x3C, // 'G'
0xE7,0x21,0x10,0x8F,0xC4,0x22,0x13,0x9C, // 'H'
0xE4,0x44,0x44,0xE0, // 'I'
0x71,0x08,0x42,0x10,0x94,0xC0, // 'J'
0xEC,0x48,0x50,0x60,0x50,0x48,0xE6, // 'K'
0xE0,0x81,0x02,0x04,0x08,0xBF,0x00, // 'L'
0xE3,0x98,0xC5,0x51,0x54,0x49,0x12,0x4E,0x38, // 'M'
0xC7,0x31,0x14,0x8B,0x44,0xE2,0x33,0x88, // 'N'
0x38,0x44,0x82,0x82,0x82,0x44,0x38, // 'O'
0xF8,0x89,0x13,0xC4,0x08,0x38,0x00, // 'P'
0x38,0x44,0x82,0x82,0x82,0x44,0x38,0x08,0x04, // 'Q'
0xF8,0x44,0x44,0x78,0x48,0x44,0xE2, // 'R'
0x72,0x28,0x1C,0x0A,0x27,0x00, // 'S'
0xFE,0x92,0x10,0x10,0x10,0x10,0x38, // 'T'
0xE7,0x21,0x10,0x88,0x44,0x22,0x10,0xF0, // 'U'
0xEE,0x44,0x44,0x28,0x28,0x10,0x10, // 'V'
0xED,0xC9,0x91,0x4A,0x29,0x43,0x30,0x42,0x08,0x40, // 'W'
0xEE,0x44,0x28,0x10,0x28,0x44,0xEE, // 'X'
0xEE,0x44,0x28,0x10,0x10,0x10,0x38, // 'Y'
0xFD,0x10,0x41,0x82,0x08,0xBF,0x00, // 'Z'
0xD2,0x49,0x24,0xC0, // '['
0x88,0x44,0x44,0x22, // '\'
0xC9,0x24,0x92,0xC0, // ']'
0x30,0x92,0x10, // '^'
0xF8, // '_'
0x88, // '`'
0x60,0x4F,0x24,0xF8, // 'a'
0xC1,0x04,0x1C,0x49,0x24,0xBC, // 'b'
0x72,0x28,0x20,0x78, // 'c'
0x30,0x41,0x1C,0x92,0x49,0x1E, // 'd'
0x72,0x2F,0xA0,0x78, // 'e'
0x72,0x11,0xC4,0x21,0x1C, // 'f'
0x7A,0x49,0x24,0x70,0x4E,0x00, // 'g'
0xC0,0x81,0x03,0xC4,0x89,0x12,0x76, // 'h'
0x40,0xC4,0x44,0xE0, // 'i'
0x20,0x62,0x22,0x22,0xE0, // 'j'
0xC0,0x81,0x02,0xC5,0x0E,0x12,0x76, // 'k'
0xC4,0x44,0x44,0x4E, // 'l'
0xFF,0x12,0x44,0x91,0x24,0xED,0x80, // 'm'
0xF8,0x91,0x22,0x4E,0xC0, // 'n'
0x72,0x28,0xA2,0x70, // 'o'
0xF1,0x24,0x92,0x71,0x0E,0x00, // 'p'
0x7A,0x49,0x24,0x70,0x43,0x80, // 'q'
0xF2,0x90,0x8E,0x00, // 'r'
0xF4,0x18,0x2F,0x00, // 's'
0x42,0x38,0x84,0x29,0xC0, // 't'
0xD8,0x91,0x22,0x47,0xC0, // 'u'
0xEC,0x91,0x21,0x83,0x00, // 'v'
0xD6,0x54,0x54,0x28,0x28, // 'w'
0xD9,0x42,0x14,0xD8, // 'x'
0xCC,0x91,0x21,0x83,0x04,0x30,0x00, // 'y'
0xFA,0x42,0x12,0xF8, // 'z'
0x31,0x08,0x4C,0x10,0x84,0x30, // '{'
0xAA,0xAA,0xA0, // '|'
0xE0,0x82,0x08,0x18,0x82,0x08,0xE0 // '}'
};
const GFXglyph Serif_plain_10Glyphs[] PROGMEM = {
// bitmapOffset, width, height, xAdvance, xOffset, yOffset
{ 0, 1, 1, 4, 0, 0 }, // ' '
{ 1, 2, 7, 5, 1, -7 }, // '!'
{ 3, 4, 3, 6, 1, -7 }, // '"'
{ 5, 8, 7, 9, 0, -7 }, // '#'
{ 12, 6, 8, 7, 0, -7 }, // '$'
{ 18, 9, 7, 11, 0, -7 }, // '%'
{ 26, 9, 7, 10, 0, -7 }, // '&'
{ 34, 2, 3, 4, 1, -7 }, // '''
{ 35, 3, 9, 5, 0, -8 }, // '('
{ 39, 3, 9, 5, 1, -8 }, // ')'
{ 43, 6, 5, 6, 0, -7 }, // '*'
{ 47, 8, 7, 9, 1, -7 }, // '+'
{ 54, 3, 2, 4, 0, -1 }, // ','
{ 55, 4, 1, 4, 0, -3 }, // '-'
{ 56, 2, 1, 4, 1, -1 }, // '.'
{ 57, 4, 8, 4, 0, -7 }, // '/'
{ 61, 6, 7, 7, 0, -7 }, // '0'
{ 67, 4, 7, 7, 1, -7 }, // '1'
{ 71, 6, 7, 7, 0, -7 }, // '2'
{ 77, 6, 7, 7, 0, -7 }, // '3'
{ 83, 6, 7, 7, 0, -7 }, // '4'
{ 89, 6, 7, 7, 0, -7 }, // '5'
{ 95, 6, 7, 7, 0, -7 }, // '6'
{ 101, 6, 7, 7, 0, -7 }, // '7'
{ 107, 6, 7, 7, 0, -7 }, // '8'
{ 113, 6, 7, 7, 0, -7 }, // '9'
{ 119, 2, 4, 4, 1, -4 }, // ':'
{ 120, 3, 5, 4, 0, -4 }, // ';'
{ 122, 7, 5, 9, 0, -6 }, // '<'
{ 127, 7, 3, 9, 0, -5 }, // '='
{ 130, 7, 5, 9, 0, -6 }, // '>'
{ 135, 5, 7, 6, 0, -7 }, // '?'
{ 140, 10, 9, 11, 0, -7 }, // '@'
{ 152, 8, 7, 8, 0, -7 }, // 'A'
{ 159, 7, 7, 8, 0, -7 }, // 'B'
{ 166, 7, 7, 8, 0, -7 }, // 'C'
{ 173, 8, 7, 9, 0, -7 }, // 'D'
{ 180, 7, 7, 8, 0, -7 }, // 'E'
{ 187, 7, 7, 8, 0, -7 }, // 'F'
{ 194, 8, 7, 9, 0, -7 }, // 'G'
{ 201, 9, 7, 10, 0, -7 }, // 'H'
{ 209, 4, 7, 5, 0, -7 }, // 'I'
{ 213, 5, 9, 5, -1, -7 }, // 'J'
{ 219, 8, 7, 8, 0, -7 }, // 'K'
{ 226, 7, 7, 8, 0, -7 }, // 'L'
{ 233, 10, 7, 11, 0, -7 }, // 'M'
{ 242, 9, 7, 10, 0, -7 }, // 'N'
{ 250, 8, 7, 9, 0, -7 }, // 'O'
{ 257, 7, 7, 8, 0, -7 }, // 'P'
{ 264, 8, 9, 9, 0, -7 }, // 'Q'
{ 273, 8, 7, 9, 0, -7 }, // 'R'
{ 280, 6, 7, 7, 0, -7 }, // 'S'
{ 286, 8, 7, 9, 0, -7 }, // 'T'
{ 293, 9, 7, 10, 0, -7 }, // 'U'
{ 301, 8, 7, 8, 0, -7 }, // 'V'
{ 308, 11, 7, 12, 0, -7 }, // 'W'
{ 318, 8, 7, 9, 0, -7 }, // 'X'
{ 325, 8, 7, 8, 0, -7 }, // 'Y'
{ 332, 7, 7, 8, 0, -7 }, // 'Z'
{ 339, 3, 9, 5, 0, -8 }, // '['
{ 343, 4, 8, 4, 0, -7 }, // '\'
{ 347, 3, 9, 5, 1, -8 }, // ']'
{ 351, 7, 3, 9, 1, -7 }, // '^'
{ 354, 6, 1, 6, 0, 1 }, // '_'
{ 355, 3, 2, 6, 1, -8 }, // '`'
{ 356, 6, 5, 6, 0, -5 }, // 'a'
{ 360, 6, 8, 7, 0, -8 }, // 'b'
{ 366, 6, 5, 7, 0, -5 }, // 'c'
{ 370, 6, 8, 6, 0, -8 }, // 'd'
{ 376, 6, 5, 7, 0, -5 }, // 'e'
{ 380, 5, 8, 5, 0, -8 }, // 'f'
{ 385, 6, 7, 6, 0, -5 }, // 'g'
{ 391, 7, 8, 7, 0, -8 }, // 'h'
{ 398, 4, 7, 4, 0, -7 }, // 'i'
{ 402, 4, 9, 4, -1, -7 }, // 'j'
{ 407, 7, 8, 7, 0, -8 }, // 'k'
{ 414, 4, 8, 4, 0, -8 }, // 'l'
{ 418, 10, 5, 10, 0, -5 }, // 'm'
{ 425, 7, 5, 7, 0, -5 }, // 'n'
{ 430, 6, 5, 7, 0, -5 }, // 'o'
{ 434, 6, 7, 7, 0, -5 }, // 'p'
{ 440, 6, 7, 7, 0, -5 }, // 'q'
{ 446, 5, 5, 6, 0, -5 }, // 'r'
{ 450, 5, 5, 6, 0, -5 }, // 's'
{ 454, 5, 7, 5, 0, -7 }, // 't'
{ 459, 7, 5, 7, 0, -5 }, // 'u'
{ 464, 7, 5, 7, 0, -5 }, // 'v'
{ 469, 8, 5, 10, 0, -5 }, // 'w'
{ 474, 6, 5, 7, 0, -5 }, // 'x'
{ 478, 7, 7, 7, 0, -5 }, // 'y'
{ 485, 6, 5, 6, 0, -5 }, // 'z'
{ 489, 5, 9, 7, 1, -8 }, // '{'
{ 495, 2, 10, 4, 1, -8 }, // '|'
{ 498, 6, 9, 7, 1, -8 } // '}'
};
const GFXfont Serif_plain_10 PROGMEM = {
(uint8_t *)Serif_plain_10Bitmaps,(GFXglyph *)Serif_plain_10Glyphs,0x20, 0x7E, 13};