mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-29 20:41:05 +00:00
140 lines
7.6 KiB
C
140 lines
7.6 KiB
C
|
#include "../include/driver_framebuffer.h"
|
||
|
const uint8_t Exo2_Bold_9pt7bBitmaps[] = {
|
||
|
0x00, 0xFA, 0xF0, 0x24, 0x49, 0xF9, 0x4F, 0xCD, 0x12, 0x00, 0x13, 0xF0,
|
||
|
0xC7, 0x8C, 0x2F, 0x20, 0x62, 0x4A, 0x25, 0x0F, 0x61, 0x48, 0xA4, 0x8C,
|
||
|
0xF2, 0x08, 0x9F, 0x8A, 0x2F, 0xC0, 0xC0, 0x2D, 0x6D, 0x92, 0x64, 0x88,
|
||
|
0x92, 0x4B, 0x50, 0x2F, 0x70, 0x27, 0xC8, 0x40, 0xD0, 0xE0, 0x80, 0x08,
|
||
|
0xC4, 0x42, 0x23, 0x00, 0x79, 0x34, 0xF3, 0x4D, 0x37, 0x80, 0x74, 0x92,
|
||
|
0x48, 0x78, 0x46, 0x63, 0x33, 0xE0, 0x78, 0xC6, 0xE0, 0x87, 0xE0, 0x31,
|
||
|
0xA4, 0x92, 0xFC, 0x20, 0x80, 0x7A, 0x18, 0xF0, 0x8F, 0xC0, 0xF8, 0xF9,
|
||
|
0x99, 0xF0, 0xF8, 0xC4, 0x23, 0x11, 0x80, 0xF4, 0xE4, 0xE9, 0xCF, 0xC0,
|
||
|
0x7E, 0x72, 0xF0, 0x8D, 0xE0, 0x90, 0x98, 0x1F, 0x38, 0x30, 0xF0, 0xF0,
|
||
|
0x87, 0x78, 0xF0, 0xC6, 0x62, 0x00, 0x80, 0xFE, 0x1B, 0xE9, 0xBE, 0x0F,
|
||
|
0xC0, 0x38, 0xE6, 0x9A, 0x7F, 0x1C, 0x40, 0xF4, 0xE7, 0xE9, 0xCF, 0xE0,
|
||
|
0x79, 0x04, 0x30, 0x41, 0x07, 0xC0, 0xF4, 0xE3, 0x18, 0xCF, 0xC0, 0xF8,
|
||
|
0x8F, 0x88, 0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 0x4E, 0x52, 0x60, 0xAA, 0xAC, 0xFF, 0x26, 0x4C,
|
||
|
0x99, 0x20, 0xF9, 0x99, 0x90, 0x7A, 0x73, 0x97, 0x80, 0xF4, 0xA7, 0x3F,
|
||
|
0x42, 0x00, 0x7A, 0x73, 0x97, 0x84, 0x20, 0xF2, 0x48, 0x7E, 0x1C, 0x3F,
|
||
|
0x80, 0x66, 0xF6, 0x66, 0x70, 0x99, 0x99, 0xF0, 0xCD, 0x25, 0x9C, 0x30,
|
||
|
0xD9, 0x5B, 0x57, 0x56, 0x76, 0xC9, 0xE3, 0x16, 0xCC, 0xCD, 0x25, 0x9C,
|
||
|
0x30, 0xC6, 0x00, 0xF8, 0x88, 0x8F, 0x80, 0x69, 0x2C, 0x92, 0x60, 0xFF,
|
||
|
0x80, 0xCD, 0xB2, 0xDB, 0xC0, 0xF0 };
|
||
|
|
||
|
const GFXglyph Exo2_Bold_9pt7bGlyphs[] = {
|
||
|
{ 0, 1, 1, 2, 0, 0 }, // 0x20 ' '
|
||
|
{ 1, 1, 7, 3, 1, -6 }, // 0x21 '!'
|
||
|
{ 2, 2, 2, 4, 1, -6 }, // 0x22 '"'
|
||
|
{ 3, 7, 7, 7, 0, -6 }, // 0x23 '#'
|
||
|
{ 10, 5, 9, 6, 0, -7 }, // 0x24 '$'
|
||
|
{ 16, 9, 7, 9, 0, -6 }, // 0x25 '%'
|
||
|
{ 24, 6, 7, 8, 1, -6 }, // 0x26 '&'
|
||
|
{ 30, 1, 2, 2, 1, -6 }, // 0x27 '''
|
||
|
{ 31, 3, 10, 4, 0, -7 }, // 0x28 '('
|
||
|
{ 35, 3, 10, 4, 0, -7 }, // 0x29 ')'
|
||
|
{ 39, 4, 3, 5, 0, -6 }, // 0x2A '*'
|
||
|
{ 41, 5, 4, 5, 0, -4 }, // 0x2B '+'
|
||
|
{ 44, 2, 2, 2, 0, 0 }, // 0x2C ','
|
||
|
{ 45, 3, 1, 4, 1, -2 }, // 0x2D '-'
|
||
|
{ 46, 1, 1, 2, 1, 0 }, // 0x2E '.'
|
||
|
{ 47, 5, 7, 6, 0, -6 }, // 0x2F '/'
|
||
|
{ 52, 6, 7, 6, 0, -6 }, // 0x30 '0'
|
||
|
{ 58, 3, 7, 4, 0, -6 }, // 0x31 '1'
|
||
|
{ 61, 5, 7, 6, 0, -6 }, // 0x32 '2'
|
||
|
{ 66, 5, 7, 6, 0, -6 }, // 0x33 '3'
|
||
|
{ 71, 6, 7, 6, 0, -6 }, // 0x34 '4'
|
||
|
{ 77, 5, 7, 6, 0, -6 }, // 0x35 '5'
|
||
|
{ 82, 4, 7, 6, 1, -6 }, // 0x36 '6'
|
||
|
{ 86, 5, 7, 5, 0, -6 }, // 0x37 '7'
|
||
|
{ 91, 5, 7, 6, 1, -6 }, // 0x38 '8'
|
||
|
{ 96, 5, 7, 6, 0, -6 }, // 0x39 '9'
|
||
|
{ 101, 1, 4, 3, 1, -3 }, // 0x3A ':'
|
||
|
{ 102, 1, 5, 3, 1, -3 }, // 0x3B ';'
|
||
|
{ 103, 5, 4, 5, 0, -4 }, // 0x3C '<'
|
||
|
{ 106, 4, 3, 6, 1, -3 }, // 0x3D '='
|
||
|
{ 108, 4, 4, 5, 1, -4 }, // 0x3E '>'
|
||
|
{ 110, 5, 7, 5, 0, -6 }, // 0x3F '?'
|
||
|
{ 115, 6, 7, 8, 1, -5 }, // 0x40 '@'
|
||
|
{ 121, 6, 7, 7, 0, -6 }, // 0x41 'A'
|
||
|
{ 127, 5, 7, 6, 1, -6 }, // 0x42 'B'
|
||
|
{ 132, 6, 7, 6, 0, -6 }, // 0x43 'C'
|
||
|
{ 138, 5, 7, 7, 1, -6 }, // 0x44 'D'
|
||
|
{ 143, 4, 7, 6, 1, -6 }, // 0x45 'E'
|
||
|
{ 147, 4, 7, 6, 1, -6 }, // 0x46 'F'
|
||
|
{ 151, 6, 7, 6, 0, -6 }, // 0x47 'G'
|
||
|
{ 157, 5, 7, 7, 1, -6 }, // 0x48 'H'
|
||
|
{ 162, 1, 7, 3, 1, -6 }, // 0x49 'I'
|
||
|
{ 163, 3, 7, 4, 0, -6 }, // 0x4A 'J'
|
||
|
{ 166, 5, 7, 6, 1, -6 }, // 0x4B 'K'
|
||
|
{ 171, 4, 7, 5, 1, -6 }, // 0x4C 'L'
|
||
|
{ 175, 8, 7, 9, 1, -6 }, // 0x4D 'M'
|
||
|
{ 182, 6, 7, 7, 1, -6 }, // 0x4E 'N'
|
||
|
{ 188, 6, 7, 7, 0, -6 }, // 0x4F 'O'
|
||
|
{ 194, 5, 7, 6, 1, -6 }, // 0x50 'P'
|
||
|
{ 199, 6, 9, 7, 0, -6 }, // 0x51 'Q'
|
||
|
{ 206, 5, 7, 6, 1, -6 }, // 0x52 'R'
|
||
|
{ 211, 5, 7, 6, 0, -6 }, // 0x53 'S'
|
||
|
{ 216, 6, 7, 6, 0, -6 }, // 0x54 'T'
|
||
|
{ 222, 5, 7, 7, 1, -6 }, // 0x55 'U'
|
||
|
{ 227, 6, 7, 6, 0, -6 }, // 0x56 'V'
|
||
|
{ 233, 9, 7, 10, 0, -6 }, // 0x57 'W'
|
||
|
{ 241, 6, 7, 6, 0, -6 }, // 0x58 'X'
|
||
|
{ 247, 6, 7, 6, 0, -6 }, // 0x59 'Y'
|
||
|
{ 253, 5, 7, 6, 0, -6 }, // 0x5A 'Z'
|
||
|
{ 258, 2, 9, 3, 1, -6 }, // 0x5B '['
|
||
|
{ 261, 5, 7, 6, 0, -6 }, // 0x5C '\'
|
||
|
{ 266, 3, 9, 3, 0, -6 }, // 0x5D ']'
|
||
|
{ 270, 4, 3, 5, 0, -5 }, // 0x5E '^'
|
||
|
{ 272, 4, 1, 4, 0, 1 }, // 0x5F '_'
|
||
|
{ 273, 3, 2, 4, 0, -6 }, // 0x60 '`'
|
||
|
{ 274, 5, 5, 6, 0, -4 }, // 0x61 'a'
|
||
|
{ 278, 5, 7, 6, 1, -6 }, // 0x62 'b'
|
||
|
{ 283, 5, 5, 5, 0, -4 }, // 0x63 'c'
|
||
|
{ 287, 5, 7, 6, 0, -6 }, // 0x64 'd'
|
||
|
{ 292, 5, 5, 6, 0, -4 }, // 0x65 'e'
|
||
|
{ 296, 4, 7, 4, 0, -6 }, // 0x66 'f'
|
||
|
{ 300, 6, 7, 6, 0, -4 }, // 0x67 'g'
|
||
|
{ 306, 4, 7, 6, 1, -6 }, // 0x68 'h'
|
||
|
{ 310, 1, 7, 3, 1, -6 }, // 0x69 'i'
|
||
|
{ 311, 2, 9, 3, 0, -6 }, // 0x6A 'j'
|
||
|
{ 314, 5, 7, 6, 1, -6 }, // 0x6B 'k'
|
||
|
{ 319, 2, 7, 3, 1, -6 }, // 0x6C 'l'
|
||
|
{ 321, 7, 5, 9, 1, -4 }, // 0x6D 'm'
|
||
|
{ 326, 4, 5, 6, 1, -4 }, // 0x6E 'n'
|
||
|
{ 329, 5, 5, 6, 0, -4 }, // 0x6F 'o'
|
||
|
{ 333, 5, 7, 6, 1, -4 }, // 0x70 'p'
|
||
|
{ 338, 5, 7, 6, 0, -4 }, // 0x71 'q'
|
||
|
{ 343, 3, 5, 4, 1, -4 }, // 0x72 'r'
|
||
|
{ 345, 5, 5, 5, 0, -4 }, // 0x73 's'
|
||
|
{ 349, 4, 7, 4, 0, -6 }, // 0x74 't'
|
||
|
{ 353, 4, 5, 6, 1, -4 }, // 0x75 'u'
|
||
|
{ 356, 6, 5, 6, 0, -4 }, // 0x76 'v'
|
||
|
{ 360, 8, 5, 8, 0, -4 }, // 0x77 'w'
|
||
|
{ 365, 6, 5, 6, 0, -4 }, // 0x78 'x'
|
||
|
{ 369, 6, 7, 6, 0, -4 }, // 0x79 'y'
|
||
|
{ 375, 5, 5, 5, 0, -4 }, // 0x7A 'z'
|
||
|
{ 379, 3, 9, 3, 0, -6 }, // 0x7B '{'
|
||
|
{ 383, 1, 9, 3, 1, -6 }, // 0x7C '|'
|
||
|
{ 385, 3, 9, 3, 0, -6 }, // 0x7D '}'
|
||
|
{ 389, 4, 1, 5, 1, -2 } }; // 0x7E '~'
|
||
|
|
||
|
const GFXfont Exo2_Bold_9pt7b = {
|
||
|
(uint8_t *)Exo2_Bold_9pt7bBitmaps,
|
||
|
(GFXglyph *)Exo2_Bold_9pt7bGlyphs,
|
||
|
0x20, 0x7E, 9 };//B
|
||
|
|
||
|
// Approx. 1062 bytes
|