mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
157 lines
9 KiB
C
157 lines
9 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_ThinItalic_12pt7bBitmaps[] = {
|
|
0x00, 0x56, 0xA8, 0x20, 0xB6, 0x80, 0x12, 0x44, 0x93, 0xF4, 0x49, 0x3F,
|
|
0x24, 0x89, 0x20, 0x10, 0x47, 0xE4, 0x92, 0x46, 0x04, 0x28, 0x92, 0xAE,
|
|
0x41, 0x00, 0x70, 0xA4, 0x49, 0x22, 0x50, 0x95, 0x9A, 0x91, 0x44, 0x91,
|
|
0x24, 0x50, 0xE0, 0x3C, 0x20, 0x10, 0x88, 0x47, 0xFC, 0x12, 0x09, 0x08,
|
|
0x84, 0x7C, 0x00, 0xE0, 0x34, 0x48, 0x88, 0x88, 0x88, 0x84, 0x61, 0x11,
|
|
0x11, 0x11, 0x22, 0x48, 0x2F, 0x25, 0x21, 0x3E, 0x42, 0x00, 0xE0, 0xF0,
|
|
0x80, 0x02, 0x08, 0x20, 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, 0x7C, 0x10, 0x41, 0x38, 0x10,
|
|
0x41, 0x07, 0xE0, 0x10, 0x82, 0x51, 0x8A, 0x28, 0xBF, 0x08, 0x20, 0x3D,
|
|
0x04, 0x10, 0x78, 0x10, 0x41, 0x07, 0xE0, 0x3D, 0x08, 0x2E, 0xC6, 0x18,
|
|
0x61, 0x8B, 0xC0, 0xFC, 0x20, 0x82, 0x10, 0x42, 0x08, 0x41, 0x00, 0x7D,
|
|
0x18, 0x61, 0x7A, 0x18, 0x61, 0x87, 0xE0, 0x7A, 0x18, 0x61, 0x86, 0x27,
|
|
0x82, 0x0B, 0xC0, 0x88, 0x40, 0xA8, 0x3A, 0x30, 0x60, 0x80, 0xFC, 0x00,
|
|
0x3E, 0xE0, 0x86, 0xC8, 0x00, 0xF8, 0x42, 0x11, 0x10, 0x80, 0x02, 0x00,
|
|
0x7E, 0x01, 0x79, 0x85, 0x89, 0x89, 0x8A, 0x9A, 0xEE, 0x08, 0x28, 0x51,
|
|
0x22, 0x48, 0x9F, 0x21, 0x83, 0x04, 0x7D, 0x18, 0x61, 0x7A, 0x18, 0x61,
|
|
0x87, 0xE0, 0x3D, 0x08, 0x20, 0x82, 0x08, 0x20, 0x81, 0xE0, 0x7C, 0x86,
|
|
0x0C, 0x18, 0x30, 0x60, 0xC2, 0x85, 0xF0, 0x7E, 0x08, 0x20, 0xFA, 0x08,
|
|
0x20, 0x83, 0xE0, 0x7E, 0x08, 0x20, 0xFA, 0x08, 0x20, 0x82, 0x00, 0x3E,
|
|
0x82, 0x04, 0x08, 0x30, 0xA1, 0x42, 0x84, 0xF8, 0x42, 0x86, 0x0C, 0x1F,
|
|
0xD0, 0x61, 0x42, 0x85, 0x08, 0xFF, 0xC0, 0x11, 0x11, 0x22, 0x22, 0x2C,
|
|
0x45, 0x28, 0xA4, 0xE2, 0x89, 0x24, 0x8A, 0x20, 0x42, 0x21, 0x08, 0x42,
|
|
0x10, 0x87, 0xC0, 0x40, 0xA0, 0xD8, 0x74, 0x3A, 0x2C, 0x96, 0x53, 0x29,
|
|
0x98, 0xC4, 0x40, 0x42, 0x86, 0x8C, 0x99, 0x32, 0x62, 0xC5, 0x8B, 0x08,
|
|
0x3C, 0x86, 0x0C, 0x18, 0x30, 0x60, 0xC1, 0x84, 0xF0, 0x7D, 0x18, 0x61,
|
|
0x87, 0xE8, 0x20, 0x82, 0x00, 0x3C, 0x86, 0x0C, 0x18, 0x30, 0x60, 0xC1,
|
|
0x84, 0xB0, 0x80, 0xC0, 0x7D, 0x18, 0x61, 0x87, 0xE8, 0xA2, 0x86, 0x10,
|
|
0x3E, 0x81, 0x02, 0x03, 0x01, 0x01, 0x01, 0x05, 0xF8, 0xFE, 0x20, 0x41,
|
|
0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x43, 0x06, 0x0C, 0x18, 0x30, 0x60,
|
|
0xC2, 0x84, 0xF0, 0x83, 0x06, 0x14, 0x24, 0x89, 0x12, 0x28, 0x50, 0xC0,
|
|
0x84, 0x31, 0x46, 0x28, 0xC5, 0x29, 0x25, 0x24, 0x94, 0xA3, 0x14, 0x62,
|
|
0x88, 0x60, 0x41, 0x22, 0x24, 0x14, 0x18, 0x18, 0x24, 0x44, 0x44, 0x82,
|
|
0x86, 0x14, 0x92, 0x50, 0x82, 0x08, 0x21, 0x00, 0x7E, 0x04, 0x10, 0x40,
|
|
0x82, 0x08, 0x20, 0x41, 0xF8, 0x69, 0x49, 0x24, 0x92, 0x49, 0x80, 0x88,
|
|
0x44, 0x42, 0x22, 0x11, 0x64, 0x92, 0x49, 0x24, 0xA5, 0x80, 0x69, 0x90,
|
|
0xF8, 0xD0, 0x7C, 0x63, 0x18, 0xCF, 0xA0, 0x44, 0x21, 0x7C, 0xC6, 0x31,
|
|
0x8F, 0x80, 0x7C, 0x21, 0x08, 0x43, 0xC0, 0x04, 0x10, 0x5F, 0x86, 0x28,
|
|
0xA2, 0x9B, 0xA0, 0x7C, 0x63, 0xE8, 0x43, 0xE0, 0x0E, 0x10, 0x20, 0xF1,
|
|
0x02, 0x04, 0x08, 0x10, 0x20, 0x41, 0x0E, 0x00, 0x3E, 0x85, 0x0A, 0x28,
|
|
0x51, 0x9D, 0x02, 0x09, 0xE0, 0x44, 0x21, 0x7C, 0xC6, 0x31, 0x8C, 0x40,
|
|
0x9F, 0xC0, 0x41, 0x55, 0x6A, 0x80, 0x44, 0x21, 0x18, 0xCB, 0x94, 0x94,
|
|
0x80, 0x6A, 0xAA, 0xB0, 0xBB, 0xE2, 0x62, 0x31, 0x18, 0x8C, 0x46, 0x22,
|
|
0xBE, 0x63, 0x18, 0xC6, 0x20, 0x7C, 0x63, 0x18, 0xC7, 0xC0, 0x5D, 0x94,
|
|
0x51, 0x45, 0x1F, 0xA0, 0x82, 0x00, 0x7C, 0x63, 0x18, 0xCF, 0xA1, 0x08,
|
|
0x40, 0xBC, 0x88, 0x88, 0x80, 0x7D, 0x04, 0x0C, 0x0C, 0x1F, 0x80, 0x44,
|
|
0xB8, 0x88, 0x88, 0xE0, 0x8C, 0x63, 0x18, 0xCF, 0xA0, 0x8C, 0x63, 0x29,
|
|
0x51, 0x00, 0x88, 0xCC, 0x66, 0x32, 0x9A, 0x55, 0x29, 0x18, 0x45, 0x22,
|
|
0x84, 0x29, 0x28, 0x40, 0x85, 0x14, 0x51, 0x49, 0x23, 0x08, 0x23, 0x00,
|
|
0x7C, 0x21, 0x04, 0x21, 0x0F, 0x80, 0x29, 0x25, 0x24, 0x92, 0x48, 0x80,
|
|
0x55, 0xAA, 0xAA, 0xA0, 0x44, 0x92, 0x49, 0x49, 0x25, 0x00, 0x4D, 0x80 };
|
|
|
|
const GFXglyph Exo2_ThinItalic_12pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 2, 10, 3, 1, -9 }, // 0x21 '!'
|
|
{ 4, 3, 3, 4, 1, -9 }, // 0x22 '"'
|
|
{ 6, 7, 10, 9, 1, -9 }, // 0x23 '#'
|
|
{ 15, 6, 14, 7, 1, -11 }, // 0x24 '$'
|
|
{ 26, 10, 10, 11, 1, -9 }, // 0x25 '%'
|
|
{ 39, 9, 10, 10, 1, -9 }, // 0x26 '&'
|
|
{ 51, 1, 3, 3, 1, -9 }, // 0x27 '''
|
|
{ 52, 4, 12, 5, 1, -9 }, // 0x28 '('
|
|
{ 58, 4, 12, 5, 0, -9 }, // 0x29 ')'
|
|
{ 64, 4, 4, 6, 1, -9 }, // 0x2A '*'
|
|
{ 66, 5, 5, 7, 1, -6 }, // 0x2B '+'
|
|
{ 70, 1, 3, 3, 0, 0 }, // 0x2C ','
|
|
{ 71, 4, 1, 6, 1, -3 }, // 0x2D '-'
|
|
{ 72, 1, 1, 3, 0, 0 }, // 0x2E '.'
|
|
{ 73, 7, 10, 6, 0, -9 }, // 0x2F '/'
|
|
{ 82, 6, 10, 8, 1, -9 }, // 0x30 '0'
|
|
{ 90, 3, 10, 5, 1, -9 }, // 0x31 '1'
|
|
{ 94, 7, 10, 7, 0, -9 }, // 0x32 '2'
|
|
{ 103, 6, 10, 7, 0, -9 }, // 0x33 '3'
|
|
{ 111, 6, 10, 8, 1, -9 }, // 0x34 '4'
|
|
{ 119, 6, 10, 7, 0, -9 }, // 0x35 '5'
|
|
{ 127, 6, 10, 7, 1, -9 }, // 0x36 '6'
|
|
{ 135, 6, 10, 6, 1, -9 }, // 0x37 '7'
|
|
{ 143, 6, 10, 8, 1, -9 }, // 0x38 '8'
|
|
{ 151, 6, 10, 7, 1, -9 }, // 0x39 '9'
|
|
{ 159, 1, 5, 3, 1, -4 }, // 0x3A ':'
|
|
{ 160, 2, 7, 3, 0, -4 }, // 0x3B ';'
|
|
{ 162, 5, 5, 7, 1, -5 }, // 0x3C '<'
|
|
{ 166, 6, 4, 8, 1, -5 }, // 0x3D '='
|
|
{ 169, 5, 5, 7, 1, -5 }, // 0x3E '>'
|
|
{ 173, 5, 10, 6, 1, -9 }, // 0x3F '?'
|
|
{ 180, 8, 9, 10, 1, -8 }, // 0x40 '@'
|
|
{ 189, 7, 10, 8, 0, -9 }, // 0x41 'A'
|
|
{ 198, 6, 10, 8, 1, -9 }, // 0x42 'B'
|
|
{ 206, 6, 10, 7, 1, -9 }, // 0x43 'C'
|
|
{ 214, 7, 10, 9, 1, -9 }, // 0x44 'D'
|
|
{ 223, 6, 10, 7, 1, -9 }, // 0x45 'E'
|
|
{ 231, 6, 10, 7, 1, -9 }, // 0x46 'F'
|
|
{ 239, 7, 10, 8, 1, -9 }, // 0x47 'G'
|
|
{ 248, 7, 10, 9, 1, -9 }, // 0x48 'H'
|
|
{ 257, 1, 10, 3, 1, -9 }, // 0x49 'I'
|
|
{ 259, 4, 10, 4, 0, -9 }, // 0x4A 'J'
|
|
{ 264, 6, 10, 7, 1, -9 }, // 0x4B 'K'
|
|
{ 272, 5, 10, 7, 1, -9 }, // 0x4C 'L'
|
|
{ 279, 9, 10, 11, 1, -9 }, // 0x4D 'M'
|
|
{ 291, 7, 10, 9, 1, -9 }, // 0x4E 'N'
|
|
{ 300, 7, 10, 9, 1, -9 }, // 0x4F 'O'
|
|
{ 309, 6, 10, 8, 1, -9 }, // 0x50 'P'
|
|
{ 317, 7, 12, 9, 1, -9 }, // 0x51 'Q'
|
|
{ 328, 6, 10, 8, 1, -9 }, // 0x52 'R'
|
|
{ 336, 7, 10, 7, 0, -9 }, // 0x53 'S'
|
|
{ 345, 7, 10, 7, 1, -9 }, // 0x54 'T'
|
|
{ 354, 7, 10, 9, 1, -9 }, // 0x55 'U'
|
|
{ 363, 7, 10, 8, 1, -9 }, // 0x56 'V'
|
|
{ 372, 11, 10, 12, 1, -9 }, // 0x57 'W'
|
|
{ 386, 8, 10, 8, 0, -9 }, // 0x58 'X'
|
|
{ 396, 6, 10, 7, 1, -9 }, // 0x59 'Y'
|
|
{ 404, 7, 10, 7, 0, -9 }, // 0x5A 'Z'
|
|
{ 413, 3, 14, 4, 1, -10 }, // 0x5B '['
|
|
{ 419, 4, 10, 6, 1, -9 }, // 0x5C '\'
|
|
{ 424, 3, 14, 4, 0, -10 }, // 0x5D ']'
|
|
{ 430, 4, 3, 5, 1, -7 }, // 0x5E '^'
|
|
{ 432, 5, 1, 6, 0, 1 }, // 0x5F '_'
|
|
{ 433, 2, 2, 4, 1, -8 }, // 0x60 '`'
|
|
{ 434, 5, 7, 7, 1, -6 }, // 0x61 'a'
|
|
{ 439, 5, 10, 7, 1, -9 }, // 0x62 'b'
|
|
{ 446, 5, 7, 6, 1, -6 }, // 0x63 'c'
|
|
{ 451, 6, 10, 7, 1, -9 }, // 0x64 'd'
|
|
{ 459, 5, 7, 7, 1, -6 }, // 0x65 'e'
|
|
{ 464, 7, 13, 5, -2, -9 }, // 0x66 'f'
|
|
{ 476, 7, 10, 7, 0, -6 }, // 0x67 'g'
|
|
{ 485, 5, 10, 7, 1, -9 }, // 0x68 'h'
|
|
{ 492, 1, 10, 3, 1, -9 }, // 0x69 'i'
|
|
{ 494, 2, 13, 3, 0, -9 }, // 0x6A 'j'
|
|
{ 498, 5, 10, 6, 1, -9 }, // 0x6B 'k'
|
|
{ 505, 2, 10, 3, 1, -9 }, // 0x6C 'l'
|
|
{ 508, 9, 7, 11, 1, -6 }, // 0x6D 'm'
|
|
{ 516, 5, 7, 7, 1, -6 }, // 0x6E 'n'
|
|
{ 521, 5, 7, 7, 1, -6 }, // 0x6F 'o'
|
|
{ 526, 6, 10, 7, 0, -6 }, // 0x70 'p'
|
|
{ 534, 5, 10, 7, 1, -6 }, // 0x71 'q'
|
|
{ 541, 4, 7, 5, 1, -6 }, // 0x72 'r'
|
|
{ 545, 6, 7, 6, 0, -6 }, // 0x73 's'
|
|
{ 551, 4, 9, 4, 1, -8 }, // 0x74 't'
|
|
{ 556, 5, 7, 7, 1, -6 }, // 0x75 'u'
|
|
{ 561, 5, 7, 7, 1, -6 }, // 0x76 'v'
|
|
{ 566, 9, 7, 11, 1, -6 }, // 0x77 'w'
|
|
{ 574, 6, 7, 7, 0, -6 }, // 0x78 'x'
|
|
{ 580, 6, 10, 7, 0, -6 }, // 0x79 'y'
|
|
{ 588, 6, 7, 6, 0, -6 }, // 0x7A 'z'
|
|
{ 594, 3, 14, 4, 1, -10 }, // 0x7B '{'
|
|
{ 600, 2, 14, 3, 1, -11 }, // 0x7C '|'
|
|
{ 604, 3, 14, 4, 0, -10 }, // 0x7D '}'
|
|
{ 610, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_ThinItalic_12pt7b = {
|
|
(uint8_t *)Exo2_ThinItalic_12pt7bBitmaps,
|
|
(GFXglyph *)Exo2_ThinItalic_12pt7bGlyphs,
|
|
0x20, 0x7E, 12 };//B
|
|
|
|
// Approx. 1284 bytes
|