mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
161 lines
9.3 KiB
C
161 lines
9.3 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_LightItalic_12pt7bBitmaps[] = {
|
|
0x00, 0x56, 0xA8, 0xA0, 0xB6, 0x80, 0x09, 0x08, 0x84, 0x8F, 0xF1, 0x21,
|
|
0x23, 0xFC, 0x48, 0x44, 0x24, 0x00, 0x04, 0x10, 0xFA, 0x44, 0x89, 0x0C,
|
|
0x0E, 0x14, 0x28, 0x57, 0xC2, 0x00, 0x70, 0xA4, 0x49, 0x22, 0x50, 0x95,
|
|
0xBA, 0x91, 0x24, 0x51, 0x24, 0x50, 0xE0, 0x3C, 0x20, 0x10, 0x88, 0x47,
|
|
0xFC, 0x12, 0x09, 0x08, 0x88, 0x78, 0x00, 0xE0, 0x34, 0x48, 0x88, 0x88,
|
|
0x88, 0x84, 0x61, 0x11, 0x11, 0x11, 0x22, 0x48, 0x27, 0xC8, 0xE0, 0x21,
|
|
0x3E, 0x42, 0x10, 0x6A, 0xF0, 0x60, 0x02, 0x08, 0x10, 0x41, 0x02, 0x08,
|
|
0x20, 0x41, 0x00, 0x39, 0x18, 0x61, 0x86, 0x18, 0x61, 0x89, 0xC0, 0x74,
|
|
0x92, 0x52, 0x48, 0x7C, 0x04, 0x08, 0x20, 0x41, 0x04, 0x10, 0x41, 0xF8,
|
|
0x3C, 0x04, 0x08, 0x23, 0x80, 0x81, 0x02, 0x05, 0xF0, 0x08, 0x20, 0x49,
|
|
0x12, 0x48, 0xB1, 0x3F, 0x04, 0x08, 0x3E, 0x41, 0x02, 0x07, 0x80, 0x81,
|
|
0x02, 0x09, 0xF0, 0x3D, 0x08, 0x2E, 0xC6, 0x18, 0x62, 0x89, 0xC0, 0xFC,
|
|
0x20, 0x82, 0x10, 0x42, 0x08, 0x41, 0x00, 0x7D, 0x18, 0x61, 0x7A, 0x18,
|
|
0x61, 0x8B, 0xE0, 0x79, 0x18, 0x61, 0x86, 0x27, 0x82, 0x0B, 0xC0, 0x60,
|
|
0xA0, 0x28, 0x04, 0xA4, 0x1B, 0x30, 0x60, 0x80, 0xFC, 0x00, 0x3E, 0x83,
|
|
0x06, 0x36, 0x40, 0xF8, 0x42, 0x11, 0x10, 0x80, 0x42, 0x00, 0x7E, 0x01,
|
|
0x7D, 0x89, 0x89, 0x89, 0x89, 0x9A, 0xEE, 0x0C, 0x28, 0x51, 0x22, 0x44,
|
|
0x5F, 0xA1, 0x83, 0x04, 0x7D, 0x14, 0x61, 0xFA, 0x18, 0x61, 0x87, 0xE0,
|
|
0x3D, 0x08, 0x20, 0x82, 0x08, 0x20, 0x81, 0xE0, 0x7C, 0x85, 0x0C, 0x18,
|
|
0x30, 0x60, 0xC2, 0x85, 0xF0, 0x7D, 0x08, 0x20, 0xFA, 0x08, 0x20, 0x83,
|
|
0xE0, 0x7D, 0x08, 0x20, 0xFA, 0x08, 0x20, 0x82, 0x00, 0x3E, 0x82, 0x04,
|
|
0x08, 0x50, 0xA1, 0x42, 0x8C, 0xE8, 0x42, 0x85, 0x0C, 0x1F, 0xF0, 0x61,
|
|
0x42, 0x85, 0x08, 0x56, 0xAA, 0xA0, 0x11, 0x11, 0x22, 0x22, 0x2C, 0x46,
|
|
0x89, 0x24, 0x8E, 0x14, 0x24, 0x48, 0x89, 0x18, 0x42, 0x11, 0x08, 0x42,
|
|
0x10, 0x87, 0xC0, 0x30, 0x66, 0x14, 0xC3, 0x28, 0xA4, 0x94, 0x94, 0x92,
|
|
0x92, 0x52, 0x4C, 0x50, 0x08, 0x61, 0x62, 0x62, 0x92, 0x92, 0x92, 0x8A,
|
|
0x8A, 0x8A, 0x84, 0x3C, 0x86, 0x0C, 0x18, 0x30, 0x60, 0xC2, 0x84, 0xF0,
|
|
0x7D, 0x14, 0x61, 0x87, 0xE8, 0x20, 0x82, 0x00, 0x3C, 0x86, 0x0C, 0x18,
|
|
0x30, 0x60, 0xC2, 0x84, 0xF0, 0x81, 0xC0, 0x80, 0x7D, 0x14, 0x61, 0x87,
|
|
0xE8, 0xA2, 0x86, 0x10, 0x3E, 0x81, 0x02, 0x03, 0x01, 0x81, 0x02, 0x05,
|
|
0xF0, 0xFE, 0x20, 0x41, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x42, 0x86,
|
|
0x0C, 0x18, 0x30, 0x61, 0x42, 0x84, 0xF0, 0x83, 0x06, 0x14, 0x24, 0x89,
|
|
0x12, 0x28, 0x50, 0x40, 0x86, 0x38, 0xA2, 0x8A, 0x28, 0xA4, 0x92, 0x49,
|
|
0x24, 0x52, 0x86, 0x28, 0x62, 0x86, 0x10, 0x41, 0x22, 0x24, 0x14, 0x18,
|
|
0x18, 0x24, 0x44, 0x44, 0x82, 0x87, 0x09, 0x22, 0x45, 0x04, 0x08, 0x10,
|
|
0x20, 0x40, 0x7E, 0x04, 0x10, 0x40, 0x82, 0x08, 0x20, 0x41, 0xF8, 0x32,
|
|
0x22, 0x44, 0x44, 0x44, 0x48, 0xE0, 0x84, 0x10, 0x82, 0x10, 0x82, 0x10,
|
|
0xC0, 0x71, 0x12, 0x22, 0x22, 0x22, 0x44, 0xC0, 0x25, 0x90, 0xFC, 0xC4,
|
|
0x7E, 0x18, 0xA2, 0x8A, 0x6E, 0x80, 0x41, 0x08, 0x2E, 0xC6, 0x18, 0x62,
|
|
0x8B, 0xC0, 0x7C, 0x21, 0x08, 0x43, 0xC0, 0x04, 0x10, 0x5F, 0x86, 0x28,
|
|
0xA2, 0x9B, 0xA0, 0x7C, 0x63, 0xE8, 0x43, 0xE0, 0x07, 0x08, 0x08, 0x1E,
|
|
0x08, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0xE0, 0x3E, 0x85, 0x0A,
|
|
0x24, 0x49, 0x9D, 0x02, 0x09, 0xE0, 0x41, 0x08, 0x2E, 0xC6, 0x18, 0xA2,
|
|
0x8A, 0x20, 0x42, 0xAA, 0xA0, 0x20, 0x24, 0x92, 0x4A, 0x48, 0x42, 0x21,
|
|
0x18, 0xCB, 0x92, 0x94, 0x40, 0x5A, 0xAA, 0xB0, 0xBB, 0xE6, 0x62, 0x31,
|
|
0x18, 0x8C, 0x46, 0x22, 0xBB, 0x18, 0x62, 0x8A, 0x28, 0x80, 0x7A, 0x28,
|
|
0x61, 0x8A, 0x2F, 0x00, 0x5C, 0xC5, 0x0A, 0x14, 0x48, 0x9E, 0x40, 0x81,
|
|
0x00, 0x7E, 0x18, 0xA2, 0x8A, 0x6E, 0x82, 0x08, 0x20, 0xBC, 0x88, 0x88,
|
|
0x80, 0x7D, 0x04, 0x0C, 0x08, 0x1F, 0x80, 0x44, 0xF4, 0x88, 0x88, 0xE0,
|
|
0x86, 0x18, 0xA2, 0x8A, 0x6E, 0x80, 0x86, 0x28, 0xA2, 0x91, 0x46, 0x00,
|
|
0x88, 0x62, 0x29, 0x4A, 0x52, 0x95, 0x29, 0x46, 0x60, 0x46, 0x88, 0xA1,
|
|
0x82, 0x89, 0x21, 0x00, 0x42, 0x89, 0x12, 0x24, 0x85, 0x0C, 0x08, 0x21,
|
|
0x80, 0x7C, 0x20, 0x84, 0x21, 0x0F, 0x80, 0x29, 0x24, 0xA4, 0x92, 0x49,
|
|
0x80, 0x24, 0x94, 0x92, 0x49, 0x29, 0x00, 0x62, 0x22, 0x23, 0x22, 0x44,
|
|
0x44, 0x80, 0xCD, 0xC0 };
|
|
|
|
const GFXglyph Exo2_LightItalic_12pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 2, 10, 3, 1, -9 }, // 0x21 '!'
|
|
{ 4, 3, 3, 4, 1, -9 }, // 0x22 '"'
|
|
{ 6, 9, 10, 9, 0, -9 }, // 0x23 '#'
|
|
{ 18, 7, 13, 7, 0, -11 }, // 0x24 '$'
|
|
{ 30, 10, 10, 12, 1, -9 }, // 0x25 '%'
|
|
{ 43, 9, 10, 10, 1, -9 }, // 0x26 '&'
|
|
{ 55, 1, 3, 3, 1, -9 }, // 0x27 '''
|
|
{ 56, 4, 12, 5, 1, -9 }, // 0x28 '('
|
|
{ 62, 4, 12, 5, 0, -9 }, // 0x29 ')'
|
|
{ 68, 5, 4, 6, 1, -9 }, // 0x2A '*'
|
|
{ 71, 5, 6, 7, 1, -6 }, // 0x2B '+'
|
|
{ 75, 2, 4, 3, 0, -1 }, // 0x2C ','
|
|
{ 76, 4, 1, 6, 1, -3 }, // 0x2D '-'
|
|
{ 77, 2, 2, 3, 0, -1 }, // 0x2E '.'
|
|
{ 78, 7, 10, 7, 0, -9 }, // 0x2F '/'
|
|
{ 87, 6, 10, 8, 1, -9 }, // 0x30 '0'
|
|
{ 95, 3, 10, 5, 1, -9 }, // 0x31 '1'
|
|
{ 99, 7, 10, 7, 0, -9 }, // 0x32 '2'
|
|
{ 108, 7, 10, 7, 0, -9 }, // 0x33 '3'
|
|
{ 117, 7, 10, 8, 0, -9 }, // 0x34 '4'
|
|
{ 126, 7, 10, 7, 0, -9 }, // 0x35 '5'
|
|
{ 135, 6, 10, 7, 1, -9 }, // 0x36 '6'
|
|
{ 143, 6, 10, 7, 1, -9 }, // 0x37 '7'
|
|
{ 151, 6, 10, 8, 1, -9 }, // 0x38 '8'
|
|
{ 159, 6, 10, 7, 1, -9 }, // 0x39 '9'
|
|
{ 167, 2, 6, 3, 1, -5 }, // 0x3A ':'
|
|
{ 169, 3, 8, 3, 0, -5 }, // 0x3B ';'
|
|
{ 172, 5, 5, 7, 1, -5 }, // 0x3C '<'
|
|
{ 176, 6, 4, 8, 1, -5 }, // 0x3D '='
|
|
{ 179, 5, 6, 7, 1, -6 }, // 0x3E '>'
|
|
{ 183, 5, 10, 6, 1, -9 }, // 0x3F '?'
|
|
{ 190, 8, 9, 10, 1, -8 }, // 0x40 '@'
|
|
{ 199, 7, 10, 8, 0, -9 }, // 0x41 'A'
|
|
{ 208, 6, 10, 8, 1, -9 }, // 0x42 'B'
|
|
{ 216, 6, 10, 7, 1, -9 }, // 0x43 'C'
|
|
{ 224, 7, 10, 9, 1, -9 }, // 0x44 'D'
|
|
{ 233, 6, 10, 7, 1, -9 }, // 0x45 'E'
|
|
{ 241, 6, 10, 7, 1, -9 }, // 0x46 'F'
|
|
{ 249, 7, 10, 8, 1, -9 }, // 0x47 'G'
|
|
{ 258, 7, 10, 9, 1, -9 }, // 0x48 'H'
|
|
{ 267, 2, 10, 3, 1, -9 }, // 0x49 'I'
|
|
{ 270, 4, 10, 4, 0, -9 }, // 0x4A 'J'
|
|
{ 275, 7, 10, 8, 1, -9 }, // 0x4B 'K'
|
|
{ 284, 5, 10, 7, 1, -9 }, // 0x4C 'L'
|
|
{ 291, 11, 10, 11, 0, -9 }, // 0x4D 'M'
|
|
{ 305, 8, 10, 9, 1, -9 }, // 0x4E 'N'
|
|
{ 315, 7, 10, 9, 1, -9 }, // 0x4F 'O'
|
|
{ 324, 6, 10, 8, 1, -9 }, // 0x50 'P'
|
|
{ 332, 7, 13, 9, 1, -9 }, // 0x51 'Q'
|
|
{ 344, 6, 10, 8, 1, -9 }, // 0x52 'R'
|
|
{ 352, 7, 10, 7, 0, -9 }, // 0x53 'S'
|
|
{ 361, 7, 10, 7, 1, -9 }, // 0x54 'T'
|
|
{ 370, 7, 10, 9, 1, -9 }, // 0x55 'U'
|
|
{ 379, 7, 10, 8, 1, -9 }, // 0x56 'V'
|
|
{ 388, 12, 10, 12, 1, -9 }, // 0x57 'W'
|
|
{ 403, 8, 10, 8, 0, -9 }, // 0x58 'X'
|
|
{ 413, 7, 10, 7, 1, -9 }, // 0x59 'Y'
|
|
{ 422, 7, 10, 7, 0, -9 }, // 0x5A 'Z'
|
|
{ 431, 4, 13, 4, 0, -10 }, // 0x5B '['
|
|
{ 438, 5, 10, 6, 1, -9 }, // 0x5C '\'
|
|
{ 445, 4, 13, 4, 0, -10 }, // 0x5D ']'
|
|
{ 452, 4, 3, 5, 1, -7 }, // 0x5E '^'
|
|
{ 454, 6, 1, 6, -1, 1 }, // 0x5F '_'
|
|
{ 455, 3, 2, 4, 1, -8 }, // 0x60 '`'
|
|
{ 456, 6, 7, 7, 1, -6 }, // 0x61 'a'
|
|
{ 462, 6, 10, 7, 1, -9 }, // 0x62 'b'
|
|
{ 470, 5, 7, 6, 1, -6 }, // 0x63 'c'
|
|
{ 475, 6, 10, 7, 1, -9 }, // 0x64 'd'
|
|
{ 483, 5, 7, 7, 1, -6 }, // 0x65 'e'
|
|
{ 488, 8, 13, 5, -2, -9 }, // 0x66 'f'
|
|
{ 501, 7, 10, 7, 0, -6 }, // 0x67 'g'
|
|
{ 510, 6, 10, 7, 1, -9 }, // 0x68 'h'
|
|
{ 518, 2, 10, 3, 1, -9 }, // 0x69 'i'
|
|
{ 521, 3, 13, 3, 0, -9 }, // 0x6A 'j'
|
|
{ 526, 5, 10, 7, 1, -9 }, // 0x6B 'k'
|
|
{ 533, 2, 10, 4, 1, -9 }, // 0x6C 'l'
|
|
{ 536, 9, 7, 11, 1, -6 }, // 0x6D 'm'
|
|
{ 544, 6, 7, 7, 1, -6 }, // 0x6E 'n'
|
|
{ 550, 6, 7, 7, 1, -6 }, // 0x6F 'o'
|
|
{ 556, 7, 10, 7, 0, -6 }, // 0x70 'p'
|
|
{ 565, 6, 10, 7, 1, -6 }, // 0x71 'q'
|
|
{ 573, 4, 7, 5, 1, -6 }, // 0x72 'r'
|
|
{ 577, 6, 7, 7, 0, -6 }, // 0x73 's'
|
|
{ 583, 4, 9, 5, 1, -8 }, // 0x74 't'
|
|
{ 588, 6, 7, 7, 1, -6 }, // 0x75 'u'
|
|
{ 594, 6, 7, 7, 1, -6 }, // 0x76 'v'
|
|
{ 600, 10, 7, 11, 1, -6 }, // 0x77 'w'
|
|
{ 609, 7, 7, 7, 0, -6 }, // 0x78 'x'
|
|
{ 616, 7, 10, 7, 0, -6 }, // 0x79 'y'
|
|
{ 625, 6, 7, 6, 0, -6 }, // 0x7A 'z'
|
|
{ 631, 3, 14, 4, 1, -10 }, // 0x7B '{'
|
|
{ 637, 3, 14, 3, 0, -11 }, // 0x7C '|'
|
|
{ 643, 4, 13, 4, 0, -9 }, // 0x7D '}'
|
|
{ 650, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_LightItalic_12pt7b = {
|
|
(uint8_t *)Exo2_LightItalic_12pt7bBitmaps,
|
|
(GFXglyph *)Exo2_LightItalic_12pt7bGlyphs,
|
|
0x20, 0x7E, 12 };//B
|
|
|
|
// Approx. 1324 bytes
|