mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-29 20:41:05 +00:00
163 lines
9.4 KiB
C
163 lines
9.4 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_MediumItalic_12pt7bBitmaps[] = {
|
|
0x00, 0x57, 0xE8, 0x20, 0x7A, 0xA0, 0x09, 0x08, 0x84, 0x8F, 0xF1, 0x21,
|
|
0x13, 0xFC, 0x48, 0x44, 0x24, 0x00, 0x04, 0x08, 0xFB, 0x44, 0x89, 0x0C,
|
|
0x0E, 0x16, 0x28, 0x57, 0xE2, 0x00, 0x70, 0xA4, 0x49, 0x22, 0x50, 0x95,
|
|
0xFA, 0x91, 0x24, 0x49, 0x22, 0xD0, 0xE0, 0x3E, 0x10, 0x18, 0x4C, 0x23,
|
|
0xFB, 0x09, 0x0D, 0x84, 0x46, 0x3C, 0x00, 0x68, 0x36, 0x48, 0x88, 0x88,
|
|
0x88, 0x86, 0x63, 0x11, 0x11, 0x11, 0x22, 0x48, 0x25, 0xD8, 0xC5, 0x00,
|
|
0x20, 0x8F, 0xC8, 0x20, 0x80, 0x76, 0xF0, 0xC0, 0x02, 0x08, 0x10, 0x41,
|
|
0x02, 0x08, 0x10, 0x41, 0x00, 0x39, 0x1C, 0x61, 0x86, 0x18, 0x63, 0x89,
|
|
0xC0, 0x7E, 0x22, 0x22, 0x66, 0x44, 0x7C, 0x0C, 0x18, 0x20, 0xC3, 0x0C,
|
|
0x30, 0xC1, 0xF8, 0x7C, 0x0C, 0x18, 0x23, 0x80, 0x81, 0x02, 0x0D, 0xF0,
|
|
0x18, 0x20, 0xC9, 0x36, 0x48, 0xB1, 0x7F, 0x04, 0x08, 0x3E, 0x41, 0x82,
|
|
0x07, 0x80, 0x81, 0x02, 0x0D, 0xF0, 0x3D, 0x8C, 0x30, 0xBB, 0x38, 0xE3,
|
|
0x8B, 0xC0, 0xFC, 0x30, 0x86, 0x10, 0x42, 0x08, 0x61, 0x00, 0x7D, 0x1C,
|
|
0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x1E, 0x2C, 0x5F, 0xA0,
|
|
0x40, 0x81, 0x00, 0x3C, 0xCF, 0x0C, 0x18, 0x30, 0x61, 0xC3, 0xCC, 0xF0,
|
|
0x81, 0xE0, 0x80, 0x7C, 0x89, 0x1E, 0x2C, 0x5F, 0x22, 0x46, 0x8D, 0x08,
|
|
0x3E, 0xC1, 0x03, 0x07, 0x83, 0x81, 0x82, 0x05, 0xF8, 0xFE, 0x20, 0xC1,
|
|
0x83, 0x04, 0x08, 0x10, 0x20, 0x40, 0x42, 0x87, 0x0E, 0x18, 0x70, 0xE1,
|
|
0x42, 0xCC, 0xF0, 0x83, 0x0F, 0x16, 0x24, 0xC9, 0x12, 0x28, 0x50, 0xE0,
|
|
0x86, 0x38, 0xA2, 0xCA, 0x2C, 0xA6, 0xDA, 0x4D, 0x24, 0xD2, 0xC7, 0x28,
|
|
0x62, 0x86, 0x38, 0x61, 0x22, 0x26, 0x34, 0x1C, 0x3C, 0x24, 0x64, 0x46,
|
|
0xC2, 0x87, 0x89, 0x32, 0x47, 0x06, 0x08, 0x10, 0x20, 0xC0, 0x7E, 0x04,
|
|
0x10, 0x61, 0x82, 0x08, 0x30, 0xC1, 0xF8, 0x39, 0x08, 0x46, 0x21, 0x08,
|
|
0x42, 0x11, 0x8E, 0x00, 0x82, 0x10, 0x82, 0x10, 0x82, 0x10, 0xC0, 0x71,
|
|
0x13, 0x22, 0x22, 0x22, 0x66, 0xC0, 0x22, 0xA6, 0xFC, 0xC4, 0x3E, 0xCD,
|
|
0x1A, 0x2C, 0x49, 0x9D, 0x00, 0x20, 0xC1, 0x82, 0x67, 0x68, 0x51, 0xA3,
|
|
0x45, 0xF8, 0x3D, 0x84, 0x10, 0xC1, 0x07, 0x80, 0x04, 0x10, 0x5F, 0xCE,
|
|
0x38, 0xA2, 0x9B, 0xA0, 0x7B, 0x38, 0xBE, 0x82, 0x0F, 0x80, 0x07, 0x08,
|
|
0x08, 0x1E, 0x08, 0x08, 0x18, 0x18, 0x10, 0x10, 0x10, 0x10, 0xE0, 0x3E,
|
|
0xCD, 0x1A, 0x24, 0x49, 0x9D, 0x02, 0x0D, 0xF0, 0x20, 0x41, 0x83, 0x67,
|
|
0x68, 0xD1, 0xA2, 0x45, 0x88, 0x20, 0x34, 0x92, 0x58, 0x10, 0x03, 0x22,
|
|
0x22, 0x22, 0x64, 0xC0, 0x20, 0x41, 0x83, 0x34, 0xCB, 0x1E, 0x24, 0x49,
|
|
0x88, 0x5F, 0xAA, 0xB0, 0x5C, 0xCC, 0xED, 0x11, 0x22, 0x24, 0x44, 0x88,
|
|
0xB1, 0x10, 0x4C, 0xED, 0x1A, 0x34, 0x48, 0xB1, 0x00, 0x3C, 0xCD, 0x1A,
|
|
0x3C, 0x48, 0x9E, 0x00, 0x4C, 0xED, 0x0A, 0x34, 0x68, 0xBF, 0x60, 0xC1,
|
|
0x00, 0x3E, 0xCD, 0x1A, 0x2C, 0x49, 0x9D, 0x02, 0x04, 0x18, 0x4B, 0x90,
|
|
0x84, 0x23, 0x00, 0x7D, 0x06, 0x0E, 0x0C, 0x3F, 0x80, 0x44, 0xF4, 0x4C,
|
|
0x88, 0xE0, 0xCE, 0x38, 0xA2, 0x8A, 0x6E, 0x80, 0x8E, 0x28, 0xA2, 0xD1,
|
|
0x46, 0x00, 0x8C, 0x63, 0x39, 0x4A, 0x52, 0xD4, 0x9D, 0x46, 0x70, 0x46,
|
|
0xC8, 0xA1, 0xC2, 0x89, 0x21, 0x00, 0x46, 0x8D, 0x12, 0x26, 0xC5, 0x0E,
|
|
0x08, 0xA0, 0x80, 0x7C, 0x31, 0x8C, 0x21, 0x0F, 0xC0, 0x29, 0x25, 0xA4,
|
|
0x92, 0x4C, 0x24, 0x94, 0x92, 0x49, 0x29, 0x00, 0x63, 0x22, 0x22, 0x32,
|
|
0x64, 0x44, 0xC0, 0xCD, 0xC0 };
|
|
|
|
const GFXglyph Exo2_MediumItalic_12pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 2, 10, 4, 1, -9 }, // 0x21 '!'
|
|
{ 4, 4, 3, 5, 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, 0, -9 }, // 0x26 '&'
|
|
{ 55, 2, 3, 3, 1, -9 }, // 0x27 '''
|
|
{ 56, 4, 12, 5, 1, -9 }, // 0x28 '('
|
|
{ 62, 4, 12, 5, 0, -9 }, // 0x29 ')'
|
|
{ 68, 5, 5, 6, 1, -9 }, // 0x2A '*'
|
|
{ 72, 6, 6, 7, 1, -6 }, // 0x2B '+'
|
|
{ 77, 2, 4, 3, 0, -1 }, // 0x2C ','
|
|
{ 78, 4, 1, 6, 1, -3 }, // 0x2D '-'
|
|
{ 79, 2, 1, 3, 0, 0 }, // 0x2E '.'
|
|
{ 80, 7, 10, 7, 0, -9 }, // 0x2F '/'
|
|
{ 89, 6, 10, 8, 1, -9 }, // 0x30 '0'
|
|
{ 97, 4, 10, 5, 1, -9 }, // 0x31 '1'
|
|
{ 102, 7, 10, 7, 0, -9 }, // 0x32 '2'
|
|
{ 111, 7, 10, 7, 0, -9 }, // 0x33 '3'
|
|
{ 120, 7, 10, 8, 0, -9 }, // 0x34 '4'
|
|
{ 129, 7, 10, 7, 0, -9 }, // 0x35 '5'
|
|
{ 138, 6, 10, 7, 1, -9 }, // 0x36 '6'
|
|
{ 146, 6, 10, 7, 1, -9 }, // 0x37 '7'
|
|
{ 154, 6, 10, 8, 1, -9 }, // 0x38 '8'
|
|
{ 162, 6, 10, 7, 1, -9 }, // 0x39 '9'
|
|
{ 170, 3, 5, 3, 0, -4 }, // 0x3A ':'
|
|
{ 172, 3, 7, 3, 0, -4 }, // 0x3B ';'
|
|
{ 175, 5, 6, 7, 1, -6 }, // 0x3C '<'
|
|
{ 179, 6, 4, 8, 1, -5 }, // 0x3D '='
|
|
{ 182, 6, 6, 7, 0, -6 }, // 0x3E '>'
|
|
{ 187, 5, 10, 7, 1, -9 }, // 0x3F '?'
|
|
{ 194, 8, 9, 10, 1, -8 }, // 0x40 '@'
|
|
{ 203, 8, 10, 8, 0, -9 }, // 0x41 'A'
|
|
{ 213, 7, 10, 8, 1, -9 }, // 0x42 'B'
|
|
{ 222, 6, 10, 7, 1, -9 }, // 0x43 'C'
|
|
{ 230, 7, 10, 9, 1, -9 }, // 0x44 'D'
|
|
{ 239, 6, 10, 7, 1, -9 }, // 0x45 'E'
|
|
{ 247, 6, 10, 7, 1, -9 }, // 0x46 'F'
|
|
{ 255, 7, 10, 8, 1, -9 }, // 0x47 'G'
|
|
{ 264, 7, 10, 9, 1, -9 }, // 0x48 'H'
|
|
{ 273, 2, 10, 3, 1, -9 }, // 0x49 'I'
|
|
{ 276, 4, 10, 4, 0, -9 }, // 0x4A 'J'
|
|
{ 281, 7, 10, 8, 1, -9 }, // 0x4B 'K'
|
|
{ 290, 5, 10, 7, 1, -9 }, // 0x4C 'L'
|
|
{ 297, 11, 10, 11, 0, -9 }, // 0x4D 'M'
|
|
{ 311, 8, 10, 9, 1, -9 }, // 0x4E 'N'
|
|
{ 321, 7, 10, 9, 1, -9 }, // 0x4F 'O'
|
|
{ 330, 7, 10, 8, 1, -9 }, // 0x50 'P'
|
|
{ 339, 7, 13, 9, 1, -9 }, // 0x51 'Q'
|
|
{ 351, 7, 10, 8, 1, -9 }, // 0x52 'R'
|
|
{ 360, 7, 10, 7, 0, -9 }, // 0x53 'S'
|
|
{ 369, 7, 10, 7, 1, -9 }, // 0x54 'T'
|
|
{ 378, 7, 10, 9, 1, -9 }, // 0x55 'U'
|
|
{ 387, 7, 10, 8, 1, -9 }, // 0x56 'V'
|
|
{ 396, 12, 10, 12, 1, -9 }, // 0x57 'W'
|
|
{ 411, 8, 10, 8, 0, -9 }, // 0x58 'X'
|
|
{ 421, 7, 10, 7, 1, -9 }, // 0x59 'Y'
|
|
{ 430, 7, 10, 7, 0, -9 }, // 0x5A 'Z'
|
|
{ 439, 5, 13, 4, 0, -10 }, // 0x5B '['
|
|
{ 448, 5, 10, 7, 1, -9 }, // 0x5C '\'
|
|
{ 455, 4, 13, 4, 0, -10 }, // 0x5D ']'
|
|
{ 462, 5, 3, 6, 1, -7 }, // 0x5E '^'
|
|
{ 464, 6, 1, 6, -1, 1 }, // 0x5F '_'
|
|
{ 465, 3, 2, 4, 1, -8 }, // 0x60 '`'
|
|
{ 466, 7, 7, 7, 0, -6 }, // 0x61 'a'
|
|
{ 473, 7, 10, 7, 0, -9 }, // 0x62 'b'
|
|
{ 482, 6, 7, 6, 0, -6 }, // 0x63 'c'
|
|
{ 488, 6, 10, 7, 1, -9 }, // 0x64 'd'
|
|
{ 496, 6, 7, 7, 1, -6 }, // 0x65 'e'
|
|
{ 502, 8, 13, 5, -2, -9 }, // 0x66 'f'
|
|
{ 515, 7, 10, 7, 0, -6 }, // 0x67 'g'
|
|
{ 524, 7, 10, 8, 0, -9 }, // 0x68 'h'
|
|
{ 533, 3, 10, 3, 0, -9 }, // 0x69 'i'
|
|
{ 537, 4, 13, 3, -1, -9 }, // 0x6A 'j'
|
|
{ 544, 7, 10, 7, 0, -9 }, // 0x6B 'k'
|
|
{ 553, 2, 10, 4, 1, -9 }, // 0x6C 'l'
|
|
{ 556, 11, 7, 11, 0, -6 }, // 0x6D 'm'
|
|
{ 566, 7, 7, 8, 0, -6 }, // 0x6E 'n'
|
|
{ 573, 7, 7, 7, 0, -6 }, // 0x6F 'o'
|
|
{ 580, 7, 10, 8, 0, -6 }, // 0x70 'p'
|
|
{ 589, 7, 10, 7, 0, -6 }, // 0x71 'q'
|
|
{ 598, 5, 7, 5, 0, -6 }, // 0x72 'r'
|
|
{ 603, 6, 7, 7, 0, -6 }, // 0x73 's'
|
|
{ 609, 4, 9, 5, 1, -8 }, // 0x74 't'
|
|
{ 614, 6, 7, 7, 1, -6 }, // 0x75 'u'
|
|
{ 620, 6, 7, 7, 1, -6 }, // 0x76 'v'
|
|
{ 626, 10, 7, 11, 1, -6 }, // 0x77 'w'
|
|
{ 635, 7, 7, 7, 0, -6 }, // 0x78 'x'
|
|
{ 642, 7, 10, 7, 0, -6 }, // 0x79 'y'
|
|
{ 651, 6, 7, 7, 0, -6 }, // 0x7A 'z'
|
|
{ 657, 3, 13, 4, 1, -10 }, // 0x7B '{'
|
|
{ 662, 3, 14, 3, 0, -11 }, // 0x7C '|'
|
|
{ 668, 4, 13, 4, 0, -10 }, // 0x7D '}'
|
|
{ 675, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_MediumItalic_12pt7b = {
|
|
(uint8_t *)Exo2_MediumItalic_12pt7bBitmaps,
|
|
(GFXglyph *)Exo2_MediumItalic_12pt7bGlyphs,
|
|
0x20, 0x7E, 12 };//B
|
|
|
|
// Approx. 1349 bytes
|