forked from Prokuon/watchy-starfield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DSEG7_Classic_Regular_15.h
199 lines (198 loc) · 12.1 KB
/
DSEG7_Classic_Regular_15.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_Regular_15Bitmaps[] PROGMEM = {
// Bitmap Data:
0x00, // ' '
0x00, // '!'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '"'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '#'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '$'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '%'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '&'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '''
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '('
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // ')'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '*'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '+'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // ','
0xFF,0x00, // '-'
0xD8, // '.'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '/'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x30,0x00,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0, // '0'
0xDB,0x6D,0x86,0xDB,0x6C, // '1'
0x7F,0x80,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x33,0xFC,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE0, // '2'
0xFF,0x00,0x60,0x18,0x06,0x01,0x80,0x60,0x1B,0xFC,0x01,0x80,0x60,0x18,0x06,0x01,0x80,0x6F,0xF0, // '3'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0,0x06,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C, // '4'
0x7F,0x98,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x03,0xFC,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x9F,0xE0, // '5'
0x7F,0x98,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x03,0xFC,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0, // '6'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x30,0x00,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80, // '7'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0, // '8'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x9F,0xE0, // '9'
0xA0,0x0A, // ':'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // ';'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '<'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '='
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '>'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '?'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '@'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x80, // 'A'
0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'B'
0x7F,0xB0,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x01,0xFE, // 'C'
0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x9F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'D'
0x7F,0xB0,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x01,0xFE,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x07,0xF8, // 'E'
0x7F,0xB0,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x01,0xFE,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x00, // 'F'
0x7F,0x98,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x00,0x00,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0, // 'G'
0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C, // 'H'
0xDB,0x6D,0x80, // 'I'
0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x06,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'J'
0x7F,0x98,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x03,0xFC,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x80, // 'K'
0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x00,0x03,0x00,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x1F,0xE0, // 'L'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x30,0x00,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x80, // 'M'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x30, // 'N'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC, // 'O'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x00, // 'P'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80, // 'Q'
0x7F,0xB0,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x00, // 'R'
0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE0,0x06,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0xFF,0x00, // 'S'
0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x07,0xFB,0x00,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x1F,0xE0, // 'T'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0, // 'U'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x80,0x06,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'V'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'W'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C, // 'X'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0,0x06,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0xFF,0x00, // 'Y'
0x7F,0x80,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE0, // 'Z'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '['
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '\'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // ']'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '^'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '_'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '`'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x80, // 'a'
0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'b'
0x7F,0xB0,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x01,0xFE, // 'c'
0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x9F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'd'
0x7F,0xB0,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x01,0xFE,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x07,0xF8, // 'e'
0x7F,0xB0,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x01,0xFE,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x00, // 'f'
0x7F,0x98,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x00,0x00,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0, // 'g'
0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C, // 'h'
0xDB,0x6D,0x80, // 'i'
0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x06,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'j'
0x7F,0x98,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x03,0xFC,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x80, // 'k'
0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x00,0x03,0x00,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x1F,0xE0, // 'l'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x30,0x00,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x80, // 'm'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x30, // 'n'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC, // 'o'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x00, // 'p'
0x7F,0x98,0x1B,0x03,0x60,0x6C,0x0D,0x81,0xB0,0x33,0xFC,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80, // 'q'
0x7F,0xB0,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x00, // 'r'
0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE0,0x06,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0xFF,0x00, // 's'
0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x07,0xFB,0x00,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x1F,0xE0, // 't'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0, // 'u'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x80,0x06,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'v'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C,0xFF,0x00, // 'w'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE6,0x06,0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0C, // 'x'
0xC0,0xD8,0x1B,0x03,0x60,0x6C,0x0D,0x81,0x9F,0xE0,0x06,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0xFF,0x00, // 'y'
0x7F,0x80,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x00,0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x1F,0xE0, // 'z'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '{'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC, // '|'
0xF4,0xA5,0x29,0x4A,0x52,0x94,0xBC // '}'
};
const GFXglyph DSEG7_Classic_Regular_15Glyphs[] PROGMEM = {
// bitmapOffset, width, height, xAdvance, xOffset, yOffset
{ 0, 1, 1, 4, 0, 0 }, // ' '
{ 1, 1, 1, 13, 0, 0 }, // '!'
{ 2, 5, 11, 6, 1, -11 }, // '"'
{ 9, 5, 11, 6, 1, -11 }, // '#'
{ 16, 5, 11, 6, 1, -11 }, // '$'
{ 23, 5, 11, 6, 1, -11 }, // '%'
{ 30, 5, 11, 6, 1, -11 }, // '&'
{ 37, 5, 11, 6, 1, -11 }, // '''
{ 44, 5, 11, 6, 1, -11 }, // '('
{ 51, 5, 11, 6, 1, -11 }, // ')'
{ 58, 5, 11, 6, 1, -11 }, // '*'
{ 65, 5, 11, 6, 1, -11 }, // '+'
{ 72, 5, 11, 6, 1, -11 }, // ','
{ 79, 9, 1, 13, 2, -8 }, // '-'
{ 81, 3, 2, 1, -1, -2 }, // '.'
{ 82, 5, 11, 6, 1, -11 }, // '/'
{ 89, 11, 15, 13, 1, -15 }, // '0'
{ 110, 3, 13, 13, 9, -14 }, // '1'
{ 115, 11, 15, 13, 1, -15 }, // '2'
{ 136, 10, 15, 13, 2, -15 }, // '3'
{ 155, 11, 13, 13, 1, -14 }, // '4'
{ 173, 11, 15, 13, 1, -15 }, // '5'
{ 194, 11, 15, 13, 1, -15 }, // '6'
{ 215, 11, 14, 13, 1, -15 }, // '7'
{ 235, 11, 15, 13, 1, -15 }, // '8'
{ 256, 11, 15, 13, 1, -15 }, // '9'
{ 277, 2, 8, 4, 1, -11 }, // ':'
{ 279, 5, 11, 6, 1, -11 }, // ';'
{ 286, 5, 11, 6, 1, -11 }, // '<'
{ 293, 5, 11, 6, 1, -11 }, // '='
{ 300, 5, 11, 6, 1, -11 }, // '>'
{ 307, 5, 11, 6, 1, -11 }, // '?'
{ 314, 5, 11, 6, 1, -11 }, // '@'
{ 321, 11, 14, 13, 1, -15 }, // 'A'
{ 341, 11, 14, 13, 1, -14 }, // 'B'
{ 361, 10, 8, 13, 1, -8 }, // 'C'
{ 371, 11, 14, 13, 1, -14 }, // 'D'
{ 391, 10, 15, 13, 1, -15 }, // 'E'
{ 410, 10, 14, 13, 1, -15 }, // 'F'
{ 428, 11, 15, 13, 1, -15 }, // 'G'
{ 449, 11, 13, 13, 1, -14 }, // 'H'
{ 467, 3, 6, 13, 9, -7 }, // 'I'
{ 470, 11, 14, 13, 1, -14 }, // 'J'
{ 490, 11, 14, 13, 1, -15 }, // 'K'
{ 510, 10, 14, 13, 1, -14 }, // 'L'
{ 528, 11, 14, 13, 1, -15 }, // 'M'
{ 548, 11, 7, 13, 1, -8 }, // 'N'
{ 558, 11, 8, 13, 1, -8 }, // 'O'
{ 569, 11, 14, 13, 1, -15 }, // 'P'
{ 589, 11, 14, 13, 1, -15 }, // 'Q'
{ 609, 10, 7, 13, 1, -8 }, // 'R'
{ 618, 11, 14, 13, 1, -14 }, // 'S'
{ 638, 10, 14, 13, 1, -14 }, // 'T'
{ 656, 11, 7, 13, 1, -7 }, // 'U'
{ 666, 11, 14, 13, 1, -14 }, // 'V'
{ 686, 11, 14, 13, 1, -14 }, // 'W'
{ 706, 11, 13, 13, 1, -14 }, // 'X'
{ 724, 11, 14, 13, 1, -14 }, // 'Y'
{ 744, 11, 15, 13, 1, -15 }, // 'Z'
{ 765, 5, 11, 6, 1, -11 }, // '['
{ 772, 5, 11, 6, 1, -11 }, // '\'
{ 779, 5, 11, 6, 1, -11 }, // ']'
{ 786, 5, 11, 6, 1, -11 }, // '^'
{ 793, 5, 11, 6, 1, -11 }, // '_'
{ 800, 5, 11, 6, 1, -11 }, // '`'
{ 807, 11, 14, 13, 1, -15 }, // 'a'
{ 827, 11, 14, 13, 1, -14 }, // 'b'
{ 847, 10, 8, 13, 1, -8 }, // 'c'
{ 857, 11, 14, 13, 1, -14 }, // 'd'
{ 877, 10, 15, 13, 1, -15 }, // 'e'
{ 896, 10, 14, 13, 1, -15 }, // 'f'
{ 914, 11, 15, 13, 1, -15 }, // 'g'
{ 935, 11, 13, 13, 1, -14 }, // 'h'
{ 953, 3, 6, 13, 9, -7 }, // 'i'
{ 956, 11, 14, 13, 1, -14 }, // 'j'
{ 976, 11, 14, 13, 1, -15 }, // 'k'
{ 996, 10, 14, 13, 1, -14 }, // 'l'
{ 1014, 11, 14, 13, 1, -15 }, // 'm'
{ 1034, 11, 7, 13, 1, -8 }, // 'n'
{ 1044, 11, 8, 13, 1, -8 }, // 'o'
{ 1055, 11, 14, 13, 1, -15 }, // 'p'
{ 1075, 11, 14, 13, 1, -15 }, // 'q'
{ 1095, 10, 7, 13, 1, -8 }, // 'r'
{ 1104, 11, 14, 13, 1, -14 }, // 's'
{ 1124, 10, 14, 13, 1, -14 }, // 't'
{ 1142, 11, 7, 13, 1, -7 }, // 'u'
{ 1152, 11, 14, 13, 1, -14 }, // 'v'
{ 1172, 11, 14, 13, 1, -14 }, // 'w'
{ 1192, 11, 13, 13, 1, -14 }, // 'x'
{ 1210, 11, 14, 13, 1, -14 }, // 'y'
{ 1230, 11, 15, 13, 1, -15 }, // 'z'
{ 1251, 5, 11, 6, 1, -11 }, // '{'
{ 1258, 5, 11, 6, 1, -11 }, // '|'
{ 1265, 5, 11, 6, 1, -11 } // '}'
};
const GFXfont DSEG7_Classic_Regular_15 PROGMEM = {
(uint8_t *)DSEG7_Classic_Regular_15Bitmaps,(GFXglyph *)DSEG7_Classic_Regular_15Glyphs,0x20, 0x7E, 17};