-
Notifications
You must be signed in to change notification settings - Fork 2
/
DSEG7_Classic_Bold_10.h
199 lines (198 loc) · 8.94 KB
/
DSEG7_Classic_Bold_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 DSEG7_Classic_Bold_10Bitmaps[] PROGMEM = {
// Bitmap Data:
0x00, // ' '
0x00, // '!'
0xEA,0xAA,0xAA,0xE0, // '"'
0xEA,0xAA,0xAA,0xE0, // '#'
0xEA,0xAA,0xAA,0xE0, // '$'
0xEA,0xAA,0xAA,0xE0, // '%'
0xEA,0xAA,0xAA,0xE0, // '&'
0xEA,0xAA,0xAA,0xE0, // '''
0xEA,0xAA,0xAA,0xE0, // '('
0xEA,0xAA,0xAA,0xE0, // ')'
0xEA,0xAA,0xAA,0xE0, // '*'
0xEA,0xAA,0xAA,0xE0, // '+'
0xEA,0xAA,0xAA,0xE0, // ','
0xF7,0x80, // '-'
0xC0, // '.'
0xEA,0xAA,0xAA,0xE0, // '/'
0x7D,0x0A,0x14,0x28,0x50,0xA1,0x42,0x84,0xF8, // '0'
0x2A,0xAA,0x80, // '1'
0x7C,0x08,0x10,0x27,0xDF,0x20,0x40,0x80,0xF8, // '2'
0x7C,0x08,0x10,0x27,0xCF,0x81,0x02,0x04,0xF8, // '3'
0x01,0x0A,0x14,0x2F,0xCF,0x81,0x02,0x04,0x00, // '4'
0x7D,0x02,0x04,0x0F,0x8F,0x81,0x02,0x04,0xF8, // '5'
0x7D,0x02,0x04,0x0F,0x9F,0xA1,0x42,0x84,0xF8, // '6'
0x7D,0x0A,0x14,0x28,0x40,0x81,0x02,0x04,0x00, // '7'
0x7D,0x0A,0x14,0x2F,0xDF,0xA1,0x42,0x84,0xF8, // '8'
0x7D,0x0A,0x14,0x2F,0xCF,0x81,0x02,0x04,0xF8, // '9'
0x00,0x01,0x80, // ':'
0xEA,0xAA,0xAA,0xE0, // ';'
0xEA,0xAA,0xAA,0xE0, // '<'
0xEA,0xAA,0xAA,0xE0, // '='
0xEA,0xAA,0xAA,0xE0, // '>'
0xEA,0xAA,0xAA,0xE0, // '?'
0xEA,0xAA,0xAA,0xE0, // '@'
0x7D,0x0A,0x14,0x2F,0xDF,0xA1,0x42,0x84,0x00, // 'A'
0x01,0x02,0x04,0x0F,0x9F,0xA1,0x42,0x84,0xF8, // 'B'
0x79,0xF2,0x04,0x08,0x0F,0x80, // 'C'
0x00,0x08,0x10,0x27,0xDF,0xA1,0x42,0x84,0xF8, // 'D'
0x7D,0x02,0x04,0x0F,0x9F,0x20,0x40,0x80,0xF8, // 'E'
0x7D,0x02,0x04,0x0F,0x9F,0x20,0x40,0x80,0x00, // 'F'
0x7D,0x02,0x04,0x08,0x10,0xA1,0x42,0x84,0xF8, // 'G'
0x01,0x02,0x04,0x0F,0x9F,0xA1,0x42,0x84,0x00, // 'H'
0xAA,0x00, // 'I'
0x00,0x08,0x10,0x20,0x50,0xA1,0x42,0x84,0xF8, // 'J'
0x7D,0x02,0x04,0x0F,0x9F,0xA1,0x42,0x84,0x00, // 'K'
0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0xF8, // 'L'
0x7D,0x0A,0x14,0x28,0x50,0xA1,0x42,0x84,0x00, // 'M'
0x79,0xFA,0x14,0x28,0x40,0x00, // 'N'
0x79,0xFA,0x14,0x28,0x4F,0x80, // 'O'
0x7D,0x0A,0x14,0x2F,0xDF,0x20,0x40,0x80,0x00, // 'P'
0x7D,0x0A,0x14,0x2F,0xCF,0x81,0x02,0x04,0x00, // 'Q'
0x7B,0xE8,0x20,0x80,0x00, // 'R'
0x01,0x02,0x04,0x0F,0x8F,0x81,0x02,0x04,0xF8, // 'S'
0x01,0x02,0x04,0x0F,0x9F,0x20,0x40,0x80,0xF8, // 'T'
0x85,0x0A,0x14,0x27,0xC0, // 'U'
0x01,0x0A,0x14,0x28,0x50,0xA1,0x42,0x84,0xF8, // 'V'
0x01,0x0A,0x14,0x2F,0xDF,0xA1,0x42,0x84,0xF8, // 'W'
0x01,0x0A,0x14,0x2F,0xDF,0xA1,0x42,0x84,0x00, // 'X'
0x01,0x0A,0x14,0x2F,0xCF,0x81,0x02,0x04,0xF8, // 'Y'
0x7C,0x08,0x10,0x20,0x50,0x20,0x40,0x80,0xF8, // 'Z'
0xEA,0xAA,0xAA,0xE0, // '['
0xEA,0xAA,0xAA,0xE0, // '\'
0xEA,0xAA,0xAA,0xE0, // ']'
0xEA,0xAA,0xAA,0xE0, // '^'
0xEA,0xAA,0xAA,0xE0, // '_'
0xEA,0xAA,0xAA,0xE0, // '`'
0x7D,0x0A,0x14,0x2F,0xDF,0xA1,0x42,0x84,0x00, // 'a'
0x01,0x02,0x04,0x0F,0x9F,0xA1,0x42,0x84,0xF8, // 'b'
0x79,0xF2,0x04,0x08,0x0F,0x80, // 'c'
0x00,0x08,0x10,0x27,0xDF,0xA1,0x42,0x84,0xF8, // 'd'
0x7D,0x02,0x04,0x0F,0x9F,0x20,0x40,0x80,0xF8, // 'e'
0x7D,0x02,0x04,0x0F,0x9F,0x20,0x40,0x80,0x00, // 'f'
0x7D,0x02,0x04,0x08,0x10,0xA1,0x42,0x84,0xF8, // 'g'
0x01,0x02,0x04,0x0F,0x9F,0xA1,0x42,0x84,0x00, // 'h'
0xAA,0x00, // 'i'
0x00,0x08,0x10,0x20,0x50,0xA1,0x42,0x84,0xF8, // 'j'
0x7D,0x02,0x04,0x0F,0x9F,0xA1,0x42,0x84,0x00, // 'k'
0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0xF8, // 'l'
0x7D,0x0A,0x14,0x28,0x50,0xA1,0x42,0x84,0x00, // 'm'
0x79,0xFA,0x14,0x28,0x40,0x00, // 'n'
0x79,0xFA,0x14,0x28,0x4F,0x80, // 'o'
0x7D,0x0A,0x14,0x2F,0xDF,0x20,0x40,0x80,0x00, // 'p'
0x7D,0x0A,0x14,0x2F,0xCF,0x81,0x02,0x04,0x00, // 'q'
0x7B,0xE8,0x20,0x80,0x00, // 'r'
0x01,0x02,0x04,0x0F,0x8F,0x81,0x02,0x04,0xF8, // 's'
0x01,0x02,0x04,0x0F,0x9F,0x20,0x40,0x80,0xF8, // 't'
0x85,0x0A,0x14,0x27,0xC0, // 'u'
0x01,0x0A,0x14,0x28,0x50,0xA1,0x42,0x84,0xF8, // 'v'
0x01,0x0A,0x14,0x2F,0xDF,0xA1,0x42,0x84,0xF8, // 'w'
0x01,0x0A,0x14,0x2F,0xDF,0xA1,0x42,0x84,0x00, // 'x'
0x01,0x0A,0x14,0x2F,0xCF,0x81,0x02,0x04,0xF8, // 'y'
0x7C,0x08,0x10,0x20,0x50,0x20,0x40,0x80,0xF8, // 'z'
0xEA,0xAA,0xAA,0xE0, // '{'
0xEA,0xAA,0xAA,0xE0, // '|'
0xEA,0xAA,0xAA,0xE0 // '}'
};
const GFXglyph DSEG7_Classic_Bold_10Glyphs[] PROGMEM = {
// bitmapOffset, width, height, xAdvance, xOffset, yOffset
{ 0, 1, 1, 3, 0, 0 }, // ' '
{ 1, 1, 1, 9, 0, 0 }, // '!'
{ 2, 4, 7, 5, 0, -7 }, // '"'
{ 6, 4, 7, 5, 0, -7 }, // '#'
{ 10, 4, 7, 5, 0, -7 }, // '$'
{ 14, 4, 7, 5, 0, -7 }, // '%'
{ 18, 4, 7, 5, 0, -7 }, // '&'
{ 22, 4, 7, 5, 0, -7 }, // '''
{ 26, 4, 7, 5, 0, -7 }, // '('
{ 30, 4, 7, 5, 0, -7 }, // ')'
{ 34, 4, 7, 5, 0, -7 }, // '*'
{ 38, 4, 7, 5, 0, -7 }, // '+'
{ 42, 4, 7, 5, 0, -7 }, // ','
{ 46, 5, 2, 9, 2, -6 }, // '-'
{ 48, 3, 1, 1, -1, -1 }, // '.'
{ 49, 4, 7, 5, 0, -7 }, // '/'
{ 53, 7, 10, 9, 1, -10 }, // '0'
{ 62, 2, 10, 9, 6, -10 }, // '1'
{ 65, 7, 10, 9, 1, -10 }, // '2'
{ 74, 7, 10, 9, 1, -10 }, // '3'
{ 83, 7, 10, 9, 1, -10 }, // '4'
{ 92, 7, 10, 9, 1, -10 }, // '5'
{ 101, 7, 10, 9, 1, -10 }, // '6'
{ 110, 7, 10, 9, 1, -10 }, // '7'
{ 119, 7, 10, 9, 1, -10 }, // '8'
{ 128, 7, 10, 9, 1, -10 }, // '9'
{ 137, 3, 6, 3, 0, -8 }, // ':'
{ 140, 4, 7, 5, 0, -7 }, // ';'
{ 144, 4, 7, 5, 0, -7 }, // '<'
{ 148, 4, 7, 5, 0, -7 }, // '='
{ 152, 4, 7, 5, 0, -7 }, // '>'
{ 156, 4, 7, 5, 0, -7 }, // '?'
{ 160, 4, 7, 5, 0, -7 }, // '@'
{ 164, 7, 10, 9, 1, -10 }, // 'A'
{ 173, 7, 10, 9, 1, -10 }, // 'B'
{ 182, 7, 6, 9, 1, -6 }, // 'C'
{ 188, 7, 10, 9, 1, -10 }, // 'D'
{ 197, 7, 10, 9, 1, -10 }, // 'E'
{ 206, 7, 10, 9, 1, -10 }, // 'F'
{ 215, 7, 10, 9, 1, -10 }, // 'G'
{ 224, 7, 10, 9, 1, -10 }, // 'H'
{ 233, 2, 5, 9, 6, -5 }, // 'I'
{ 235, 7, 10, 9, 1, -10 }, // 'J'
{ 244, 7, 10, 9, 1, -10 }, // 'K'
{ 253, 7, 10, 9, 1, -10 }, // 'L'
{ 262, 7, 10, 9, 1, -10 }, // 'M'
{ 271, 7, 6, 9, 1, -6 }, // 'N'
{ 277, 7, 6, 9, 1, -6 }, // 'O'
{ 283, 7, 10, 9, 1, -10 }, // 'P'
{ 292, 7, 10, 9, 1, -10 }, // 'Q'
{ 301, 6, 6, 9, 1, -6 }, // 'R'
{ 306, 7, 10, 9, 1, -10 }, // 'S'
{ 315, 7, 10, 9, 1, -10 }, // 'T'
{ 324, 7, 5, 9, 1, -5 }, // 'U'
{ 329, 7, 10, 9, 1, -10 }, // 'V'
{ 338, 7, 10, 9, 1, -10 }, // 'W'
{ 347, 7, 10, 9, 1, -10 }, // 'X'
{ 356, 7, 10, 9, 1, -10 }, // 'Y'
{ 365, 7, 10, 9, 1, -10 }, // 'Z'
{ 374, 4, 7, 5, 0, -7 }, // '['
{ 378, 4, 7, 5, 0, -7 }, // '\'
{ 382, 4, 7, 5, 0, -7 }, // ']'
{ 386, 4, 7, 5, 0, -7 }, // '^'
{ 390, 4, 7, 5, 0, -7 }, // '_'
{ 394, 4, 7, 5, 0, -7 }, // '`'
{ 398, 7, 10, 9, 1, -10 }, // 'a'
{ 407, 7, 10, 9, 1, -10 }, // 'b'
{ 416, 7, 6, 9, 1, -6 }, // 'c'
{ 422, 7, 10, 9, 1, -10 }, // 'd'
{ 431, 7, 10, 9, 1, -10 }, // 'e'
{ 440, 7, 10, 9, 1, -10 }, // 'f'
{ 449, 7, 10, 9, 1, -10 }, // 'g'
{ 458, 7, 10, 9, 1, -10 }, // 'h'
{ 467, 2, 5, 9, 6, -5 }, // 'i'
{ 469, 7, 10, 9, 1, -10 }, // 'j'
{ 478, 7, 10, 9, 1, -10 }, // 'k'
{ 487, 7, 10, 9, 1, -10 }, // 'l'
{ 496, 7, 10, 9, 1, -10 }, // 'm'
{ 505, 7, 6, 9, 1, -6 }, // 'n'
{ 511, 7, 6, 9, 1, -6 }, // 'o'
{ 517, 7, 10, 9, 1, -10 }, // 'p'
{ 526, 7, 10, 9, 1, -10 }, // 'q'
{ 535, 6, 6, 9, 1, -6 }, // 'r'
{ 540, 7, 10, 9, 1, -10 }, // 's'
{ 549, 7, 10, 9, 1, -10 }, // 't'
{ 558, 7, 5, 9, 1, -5 }, // 'u'
{ 563, 7, 10, 9, 1, -10 }, // 'v'
{ 572, 7, 10, 9, 1, -10 }, // 'w'
{ 581, 7, 10, 9, 1, -10 }, // 'x'
{ 590, 7, 10, 9, 1, -10 }, // 'y'
{ 599, 7, 10, 9, 1, -10 }, // 'z'
{ 608, 4, 7, 5, 0, -7 }, // '{'
{ 612, 4, 7, 5, 0, -7 }, // '|'
{ 616, 4, 7, 5, 0, -7 } // '}'
};
const GFXfont DSEG7_Classic_Bold_10 PROGMEM = {
(uint8_t *)DSEG7_Classic_Bold_10Bitmaps,(GFXglyph *)DSEG7_Classic_Bold_10Glyphs,0x20, 0x7E, 11};