-
Notifications
You must be signed in to change notification settings - Fork 2
/
data.go
423 lines (391 loc) · 8.85 KB
/
data.go
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
// DO NOT EDIT
// Generated by: go run 9font.go -samedir -maxbpp 2 -dir 2bpp bit/dejavusansit/dejavusansit.12.font
package dejavusansit12
import (
"image"
"github.com/embeddedgo/display/font/subfont/font9"
"github.com/embeddedgo/display/images"
)
// Xfff9 font data, 126 bytes, orgbpp: 8
var Xfff9 = font9.Variable{
Info: infoXfff9, // 30 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -11},
Max: image.Point{X: 12, Y: 1},
},
LogN: 1, // 2 bpp
Stride: 4,
Pix: pixXfff9, // 48 bytes
},
}
// Xfe00 font data, 1099 bytes, orgbpp: 8
var Xfe00 = font9.Variable{
Info: infoXfe00, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 19, Y: -9},
},
LogN: 1, // 2 bpp
Stride: 7,
Pix: pixXfe00, // 21 bytes
},
}
// Xfb00 font data, 2638 bytes, orgbpp: 8
var Xfb00 = font9.Variable{
Info: infoXfb00, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 442, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 120,
Pix: pixXfb00, // 1560 bytes
},
}
// Xf6c5 font data, 1100 bytes, orgbpp: 8
var Xf6c5 = font9.Variable{
Info: infoXf6c5, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 7, Y: 1},
},
LogN: 1, // 2 bpp
Stride: 2,
Pix: pixXf6c5, // 22 bytes
},
}
// Xef00 font data, 1368 bytes, orgbpp: 8
var Xef00 = font9.Variable{
Info: infoXef00, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -9},
Max: image.Point{X: 91, Y: 1},
},
LogN: 1, // 2 bpp
Stride: 29,
Pix: pixXef00, // 290 bytes
},
}
// Xa746 font data, 2128 bytes, orgbpp: 8
var Xa746 = font9.Variable{
Info: infoXa746, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 260, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 70,
Pix: pixXa746, // 1050 bytes
},
}
// Xa644 font data, 3288 bytes, orgbpp: 8
var Xa644 = font9.Variable{
Info: infoXa644, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 617, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 170,
Pix: pixXa644, // 2210 bytes
},
}
// X4dc0 font data, 2806 bytes, orgbpp: 8
var X4dc0 = font9.Variable{
Info: infoX4dc0, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 576, Y: 2},
},
LogN: 1, // 2 bpp
Stride: 144,
Pix: pixX4dc0, // 1728 bytes
},
}
// X2e18 font data, 1174 bytes, orgbpp: 8
var X2e18 = font9.Variable{
Info: infoX2e18, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 23, Y: 2},
},
LogN: 1, // 2 bpp
Stride: 8,
Pix: pixX2e18, // 96 bytes
},
}
// X2c60 font data, 1910 bytes, orgbpp: 8
var X2c60 = font9.Variable{
Info: infoX2c60, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 234, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 64,
Pix: pixX2c60, // 832 bytes
},
}
// X2a7d font data, 3483 bytes, orgbpp: 8
var X2a7d = font9.Variable{
Info: infoX2a7d, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 719, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 185,
Pix: pixX2a7d, // 2405 bytes
},
}
// X2940 font data, 2100 bytes, orgbpp: 8
var X2940 = font9.Variable{
Info: infoX2940, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -11},
Max: image.Point{X: 273, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 73,
Pix: pixX2940, // 1022 bytes
},
}
// X2523 font data, 8521 bytes, orgbpp: 8
var X2523 = font9.Variable{
Info: infoX2523, // 958 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 1830, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 501,
Pix: pixX2523, // 7515 bytes
},
}
// X2422 font data, 2263 bytes, orgbpp: 8
var X2422 = font9.Variable{
Info: infoX2422, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 284, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 79,
Pix: pixX2422, // 1185 bytes
},
}
// X2104 font data, 8044 bytes, orgbpp: 8
var X2104 = font9.Variable{
Info: infoX2104, // 954 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -11},
Max: image.Point{X: 1888, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 503,
Pix: pixX2104, // 7042 bytes
},
}
// X2003 font data, 4753 bytes, orgbpp: 8
var X2003 = font9.Variable{
Info: infoX2003, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 889, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 245,
Pix: pixX2003, // 3675 bytes
},
}
// X1f02 font data, 8218 bytes, orgbpp: 8
var X1f02 = font9.Variable{
Info: infoX1f02, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 1758, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 476,
Pix: pixX1f02, // 7140 bytes
},
}
// X1e01 font data, 8578 bytes, orgbpp: 8
var X1e01 = font9.Variable{
Info: infoX1e01, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 1700, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 500,
Pix: pixX1e01, // 7500 bytes
},
}
// X1d00 font data, 3964 bytes, orgbpp: 8
var X1d00 = font9.Variable{
Info: infoX1d00, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 789, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 222,
Pix: pixX1d00, // 2886 bytes
},
}
// X1646 font data, 1546 bytes, orgbpp: 8
var X1646 = font9.Variable{
Info: infoX1646, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -11},
Max: image.Point{X: 144, Y: 1},
},
LogN: 1, // 2 bpp
Stride: 39,
Pix: pixX1646, // 468 bytes
},
}
// X1401 font data, 6990 bytes, orgbpp: 8
var X1401 = font9.Variable{
Info: infoX1401, // 906 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -11},
Max: image.Point{X: 1820, Y: 1},
},
LogN: 1, // 2 bpp
Stride: 503,
Pix: pixX1401, // 6036 bytes
},
}
// X10a0 font data, 3184 bytes, orgbpp: 8
var X10a0 = font9.Variable{
Info: infoX10a0, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 590, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 162,
Pix: pixX10a0, // 2106 bytes
},
}
// X0e3f font data, 3148 bytes, orgbpp: 8
var X0e3f = font9.Variable{
Info: infoX0e3f, // 1030 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 476, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 138,
Pix: pixX0e3f, // 2070 bytes
},
}
// X03c0 font data, 56 bytes, orgbpp: 8
var X03c0 = font9.Fixed{
Left: 0,
Adv: 7,
Width: 7,
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -6},
Max: image.Point{X: 7, Y: 0},
},
LogN: 1, // 2 bpp
Stride: 2,
Pix: pixX03c0, // 12 bytes
},
}
// X03a9 font data, 62 bytes, orgbpp: 8
var X03a9 = font9.Fixed{
Left: -1,
Adv: 9,
Width: 8,
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -9},
Max: image.Point{X: 8, Y: 0},
},
LogN: 1, // 2 bpp
Stride: 2,
Pix: pixX03a9, // 18 bytes
},
}
// X0101 font data, 8573 bytes, orgbpp: 8
var X0101 = font9.Variable{
Info: infoX0101, // 1010 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 1864, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 501,
Pix: pixX0101, // 7515 bytes
},
}
// X00a0 font data, 3164 bytes, orgbpp: 8
var X00a0 = font9.Variable{
Info: infoX00a0, // 386 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -12},
Max: image.Point{X: 606, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 182,
Pix: pixX00a0, // 2730 bytes
},
}
// X0020 font data, 2744 bytes, orgbpp: 8
var X0020 = font9.Variable{
Info: infoX0020, // 382 bytes
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -10},
Max: image.Point{X: 588, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 178,
Pix: pixX0020, // 2314 bytes
},
}
// X0000 font data, 66 bytes, orgbpp: 8
var X0000 = font9.Fixed{
Left: 0,
Adv: 7,
Width: 6,
Bits: &images.ImmAlphaN{
Rect: image.Rectangle{
Min: image.Point{X: 0, Y: -8},
Max: image.Point{X: 6, Y: 3},
},
LogN: 1, // 2 bpp
Stride: 2,
Pix: pixX0000, // 22 bytes
},
}