mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
184 lines
11 KiB
C
184 lines
11 KiB
C
|
#include "../include/driver_framebuffer.h"
|
||
|
const uint8_t permanentmarker_13pt7bBitmaps[] = {
|
||
|
0x00, 0x33, 0x36, 0x66, 0x60, 0xCC, 0x6D, 0xBE, 0xF6, 0xDB, 0x60, 0x09,
|
||
|
0x03, 0x61, 0x99, 0xFF, 0x7B, 0x0C, 0xCF, 0xF9, 0xD8, 0x6E, 0x1B, 0x00,
|
||
|
0x08, 0x0C, 0x3F, 0x70, 0xF8, 0x08, 0x0C, 0x78, 0x70, 0x30, 0x21, 0x63,
|
||
|
0xB6, 0xFC, 0x18, 0x34, 0x6E, 0xDE, 0xDE, 0x8C, 0x08, 0x0C, 0x7C, 0xFF,
|
||
|
0xFF, 0x18, 0x18, 0x6F, 0xED, 0x80, 0x06, 0x1C, 0x71, 0xC3, 0x0E, 0x18,
|
||
|
0x30, 0x61, 0xC3, 0x83, 0x06, 0x04, 0x08, 0x00, 0x08, 0x18, 0x30, 0x70,
|
||
|
0xC1, 0x83, 0x06, 0x0C, 0x38, 0xE3, 0x86, 0x18, 0x10, 0x00, 0x36, 0x1F,
|
||
|
0x0F, 0xDF, 0xF3, 0xC1, 0xB1, 0x88, 0x18, 0x31, 0xFF, 0xF3, 0x86, 0x0C,
|
||
|
0x00, 0x27, 0x6E, 0x7E, 0xFF, 0xF0, 0x03, 0x03, 0x06, 0x0C, 0x18, 0x18,
|
||
|
0x30, 0x60, 0x60, 0x40, 0x02, 0x03, 0x07, 0xC3, 0xE3, 0xB3, 0x99, 0x87,
|
||
|
0xC3, 0xC7, 0xFF, 0x9F, 0x80, 0x67, 0x33, 0x77, 0x66, 0xE4, 0xFC, 0x7F,
|
||
|
0x31, 0x83, 0xC3, 0xC3, 0xC3, 0xC1, 0xFF, 0xFF, 0xFC, 0x00, 0x7E, 0xFF,
|
||
|
0xFE, 0x3C, 0x3C, 0x3E, 0x06, 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 0x80, 0x80, 0x60, 0x02, 0xC3, 0xC6, 0xC6, 0xCE, 0xFC, 0xF8, 0x70,
|
||
|
0x87, 0x9F, 0x76, 0xCF, 0x1E, 0x18, 0x30, 0x22, 0x37, 0x33, 0x67, 0x36,
|
||
|
0x76, 0x6E, 0x6D, 0xFC, 0x7B, 0xC7, 0x18, 0x63, 0x77, 0x3E, 0x38, 0x78,
|
||
|
0xEC, 0xCC, 0x86, 0x07, 0x3D, 0xBE, 0xF1, 0x8E, 0x30, 0xC0, 0x3F, 0x3F,
|
||
|
0x0E, 0x3C, 0x78, 0xE2, 0xFE, 0xFC, 0x40, 0x03, 0xC1, 0xFC, 0x38, 0x06,
|
||
|
0x00, 0xC0, 0x30, 0x1E, 0x07, 0x00, 0x78, 0x06, 0x00, 0xC0, 0x18, 0x06,
|
||
|
0x00, 0xFC, 0x1F, 0x80, 0x10, 0xCC, 0x63, 0x31, 0x8C, 0xC6, 0x00, 0x07,
|
||
|
0x83, 0xF8, 0x26, 0x00, 0xC0, 0x18, 0x03, 0x00, 0xE0, 0x0E, 0x01, 0xC0,
|
||
|
0x70, 0x18, 0x03, 0x00, 0x61, 0xFC, 0x3F, 0x00, 0x31, 0x7E, 0xDE };
|
||
|
|
||
|
const GFXglyph permanentmarker_13pt7bGlyphs[] = {
|
||
|
{ 0, 1, 1, 5, 0, 0 }, // 0x20 ' '
|
||
|
{ 1, 4, 10, 4, 0, -9 }, // 0x21 '!'
|
||
|
{ 6, 6, 6, 7, 1, -9 }, // 0x22 '"'
|
||
|
{ 11, 10, 10, 10, 0, -9 }, // 0x23 '#'
|
||
|
{ 24, 8, 10, 7, 0, -9 }, // 0x24 '$'
|
||
|
{ 34, 8, 10, 9, 1, -9 }, // 0x25 '%'
|
||
|
{ 44, 8, 7, 8, 0, -7 }, // 0x26 '&'
|
||
|
{ 51, 3, 6, 4, 1, -9 }, // 0x27 '''
|
||
|
{ 54, 7, 15, 5, 0, -11 }, // 0x28 '('
|
||
|
{ 68, 7, 15, 5, -2, -11 }, // 0x29 ')'
|
||
|
{ 82, 9, 7, 9, 1, -9 }, // 0x2A '*'
|
||
|
{ 90, 7, 7, 8, 0, -6 }, // 0x2B '+'
|
||
|
{ 97, 4, 4, 3, -2, -1 }, // 0x2C ','
|
||
|
{ 99, 8, 2, 9, 0, -4 }, // 0x2D '-'
|
||
|
{ 101, 2, 2, 3, 0, -1 }, // 0x2E '.'
|
||
|
{ 102, 8, 10, 6, -1, -9 }, // 0x2F '/'
|
||
|
{ 112, 9, 11, 10, 0, -10 }, // 0x30 '0'
|
||
|
{ 125, 4, 10, 5, 0, -9 }, // 0x31 '1'
|
||
|
{ 130, 9, 10, 9, 1, -9 }, // 0x32 '2'
|
||
|
{ 142, 8, 10, 8, 0, -9 }, // 0x33 '3'
|
||
|
{ 152, 7, 11, 8, 1, -10 }, // 0x34 '4'
|
||
|
{ 162, 8, 10, 8, 1, -9 }, // 0x35 '5'
|
||
|
{ 172, 7, 10, 7, 0, -9 }, // 0x36 '6'
|
||
|
{ 181, 9, 10, 8, 0, -9 }, // 0x37 '7'
|
||
|
{ 193, 7, 10, 8, 1, -9 }, // 0x38 '8'
|
||
|
{ 202, 7, 10, 7, 1, -9 }, // 0x39 '9'
|
||
|
{ 211, 3, 6, 3, 0, -5 }, // 0x3A ':'
|
||
|
{ 214, 4, 8, 3, -1, -5 }, // 0x3B ';'
|
||
|
{ 218, 9, 7, 9, 0, -6 }, // 0x3C '<'
|
||
|
{ 226, 8, 5, 8, 0, -5 }, // 0x3D '='
|
||
|
{ 231, 9, 7, 9, -1, -6 }, // 0x3E '>'
|
||
|
{ 239, 8, 10, 8, 1, -9 }, // 0x3F '?'
|
||
|
{ 249, 10, 10, 10, 0, -9 }, // 0x40 '@'
|
||
|
{ 262, 10, 10, 10, 0, -9 }, // 0x41 'A'
|
||
|
{ 275, 9, 10, 10, 0, -9 }, // 0x42 'B'
|
||
|
{ 287, 8, 10, 9, 0, -9 }, // 0x43 'C'
|
||
|
{ 297, 8, 10, 8, 0, -9 }, // 0x44 'D'
|
||
|
{ 307, 9, 10, 9, 0, -9 }, // 0x45 'E'
|
||
|
{ 319, 10, 10, 8, 0, -9 }, // 0x46 'F'
|
||
|
{ 332, 12, 10, 11, 0, -9 }, // 0x47 'G'
|
||
|
{ 347, 9, 10, 10, 0, -9 }, // 0x48 'H'
|
||
|
{ 359, 10, 10, 7, -1, -9 }, // 0x49 'I'
|
||
|
{ 372, 11, 10, 9, 0, -9 }, // 0x4A 'J'
|
||
|
{ 386, 11, 10, 11, 0, -9 }, // 0x4B 'K'
|
||
|
{ 400, 9, 10, 9, 0, -9 }, // 0x4C 'L'
|
||
|
{ 412, 14, 10, 14, 0, -9 }, // 0x4D 'M'
|
||
|
{ 430, 10, 10, 10, 0, -9 }, // 0x4E 'N'
|
||
|
{ 443, 10, 10, 10, 0, -9 }, // 0x4F 'O'
|
||
|
{ 456, 9, 10, 9, 0, -9 }, // 0x50 'P'
|
||
|
{ 468, 10, 11, 10, 0, -9 }, // 0x51 'Q'
|
||
|
{ 482, 9, 11, 9, 0, -9 }, // 0x52 'R'
|
||
|
{ 495, 10, 10, 8, 0, -9 }, // 0x53 'S'
|
||
|
{ 508, 11, 10, 9, 0, -9 }, // 0x54 'T'
|
||
|
{ 522, 9, 10, 10, 1, -9 }, // 0x55 'U'
|
||
|
{ 534, 8, 10, 8, 1, -9 }, // 0x56 'V'
|
||
|
{ 544, 15, 10, 14, 0, -9 }, // 0x57 'W'
|
||
|
{ 563, 10, 10, 9, 0, -9 }, // 0x58 'X'
|
||
|
{ 576, 7, 10, 7, 1, -9 }, // 0x59 'Y'
|
||
|
{ 585, 10, 11, 9, 0, -9 }, // 0x5A 'Z'
|
||
|
{ 599, 10, 15, 5, 0, -12 }, // 0x5B '['
|
||
|
{ 618, 3, 10, 5, 1, -9 }, // 0x5C '\'
|
||
|
{ 622, 10, 15, 6, -4, -12 }, // 0x5D ']'
|
||
|
{ 641, 6, 9, 7, 0, -10 }, // 0x5E '^'
|
||
|
{ 648, 11, 2, 10, -1, -1 }, // 0x5F '_'
|
||
|
{ 651, 4, 4, 11, 4, -9 }, // 0x60 '`'
|
||
|
{ 653, 8, 8, 8, 0, -7 }, // 0x61 'a'
|
||
|
{ 661, 8, 9, 8, 0, -8 }, // 0x62 'b'
|
||
|
{ 670, 7, 8, 7, 0, -7 }, // 0x63 'c'
|
||
|
{ 677, 7, 8, 7, 0, -7 }, // 0x64 'd'
|
||
|
{ 684, 8, 8, 7, 0, -7 }, // 0x65 'e'
|
||
|
{ 692, 8, 8, 6, 0, -7 }, // 0x66 'f'
|
||
|
{ 700, 10, 8, 9, 0, -7 }, // 0x67 'g'
|
||
|
{ 710, 8, 9, 8, 0, -8 }, // 0x68 'h'
|
||
|
{ 719, 3, 8, 4, 1, -7 }, // 0x69 'i'
|
||
|
{ 722, 9, 8, 7, 0, -7 }, // 0x6A 'j'
|
||
|
{ 731, 9, 8, 9, 0, -7 }, // 0x6B 'k'
|
||
|
{ 740, 7, 8, 7, 0, -7 }, // 0x6C 'l'
|
||
|
{ 747, 11, 9, 11, 0, -8 }, // 0x6D 'm'
|
||
|
{ 760, 8, 8, 8, 0, -7 }, // 0x6E 'n'
|
||
|
{ 768, 8, 9, 9, 0, -8 }, // 0x6F 'o'
|
||
|
{ 777, 8, 8, 7, 0, -7 }, // 0x70 'p'
|
||
|
{ 785, 8, 9, 9, 0, -7 }, // 0x71 'q'
|
||
|
{ 794, 8, 9, 8, 0, -7 }, // 0x72 'r'
|
||
|
{ 803, 8, 8, 7, 0, -7 }, // 0x73 's'
|
||
|
{ 811, 9, 8, 7, 0, -7 }, // 0x74 't'
|
||
|
{ 820, 8, 8, 8, 1, -7 }, // 0x75 'u'
|
||
|
{ 828, 7, 8, 7, 1, -7 }, // 0x76 'v'
|
||
|
{ 835, 12, 8, 12, 0, -7 }, // 0x77 'w'
|
||
|
{ 847, 8, 8, 7, 0, -7 }, // 0x78 'x'
|
||
|
{ 855, 6, 9, 6, 1, -8 }, // 0x79 'y'
|
||
|
{ 862, 8, 9, 8, 0, -7 }, // 0x7A 'z'
|
||
|
{ 871, 11, 15, 6, 0, -12 }, // 0x7B '{'
|
||
|
{ 892, 5, 10, 5, 0, -9 }, // 0x7C '|'
|
||
|
{ 899, 11, 15, 7, -4, -12 }, // 0x7D '}'
|
||
|
{ 920, 8, 3, 8, 0, -5 } }; // 0x7E '~'
|
||
|
|
||
|
const GFXfont permanentmarker_13pt7b = {
|
||
|
(uint8_t *)permanentmarker_13pt7bBitmaps,
|
||
|
(GFXglyph *)permanentmarker_13pt7bGlyphs,
|
||
|
0x20, 0x7E, 13 };//B
|
||
|
|
||
|
// Approx. 1595 bytes
|