Thu, 29 Jul 2021 22:36:17 +0200
Fixed Brewfather beerxml import.
0 | 1 | // This comes with no warranty, implied or otherwise |
2 | ||
3 | // This data structure was designed to support Proportional fonts | |
4 | // on Arduinos. It can however handle any ttf font that has been converted | |
5 | // using the conversion program. These could be fixed width or proportional | |
6 | // fonts. Individual characters do not have to be multiples of 8 bits wide. | |
7 | // Any width is fine and does not need to be fixed. | |
8 | ||
9 | // The data bits are packed to minimize data requirements, but the tradeoff | |
10 | // is that a header is required per character. | |
11 | ||
12 | // def_small.c | |
13 | // Point Size : 9 | |
14 | // Memory usage : 928 bytes | |
15 | // # characters : 95 | |
16 | ||
17 | // Header Format (to make Arduino UTFT Compatible): | |
18 | // ------------------------------------------------ | |
19 | // Character Width (Used as a marker to indicate use this format. i.e.: = 0x00) | |
20 | // Character Height | |
21 | // First Character (Reserved. 0x00) | |
22 | // Number Of Characters (Reserved. 0x00) | |
23 | ||
24 | ||
25 | unsigned char tft_def_small[] = | |
26 | { | |
27 | 0x00, 0x08, 0x00, 0x00, | |
28 | ||
29 | // Individual Character Format: | |
30 | // ---------------------------- | |
31 | // Character Code | |
32 | // Adjusted Y Offset | |
33 | // Width | |
34 | // Height | |
35 | // xOffset | |
36 | // xDelta (the distance to move the cursor. Effective width of the character.) | |
37 | // Data[n] | |
38 | ||
39 | // NOTE: You can remove any of these characters if they are not needed in | |
40 | // your application. The first character number in each Glyph indicates | |
41 | // the ASCII character code. Therefore, these do not have to be sequential. | |
42 | // Just remove all the content for a particular character to save space. | |
43 | ||
44 | // ' ' | |
45 | 0x20,0x08,0x00,0x00,0x00,0x03, | |
46 | ||
47 | // '!' | |
48 | 0x21,0x01,0x01,0x07,0x01,0x03, | |
49 | 0xFA, | |
50 | // '"' | |
51 | 0x22,0x01,0x03,0x02,0x01,0x04, | |
52 | 0xB4, | |
53 | // '#' | |
54 | 0x23,0x01,0x06,0x07,0x01,0x08, | |
55 | 0x28,0xAF,0xCA,0xFD,0x45,0x00, | |
56 | // '$' | |
57 | 0x24,0x01,0x06,0x08,0x00,0x06, | |
58 | 0x21,0xEA,0x38,0x38,0xAF,0x08, | |
59 | // '%' | |
60 | 0x25,0x01,0x08,0x07,0x00,0x09, | |
61 | 0x44,0xA4,0xA8,0x5A,0x15,0x25,0x22, | |
62 | // '&' | |
63 | 0x26,0x01,0x06,0x07,0x01,0x08, | |
64 | 0x31,0x04,0x19,0x9E,0x66,0xC0, | |
65 | // ''' | |
66 | 0x27,0x01,0x01,0x02,0x01,0x02, | |
67 | 0xC0, | |
68 | // '(' | |
69 | 0x28,0x00,0x02,0x08,0x01,0x04, | |
70 | 0x4A,0xA1, | |
71 | // ')' | |
72 | 0x29,0x00,0x02,0x08,0x01,0x04, | |
73 | 0x85,0x52, | |
74 | // '*' | |
75 | 0x2A,0x01,0x05,0x04,0x00,0x05, | |
76 | 0xAB,0x9D,0x50, | |
77 | // '+' | |
78 | 0x2B,0x03,0x05,0x05,0x01,0x08, | |
79 | 0x21,0x3E,0x42,0x00, | |
80 | // ',' | |
81 | 0x2C,0x07,0x01,0x02,0x01,0x03, | |
82 | 0xC0, | |
83 | // '-' | |
84 | 0x2D,0x05,0x02,0x01,0x01,0x03, | |
85 | 0xC0, | |
86 | // '.' | |
87 | 0x2E,0x07,0x01,0x01,0x01,0x03, | |
88 | 0x80, | |
89 | // '/' | |
90 | 0x2F,0x01,0x03,0x07,0x00,0x03, | |
91 | 0x25,0x25,0x20, | |
92 | // '0' | |
93 | 0x30,0x01,0x04,0x07,0x01,0x06, | |
94 | 0x69,0x99,0x99,0x60, | |
95 | // '1' | |
96 | 0x31,0x01,0x03,0x07,0x02,0x06, | |
97 | 0xC9,0x24,0xB8, | |
98 | // '2' | |
99 | 0x32,0x01,0x05,0x07,0x01,0x06, | |
100 | 0x64,0x84,0x44,0x43,0xC0, | |
101 | // '3' | |
102 | 0x33,0x01,0x04,0x07,0x01,0x06, | |
103 | 0x69,0x16,0x11,0x60, | |
104 | // '4' | |
105 | 0x34,0x01,0x05,0x07,0x01,0x06, | |
106 | 0x11,0x94,0xA9,0x7C,0x40, | |
107 | // '5' | |
108 | 0x35,0x01,0x04,0x07,0x01,0x06, | |
109 | 0xF8,0x8E,0x11,0xE0, | |
110 | // '6' | |
111 | 0x36,0x01,0x04,0x07,0x01,0x06, | |
112 | 0x7C,0x8E,0x99,0x60, | |
113 | // '7' | |
114 | 0x37,0x01,0x04,0x07,0x01,0x06, | |
115 | 0xF1,0x22,0x24,0x40, | |
116 | // '8' | |
117 | 0x38,0x01,0x04,0x07,0x01,0x06, | |
118 | 0x69,0x96,0x99,0x60, | |
119 | // '9' | |
120 | 0x39,0x01,0x04,0x07,0x01,0x06, | |
121 | 0x69,0x97,0x13,0xE0, | |
122 | // ':' | |
123 | 0x3A,0x03,0x01,0x05,0x01,0x03, | |
124 | 0x88, | |
125 | // ';' | |
126 | 0x3B,0x03,0x01,0x06,0x01,0x03, | |
127 | 0x8C, | |
128 | // '<' | |
129 | 0x3C,0x03,0x06,0x05,0x01,0x08, | |
130 | 0x04,0xEE,0x0E,0x04, | |
131 | // '=' | |
132 | 0x3D,0x04,0x06,0x03,0x01,0x08, | |
133 | 0xFC,0x0F,0xC0, | |
134 | // '>' | |
135 | 0x3E,0x03,0x06,0x05,0x01,0x08, | |
136 | 0x81,0xC1,0xDC,0x80, | |
137 | // '?' | |
138 | 0x3F,0x01,0x04,0x07,0x01,0x05, | |
139 | 0xE1,0x24,0x40,0x40, | |
140 | // '@' | |
141 | 0x40,0x01,0x08,0x08,0x01,0x0A, | |
142 | 0x3C,0x42,0x9D,0xA5,0xA5,0x9E,0x40,0x38, | |
143 | // 'A' | |
144 | 0x41,0x01,0x06,0x07,0x00,0x06, | |
145 | 0x30,0xC4,0x92,0x7A,0x18,0x40, | |
146 | // 'B' | |
147 | 0x42,0x01,0x05,0x07,0x01,0x07, | |
148 | 0xF4,0x63,0xE8,0xC7,0xC0, | |
149 | // 'C' | |
150 | 0x43,0x01,0x05,0x07,0x01,0x07, | |
151 | 0x72,0x61,0x08,0x25,0xC0, | |
152 | // 'D' | |
153 | 0x44,0x01,0x05,0x07,0x01,0x07, | |
154 | 0xF4,0xE3,0x18,0xCF,0xC0, | |
155 | // 'E' | |
156 | 0x45,0x01,0x04,0x07,0x01,0x06, | |
157 | 0xF8,0x8F,0x88,0xF0, | |
158 | // 'F' | |
159 | 0x46,0x01,0x04,0x07,0x01,0x06, | |
160 | 0xF8,0x8F,0x88,0x80, | |
161 | // 'G' | |
162 | 0x47,0x01,0x05,0x07,0x01,0x07, | |
163 | 0x76,0x61,0x38,0xE5,0xC0, | |
164 | // 'H' | |
165 | 0x48,0x01,0x05,0x07,0x01,0x07, | |
166 | 0x8C,0x63,0xF8,0xC6,0x20, | |
167 | // 'I' | |
168 | 0x49,0x01,0x01,0x07,0x01,0x03, | |
169 | 0xFE, | |
170 | // 'J' | |
171 | 0x4A,0x01,0x02,0x09,0x00,0x03, | |
172 | 0x55,0x55,0x80, | |
173 | // 'K' | |
174 | 0x4B,0x01,0x05,0x07,0x01,0x06, | |
175 | 0x8C,0xA9,0x8A,0x4A,0x20, | |
176 | // 'L' | |
177 | 0x4C,0x01,0x04,0x07,0x01,0x05, | |
178 | 0x88,0x88,0x88,0xF0, | |
179 | // 'M' | |
180 | 0x4D,0x01,0x06,0x07,0x01,0x08, | |
181 | 0x87,0x3C,0xED,0xB6,0x18,0x40, | |
182 | // 'N' | |
183 | 0x4E,0x01,0x05,0x07,0x01,0x07, | |
184 | 0x8E,0x73,0x59,0xCE,0x20, | |
185 | // 'O' | |
186 | 0x4F,0x01,0x05,0x07,0x01,0x07, | |
187 | 0x76,0xE3,0x18,0xED,0xC0, | |
188 | // 'P' | |
189 | 0x50,0x01,0x04,0x07,0x01,0x06, | |
190 | 0xE9,0x9E,0x88,0x80, | |
191 | // 'Q' | |
192 | 0x51,0x01,0x05,0x08,0x01,0x07, | |
193 | 0x76,0xE3,0x18,0xE9,0xC2, | |
194 | // 'R' | |
195 | 0x52,0x01,0x05,0x07,0x01,0x06, | |
196 | 0xE4,0xA5,0xCA,0x4A,0x20, | |
197 | // 'S' | |
198 | 0x53,0x01,0x06,0x07,0x01,0x07, | |
199 | 0x72,0x28,0x1C,0x0A,0x27,0x00, | |
200 | // 'T' | |
201 | 0x54,0x01,0x05,0x07,0x00,0x05, | |
202 | 0xF9,0x08,0x42,0x10,0x80, | |
203 | // 'U' | |
204 | 0x55,0x01,0x05,0x07,0x01,0x07, | |
205 | 0x8C,0x63,0x18,0xC5,0xC0, | |
206 | // 'V' | |
207 | 0x56,0x01,0x06,0x07,0x00,0x06, | |
208 | 0x86,0x14,0x92,0x48,0xC3,0x00, | |
209 | // 'W' | |
210 | 0x57,0x01,0x09,0x07,0xFF,0x07, | |
211 | 0x49,0x24,0x8A,0x85,0x43,0xE0,0xA0,0x50, | |
212 | // 'X' | |
213 | 0x58,0x01,0x06,0x07,0x00,0x06, | |
214 | 0xCD,0x23,0x0C,0x31,0x28,0xC0, | |
215 | // 'Y' | |
216 | 0x59,0x01,0x05,0x07,0x00,0x05, | |
217 | 0x8A,0x9C,0x42,0x10,0x80, | |
218 | // 'Z' | |
219 | 0x5A,0x01,0x05,0x07,0x00,0x05, | |
220 | 0xF8,0x44,0x44,0x43,0xE0, | |
221 | // '[' | |
222 | 0x5B,0x01,0x02,0x08,0x01,0x04, | |
223 | 0xEA,0xAB, | |
224 | // '\' | |
225 | 0x5C,0x01,0x03,0x07,0x00,0x03, | |
226 | 0x91,0x24,0x48, | |
227 | // ']' | |
228 | 0x5D,0x01,0x02,0x08,0x01,0x04, | |
229 | 0xD5,0x57, | |
230 | // '^' | |
231 | 0x5E,0x01,0x06,0x02,0x01,0x08, | |
232 | 0x31,0x20, | |
233 | // '_' | |
234 | 0x5F,0x09,0x05,0x01,0x00,0x05, | |
235 | 0xF8, | |
236 | // '`' | |
237 | 0x60,0x00,0x02,0x02,0x01,0x05, | |
238 | 0x90, | |
239 | // 'a' | |
240 | 0x61,0x03,0x04,0x05,0x01,0x06, | |
241 | 0x61,0x79,0xF0, | |
242 | // 'b' | |
243 | 0x62,0x00,0x04,0x08,0x01,0x06, | |
244 | 0x88,0x8E,0x99,0x9E, | |
245 | // 'c' | |
246 | 0x63,0x03,0x04,0x05,0x01,0x06, | |
247 | 0x78,0x88,0x70, | |
248 | // 'd' | |
249 | 0x64,0x00,0x04,0x08,0x01,0x06, | |
250 | 0x11,0x17,0x99,0x97, | |
251 | // 'e' | |
252 | 0x65,0x03,0x04,0x05,0x01,0x06, | |
253 | 0x69,0xF8,0x70, | |
254 | // 'f' | |
255 | 0x66,0x00,0x04,0x08,0x00,0x03, | |
256 | 0x34,0x4E,0x44,0x44, | |
257 | // 'g' | |
258 | 0x67,0x03,0x04,0x07,0x01,0x06, | |
259 | 0x79,0x99,0x71,0x60, | |
260 | // 'h' | |
261 | 0x68,0x00,0x04,0x08,0x01,0x06, | |
262 | 0x88,0x8E,0x99,0x99, | |
263 | // 'i' | |
264 | 0x69,0x01,0x01,0x07,0x01,0x03, | |
265 | 0xBE, | |
266 | // 'j' | |
267 | 0x6A,0x01,0x02,0x09,0x00,0x03, | |
268 | 0x45,0x55,0x80, | |
269 | // 'k' | |
270 | 0x6B,0x00,0x04,0x08,0x01,0x05, | |
271 | 0x88,0x89,0xAC,0xA9, | |
272 | // 'l' | |
273 | 0x6C,0x00,0x01,0x08,0x01,0x03, | |
274 | 0xFF, | |
275 | // 'm' | |
276 | 0x6D,0x03,0x07,0x05,0x01,0x09, | |
277 | 0xED,0x26,0x4C,0x99,0x20, | |
278 | // 'n' | |
279 | 0x6E,0x03,0x04,0x05,0x01,0x06, | |
280 | 0xE9,0x99,0x90, | |
281 | // 'o' | |
282 | 0x6F,0x03,0x04,0x05,0x01,0x06, | |
283 | 0x69,0x99,0x60, | |
284 | // 'p' | |
285 | 0x70,0x03,0x04,0x07,0x01,0x06, | |
286 | 0xE9,0x99,0xE8,0x80, | |
287 | // 'q' | |
288 | 0x71,0x03,0x04,0x07,0x01,0x06, | |
289 | 0x79,0x99,0x71,0x10, | |
290 | // 'r' | |
291 | 0x72,0x03,0x03,0x05,0x01,0x04, | |
292 | 0xF2,0x48, | |
293 | // 's' | |
294 | 0x73,0x03,0x04,0x05,0x01,0x05, | |
295 | 0x68,0x62,0xE0, | |
296 | // 't' | |
297 | 0x74,0x02,0x04,0x06,0x00,0x04, | |
298 | 0x4F,0x44,0x47, | |
299 | // 'u' | |
300 | 0x75,0x03,0x04,0x05,0x01,0x06, | |
301 | 0x99,0x99,0x70, | |
302 | // 'v' | |
303 | 0x76,0x03,0x07,0x05,0xFF,0x05, | |
304 | 0x44,0x98,0xA1,0xC1,0x00, | |
305 | // 'w' | |
306 | 0x77,0x03,0x07,0x05,0x00,0x07, | |
307 | 0x93,0x76,0xBA,0x24,0x40, | |
308 | // 'x' | |
309 | 0x78,0x03,0x05,0x05,0x00,0x05, | |
310 | 0x8A,0x88,0xA8,0x80, | |
311 | // 'y' | |
312 | 0x79,0x03,0x07,0x07,0xFF,0x05, | |
313 | 0x44,0x88,0xA1,0xC1,0x02,0x18,0x00, | |
314 | // 'z' | |
315 | 0x7A,0x03,0x04,0x05,0x01,0x06, | |
316 | 0xF1,0x24,0xF0, | |
317 | // '{' | |
318 | 0x7B,0x01,0x03,0x08,0x01,0x05, | |
319 | 0x69,0x64,0x93, | |
320 | // '|' | |
321 | 0x7C,0x01,0x01,0x09,0x01,0x03, | |
322 | 0xFF,0x80, | |
323 | // '}' | |
324 | 0x7D,0x01,0x03,0x08,0x01,0x05, | |
325 | 0xC9,0x34,0x96, | |
326 | // '~' | |
327 | 0x7E,0x03,0x06,0x03,0x01,0x08, | |
328 | 0x01,0x91,0x80, | |
329 | ||
330 | // Terminator | |
331 | 0xFF | |
332 | }; |