-
Notifications
You must be signed in to change notification settings - Fork 23
/
font_outlined8x8.c
182 lines (179 loc) · 9.11 KB
/
font_outlined8x8.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
/**
* Super OSD, software revision 3
* Copyright (C) 2010 Thomas Oldbury
*
* Please note the font data here is covered under Creative
* Commons licenses (version 3.0 BY-SA) and *not* the GPL.
*/
// This data is generated by a Python script from
// the original font .pngs.
// 0xff = indicates character not present
// any other byte contains the index of the character.
const char font_lookup_outlined8x8[256] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x00, 0x01, 0x02, 0x03, 0xff, 0xff, 0xff, 0x04,
0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c,
0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
0x15, 0x16, 0x17, 0xff, 0x18, 0x19, 0x1a, 0x1b,
0xff, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22,
0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a,
0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32,
0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0xff, 0x39,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
};
const char font_data_outlined8x8[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 0x20
0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x00,
0x00, 0x10, 0x10, 0x10, 0x00, 0x10, 0x00, 0x00, // 0x21
0x44, 0xee, 0xee, 0x44, 0x00, 0x00, 0x00, 0x00,
0x00, 0x44, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, // 0x22
0x28, 0x7c, 0xfe, 0x7c, 0xfe, 0x7c, 0x28, 0x00,
0x00, 0x28, 0x7c, 0x28, 0x7c, 0x28, 0x00, 0x00, // 0x23
0x10, 0x38, 0x38, 0x10, 0x00, 0x00, 0x00, 0x00,
0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, // 0x27
0x10, 0x38, 0x70, 0x70, 0x70, 0x38, 0x10, 0x00,
0x00, 0x10, 0x20, 0x20, 0x20, 0x10, 0x00, 0x00, // 0x28
0x20, 0x70, 0x38, 0x38, 0x38, 0x70, 0x20, 0x00,
0x00, 0x20, 0x10, 0x10, 0x10, 0x20, 0x00, 0x00, // 0x29
0x28, 0x7c, 0x38, 0x7c, 0x28, 0x00, 0x00, 0x00,
0x00, 0x28, 0x10, 0x28, 0x00, 0x00, 0x00, 0x00, // 0x2a
0x38, 0x38, 0xfe, 0xfe, 0xfe, 0x38, 0x38, 0x00,
0x00, 0x10, 0x10, 0x7c, 0x10, 0x10, 0x00, 0x00, // 0x2b
0x00, 0x00, 0x78, 0x78, 0x78, 0x78, 0x38, 0x00,
0x00, 0x00, 0x00, 0x30, 0x30, 0x10, 0x00, 0x00, // 0x2c
0x00, 0x00, 0xfe, 0xfe, 0xfe, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x00, // 0x2d
0x00, 0x00, 0x00, 0x78, 0x78, 0x78, 0x78, 0x00,
0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x00, 0x00, // 0x2e
0x04, 0x0e, 0x1c, 0x38, 0x70, 0xe0, 0x40, 0x00,
0x00, 0x04, 0x08, 0x10, 0x20, 0x40, 0x00, 0x00, // 0x2f
0x7c, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x7c, 0x00,
0x00, 0x38, 0x44, 0x54, 0x44, 0x38, 0x00, 0x00, // 0x30
0x3c, 0x7c, 0xfc, 0xfc, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x18, 0x28, 0x48, 0x08, 0x7c, 0x00, 0x00, // 0x31
0xfc, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x78, 0x04, 0x78, 0x40, 0x7c, 0x00, 0x00, // 0x32
0xfe, 0xfe, 0xfe, 0x7e, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x04, 0x3c, 0x04, 0x7c, 0x00, 0x00, // 0x33
0xee, 0xee, 0xfe, 0xfe, 0x7e, 0x0e, 0x0e, 0x00,
0x00, 0x44, 0x44, 0x3c, 0x04, 0x04, 0x00, 0x00, // 0x34
0xfc, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfc, 0x00,
0x00, 0x7c, 0x40, 0x78, 0x04, 0x78, 0x00, 0x00, // 0x35
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x40, 0x7c, 0x44, 0x7c, 0x00, 0x00, // 0x36
0xfe, 0xfe, 0xfe, 0x38, 0x70, 0xe0, 0xc0, 0x00,
0x00, 0x7c, 0x08, 0x10, 0x20, 0x40, 0x00, 0x00, // 0x37
0x7c, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x7c, 0x00,
0x00, 0x38, 0x44, 0x7c, 0x44, 0x38, 0x00, 0x00, // 0x38
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x7e, 0x7e, 0x00,
0x00, 0x7c, 0x44, 0x7c, 0x04, 0x3c, 0x00, 0x00, // 0x39
0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x00,
0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x00, 0x00, // 0x3a
0x08, 0x1c, 0x38, 0x70, 0x38, 0x1c, 0x08, 0x00,
0x00, 0x08, 0x10, 0x20, 0x10, 0x08, 0x00, 0x00, // 0x3c
0xfe, 0xfe, 0xfe, 0x00, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, // 0x3d
0x20, 0x70, 0x38, 0x1c, 0x38, 0x70, 0x20, 0x00,
0x00, 0x20, 0x10, 0x08, 0x10, 0x20, 0x00, 0x00, // 0x3e
0x7c, 0xfe, 0xfe, 0xfe, 0x3c, 0x38, 0x38, 0x00,
0x00, 0x38, 0x44, 0x18, 0x00, 0x10, 0x00, 0x00, // 0x3f
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xee, 0xee, 0x00,
0x00, 0x7c, 0x44, 0x7c, 0x44, 0x44, 0x00, 0x00, // 0x41
0xfc, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfc, 0x00,
0x00, 0x78, 0x44, 0x7c, 0x44, 0x78, 0x00, 0x00, // 0x42
0xfe, 0xfe, 0xfe, 0xe0, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x40, 0x40, 0x40, 0x7c, 0x00, 0x00, // 0x43
0xfc, 0xfe, 0xfe, 0xee, 0xfe, 0xfe, 0xfc, 0x00,
0x00, 0x78, 0x44, 0x44, 0x44, 0x78, 0x00, 0x00, // 0x44
0xfe, 0xfe, 0xfe, 0xfc, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x40, 0x78, 0x40, 0x7c, 0x00, 0x00, // 0x45
0xfe, 0xfe, 0xfe, 0xfc, 0xfc, 0xe0, 0xe0, 0x00,
0x00, 0x7c, 0x40, 0x78, 0x40, 0x40, 0x00, 0x00, // 0x46
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x40, 0x5c, 0x44, 0x7c, 0x00, 0x00, // 0x47
0xee, 0xee, 0xfe, 0xfe, 0xfe, 0xee, 0xee, 0x00,
0x00, 0x44, 0x44, 0x7c, 0x44, 0x44, 0x00, 0x00, // 0x48
0xfe, 0xfe, 0xfe, 0x38, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x10, 0x10, 0x10, 0x7c, 0x00, 0x00, // 0x49
0xfe, 0xfe, 0xfe, 0x1c, 0xfc, 0xfc, 0xfc, 0x00,
0x00, 0x7c, 0x08, 0x08, 0x08, 0x78, 0x00, 0x00, // 0x4a
0xe6, 0xee, 0xfc, 0xf8, 0xfc, 0xee, 0xe6, 0x00,
0x00, 0x44, 0x48, 0x70, 0x48, 0x44, 0x00, 0x00, // 0x4b
0xe0, 0xe0, 0xe0, 0xe0, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x40, 0x40, 0x40, 0x40, 0x7c, 0x00, 0x00, // 0x4c
0x6c, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xee, 0x00,
0x00, 0x28, 0x54, 0x54, 0x54, 0x44, 0x00, 0x00, // 0x4d
0xee, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xee, 0x00,
0x00, 0x44, 0x64, 0x54, 0x4c, 0x44, 0x00, 0x00, // 0x4e
0xfe, 0xfe, 0xfe, 0xee, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x44, 0x44, 0x44, 0x7c, 0x00, 0x00, // 0x4f
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xe0, 0xe0, 0x00,
0x00, 0x7c, 0x44, 0x7c, 0x40, 0x40, 0x00, 0x00, // 0x50
0xfe, 0xfe, 0xfe, 0xee, 0xfc, 0xfe, 0xf6, 0x00,
0x00, 0x7c, 0x44, 0x44, 0x48, 0x74, 0x00, 0x00, // 0x51
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfc, 0xe8, 0x00,
0x00, 0x7c, 0x44, 0x7c, 0x50, 0x48, 0x00, 0x00, // 0x52
0x7e, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfc, 0x00,
0x00, 0x3c, 0x40, 0x7c, 0x04, 0x78, 0x00, 0x00, // 0x53
0xfe, 0xfe, 0xfe, 0x38, 0x38, 0x38, 0x38, 0x00,
0x00, 0x7c, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, // 0x54
0xee, 0xee, 0xee, 0xee, 0xfe, 0xfe, 0x7c, 0x00,
0x00, 0x44, 0x44, 0x44, 0x44, 0x38, 0x00, 0x00, // 0x55
0xee, 0xee, 0xee, 0xfe, 0xfe, 0x7c, 0x38, 0x00,
0x00, 0x44, 0x44, 0x44, 0x28, 0x10, 0x00, 0x00, // 0x56
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x6c, 0x00,
0x00, 0x54, 0x54, 0x54, 0x54, 0x28, 0x00, 0x00, // 0x57
0xee, 0xfe, 0xfe, 0x7c, 0xfe, 0xfe, 0xee, 0x00,
0x00, 0x44, 0x28, 0x10, 0x28, 0x44, 0x00, 0x00, // 0x58
0xee, 0xfe, 0xfe, 0x7c, 0x38, 0x38, 0x38, 0x00,
0x00, 0x44, 0x28, 0x10, 0x10, 0x10, 0x00, 0x00, // 0x59
0xfe, 0xfe, 0xfe, 0x78, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x7c, 0x08, 0x10, 0x20, 0x7c, 0x00, 0x00, // 0x5a
0x38, 0x7c, 0x78, 0x70, 0x78, 0x7c, 0x38, 0x00,
0x00, 0x38, 0x20, 0x20, 0x20, 0x38, 0x00, 0x00, // 0x5b
0x40, 0xe0, 0x70, 0x38, 0x1c, 0x0e, 0x04, 0x00,
0x00, 0x40, 0x20, 0x10, 0x08, 0x04, 0x00, 0x00, // 0x5c
0x38, 0x7c, 0x3c, 0x1c, 0x3c, 0x7c, 0x38, 0x00,
0x00, 0x38, 0x08, 0x08, 0x08, 0x38, 0x00, 0x00, // 0x5d
0x00, 0x00, 0x00, 0x00, 0xfe, 0xfe, 0xfe, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, // 0x5f
0x10, 0x38, 0x7c, 0xfe, 0xfe, 0x38, 0x38, 0x00,
0x00, 0x10, 0x38, 0x54, 0x10, 0x10, 0x00, 0x00, // 0x80
0x3e, 0x3e, 0x1e, 0x3e, 0x76, 0xe0, 0x40, 0x00,
0x00, 0x1c, 0x0c, 0x14, 0x20, 0x40, 0x00, 0x00, // 0x81
0x10, 0x38, 0xfc, 0xfe, 0xfc, 0x38, 0x10, 0x00,
0x00, 0x10, 0x08, 0x7c, 0x08, 0x10, 0x00, 0x00, // 0x82
0x40, 0xe0, 0x76, 0x3e, 0x1e, 0x3e, 0x3e, 0x00,
0x00, 0x40, 0x20, 0x14, 0x0c, 0x1c, 0x00, 0x00, // 0x83
0x38, 0x38, 0xfe, 0xfe, 0x7c, 0x38, 0x10, 0x00,
0x00, 0x10, 0x10, 0x54, 0x38, 0x10, 0x00, 0x00, // 0x84
0x04, 0x0e, 0xdc, 0xf8, 0xf0, 0xf8, 0xf8, 0x00,
0x00, 0x04, 0x08, 0x50, 0x60, 0x70, 0x00, 0x00, // 0x85
0x10, 0x38, 0x7e, 0xfe, 0x7e, 0x38, 0x10, 0x00,
0x00, 0x10, 0x20, 0x7c, 0x20, 0x10, 0x00, 0x00, // 0x86
0xf8, 0xf8, 0xf0, 0xf8, 0xdc, 0x0e, 0x04, 0x00,
0x00, 0x70, 0x60, 0x50, 0x08, 0x04, 0x00, 0x00 // 0x87
};