mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
179 lines
11 KiB
C
179 lines
11 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_Black_13pt7bBitmaps[] = {
|
|
0x00, 0xFF, 0xFF, 0xF0, 0xFF, 0x80, 0xFA, 0xD6, 0xB0, 0x19, 0x86, 0xE1,
|
|
0xB9, 0xFF, 0x7F, 0xCE, 0xC7, 0xFB, 0xFE, 0x37, 0x0D, 0x83, 0x60, 0x0C,
|
|
0x7E, 0x7F, 0xFF, 0xE0, 0x78, 0x3E, 0x1F, 0x07, 0x7F, 0x7F, 0x7E, 0x38,
|
|
0x78, 0xC3, 0xCC, 0x36, 0x61, 0xB2, 0x0D, 0xB0, 0x7D, 0x79, 0xFB, 0xC0,
|
|
0x9F, 0x0D, 0xF8, 0x47, 0x86, 0x3C, 0x3E, 0x1F, 0x87, 0x01, 0xCE, 0x7F,
|
|
0xDF, 0xF7, 0x3B, 0xCE, 0x73, 0x9F, 0xF7, 0xDC, 0xE9, 0x20, 0x19, 0xDC,
|
|
0xC6, 0x73, 0x9C, 0xE3, 0x1C, 0x61, 0x80, 0xC3, 0x1C, 0x63, 0x9C, 0xE7,
|
|
0x39, 0xDC, 0xCC, 0x00, 0x31, 0x5D, 0xCC, 0x78, 0xA0, 0x18, 0x33, 0xFF,
|
|
0xF1, 0x83, 0x06, 0x00, 0x7D, 0xB6, 0x40, 0xFF, 0x7D, 0x80, 0x07, 0x06,
|
|
0x06, 0x0C, 0x0C, 0x18, 0x18, 0x38, 0x30, 0x70, 0x60, 0xE0, 0x3E, 0x3F,
|
|
0x9D, 0xCE, 0x7E, 0x3F, 0x1F, 0x8E, 0xE7, 0x77, 0x3F, 0x8F, 0x80, 0x7F,
|
|
0xFF, 0xC7, 0x3C, 0xF3, 0xCF, 0x3C, 0xF3, 0xC0, 0x7E, 0x7F, 0x7F, 0x07,
|
|
0x0E, 0x1E, 0x3C, 0x78, 0x7F, 0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F6, 0x7F, 0x67, 0xD6, 0x7D, 0xE3, 0x9E, 0xE7, 0x3B, 0x9F, 0x87, 0xC3,
|
|
0xE3, 0xF1, 0xDD, 0xCF, 0xE7, 0xE7, 0x77, 0x76, 0x76, 0x3E, 0x3E, 0x3C,
|
|
0x1C, 0x78, 0x30, 0xFF, 0xFC, 0x79, 0xE3, 0x8E, 0x3F, 0xFF, 0x3B, 0xDC,
|
|
0xE7, 0x3B, 0x9C, 0x73, 0x9C, 0xE7, 0x3C, 0xE0, 0xFF, 0xFF, 0xFF, 0xFC,
|
|
0x47, 0xBC, 0xE7, 0x38, 0xE7, 0x73, 0x9C, 0xE7, 0x7B, 0x80, 0xFD, 0xC0 };
|
|
|
|
const GFXglyph Exo2_Black_13pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 3, 11, 5, 1, -10 }, // 0x21 '!'
|
|
{ 6, 5, 4, 6, 0, -10 }, // 0x22 '"'
|
|
{ 9, 10, 11, 10, 0, -10 }, // 0x23 '#'
|
|
{ 23, 8, 13, 8, 0, -11 }, // 0x24 '$'
|
|
{ 36, 13, 11, 13, 0, -10 }, // 0x25 '%'
|
|
{ 54, 10, 11, 11, 0, -10 }, // 0x26 '&'
|
|
{ 68, 3, 4, 3, 0, -10 }, // 0x27 '''
|
|
{ 70, 5, 13, 5, 0, -10 }, // 0x28 '('
|
|
{ 79, 5, 13, 5, 0, -10 }, // 0x29 ')'
|
|
{ 88, 6, 6, 6, 0, -10 }, // 0x2A '*'
|
|
{ 93, 7, 7, 7, 0, -7 }, // 0x2B '+'
|
|
{ 100, 3, 6, 4, 0, -2 }, // 0x2C ','
|
|
{ 103, 4, 2, 5, 1, -4 }, // 0x2D '-'
|
|
{ 104, 3, 3, 4, 0, -2 }, // 0x2E '.'
|
|
{ 106, 8, 12, 8, 0, -10 }, // 0x2F '/'
|
|
{ 118, 9, 11, 9, 0, -10 }, // 0x30 '0'
|
|
{ 131, 6, 11, 7, 0, -10 }, // 0x31 '1'
|
|
{ 140, 8, 11, 8, 0, -10 }, // 0x32 '2'
|
|
{ 151, 8, 11, 8, 0, -10 }, // 0x33 '3'
|
|
{ 162, 9, 11, 9, 0, -10 }, // 0x34 '4'
|
|
{ 175, 8, 11, 8, 0, -10 }, // 0x35 '5'
|
|
{ 186, 8, 11, 9, 0, -10 }, // 0x36 '6'
|
|
{ 197, 8, 11, 8, 0, -10 }, // 0x37 '7'
|
|
{ 208, 7, 11, 9, 1, -10 }, // 0x38 '8'
|
|
{ 218, 8, 11, 9, 0, -10 }, // 0x39 '9'
|
|
{ 229, 3, 7, 4, 0, -6 }, // 0x3A ':'
|
|
{ 232, 3, 10, 4, 0, -6 }, // 0x3B ';'
|
|
{ 236, 6, 7, 7, 0, -7 }, // 0x3C '<'
|
|
{ 242, 6, 5, 8, 1, -7 }, // 0x3D '='
|
|
{ 246, 6, 7, 7, 1, -7 }, // 0x3E '>'
|
|
{ 252, 7, 11, 8, 0, -10 }, // 0x3F '?'
|
|
{ 262, 10, 11, 11, 1, -9 }, // 0x40 '@'
|
|
{ 276, 10, 11, 10, 0, -10 }, // 0x41 'A'
|
|
{ 290, 8, 11, 9, 1, -10 }, // 0x42 'B'
|
|
{ 301, 8, 11, 8, 0, -10 }, // 0x43 'C'
|
|
{ 312, 8, 11, 10, 1, -10 }, // 0x44 'D'
|
|
{ 323, 7, 11, 8, 1, -10 }, // 0x45 'E'
|
|
{ 333, 7, 11, 8, 1, -10 }, // 0x46 'F'
|
|
{ 343, 9, 11, 9, 0, -10 }, // 0x47 'G'
|
|
{ 356, 8, 11, 10, 1, -10 }, // 0x48 'H'
|
|
{ 367, 3, 11, 5, 1, -10 }, // 0x49 'I'
|
|
{ 372, 5, 11, 6, 0, -10 }, // 0x4A 'J'
|
|
{ 379, 9, 11, 9, 1, -10 }, // 0x4B 'K'
|
|
{ 392, 7, 11, 8, 1, -10 }, // 0x4C 'L'
|
|
{ 402, 12, 11, 13, 1, -10 }, // 0x4D 'M'
|
|
{ 419, 9, 11, 10, 1, -10 }, // 0x4E 'N'
|
|
{ 432, 9, 11, 10, 0, -10 }, // 0x4F 'O'
|
|
{ 445, 8, 11, 9, 1, -10 }, // 0x50 'P'
|
|
{ 456, 9, 15, 10, 0, -10 }, // 0x51 'Q'
|
|
{ 473, 8, 11, 9, 1, -10 }, // 0x52 'R'
|
|
{ 484, 8, 11, 9, 0, -10 }, // 0x53 'S'
|
|
{ 495, 9, 11, 9, 0, -10 }, // 0x54 'T'
|
|
{ 508, 8, 11, 10, 1, -10 }, // 0x55 'U'
|
|
{ 519, 9, 11, 9, 0, -10 }, // 0x56 'V'
|
|
{ 532, 14, 11, 14, 0, -10 }, // 0x57 'W'
|
|
{ 552, 10, 11, 9, 0, -10 }, // 0x58 'X'
|
|
{ 566, 9, 11, 9, 0, -10 }, // 0x59 'Y'
|
|
{ 579, 8, 11, 8, 0, -10 }, // 0x5A 'Z'
|
|
{ 590, 4, 15, 5, 1, -11 }, // 0x5B '['
|
|
{ 598, 8, 12, 8, 0, -10 }, // 0x5C '\'
|
|
{ 610, 4, 15, 5, 0, -11 }, // 0x5D ']'
|
|
{ 618, 7, 4, 7, 0, -9 }, // 0x5E '^'
|
|
{ 622, 6, 2, 6, 0, 1 }, // 0x5F '_'
|
|
{ 624, 4, 4, 5, 1, -10 }, // 0x60 '`'
|
|
{ 626, 8, 8, 8, 0, -7 }, // 0x61 'a'
|
|
{ 634, 7, 11, 9, 1, -10 }, // 0x62 'b'
|
|
{ 644, 7, 8, 7, 0, -7 }, // 0x63 'c'
|
|
{ 651, 8, 11, 9, 0, -10 }, // 0x64 'd'
|
|
{ 662, 8, 8, 8, 0, -7 }, // 0x65 'e'
|
|
{ 670, 6, 11, 6, 0, -10 }, // 0x66 'f'
|
|
{ 679, 8, 11, 8, 0, -7 }, // 0x67 'g'
|
|
{ 690, 7, 11, 9, 1, -10 }, // 0x68 'h'
|
|
{ 700, 3, 11, 4, 1, -10 }, // 0x69 'i'
|
|
{ 705, 4, 14, 4, 0, -10 }, // 0x6A 'j'
|
|
{ 712, 8, 11, 9, 1, -10 }, // 0x6B 'k'
|
|
{ 723, 4, 11, 5, 1, -10 }, // 0x6C 'l'
|
|
{ 729, 11, 8, 12, 1, -7 }, // 0x6D 'm'
|
|
{ 740, 7, 8, 9, 1, -7 }, // 0x6E 'n'
|
|
{ 747, 8, 8, 9, 0, -7 }, // 0x6F 'o'
|
|
{ 755, 7, 11, 9, 1, -7 }, // 0x70 'p'
|
|
{ 765, 8, 11, 9, 0, -7 }, // 0x71 'q'
|
|
{ 776, 5, 8, 6, 1, -7 }, // 0x72 'r'
|
|
{ 781, 7, 8, 8, 0, -7 }, // 0x73 's'
|
|
{ 788, 6, 10, 6, 0, -9 }, // 0x74 't'
|
|
{ 796, 7, 8, 9, 1, -7 }, // 0x75 'u'
|
|
{ 803, 8, 8, 8, 0, -7 }, // 0x76 'v'
|
|
{ 811, 12, 8, 12, 0, -7 }, // 0x77 'w'
|
|
{ 823, 9, 8, 8, 0, -7 }, // 0x78 'x'
|
|
{ 832, 8, 11, 8, 0, -7 }, // 0x79 'y'
|
|
{ 843, 7, 8, 8, 0, -7 }, // 0x7A 'z'
|
|
{ 850, 5, 15, 5, 0, -11 }, // 0x7B '{'
|
|
{ 860, 2, 15, 4, 1, -11 }, // 0x7C '|'
|
|
{ 864, 5, 15, 5, 0, -11 }, // 0x7D '}'
|
|
{ 874, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_Black_13pt7b = {
|
|
(uint8_t *)Exo2_Black_13pt7bBitmaps,
|
|
(GFXglyph *)Exo2_Black_13pt7bGlyphs,
|
|
0x20, 0x7E, 13 };//B
|
|
|
|
// Approx. 1548 bytes
|