mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
139 lines
7.7 KiB
C
139 lines
7.7 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_ExtraBold_8pt7bBitmaps[] = {
|
|
0x00, 0xFA, 0xF4, 0x2C, 0xA7, 0xCA, 0xFD, 0x25, 0x80, 0x13, 0xF1, 0xC7,
|
|
0x9C, 0x7F, 0x20, 0x64, 0xA4, 0xA8, 0xEF, 0x15, 0x15, 0x27, 0x78, 0x81,
|
|
0x33, 0xEC, 0xD9, 0x9F, 0x80, 0xE0, 0x2B, 0x6D, 0x93, 0xC9, 0xB6, 0xDE,
|
|
0x2D, 0x66, 0x22, 0xF2, 0x20, 0xD4, 0xE0, 0xC0, 0x18, 0x84, 0x42, 0x23,
|
|
0x00, 0x7A, 0x73, 0x9C, 0xA5, 0xE0, 0x7C, 0x92, 0x48, 0xF0, 0xC6, 0x66,
|
|
0x73, 0xE0, 0xF0, 0xC6, 0xE1, 0x8F, 0xC0, 0x21, 0x85, 0xB6, 0xFC, 0x61,
|
|
0x80, 0x7A, 0x19, 0xF1, 0x8F, 0xC0, 0x7A, 0x3F, 0xBC, 0xAD, 0xE0, 0xF8,
|
|
0xCC, 0x63, 0x11, 0x80, 0x7A, 0x52, 0xEC, 0xE5, 0xE0, 0x76, 0xF6, 0xF1,
|
|
0x8D, 0xC0, 0xC3, 0xC3, 0x50, 0x17, 0xC3, 0xF8, 0x3E, 0x87, 0x3E, 0xF0,
|
|
0xCC, 0x62, 0x01, 0x80, 0x7C, 0xBF, 0xDE, 0xFC, 0x0F, 0xC0, 0x31, 0xE7,
|
|
0x92, 0x7B, 0x3C, 0xC0, 0xF4, 0xA5, 0xC9, 0x4F, 0xC0, 0x7A, 0x31, 0x8C,
|
|
0x21, 0xE0, 0xF4, 0xE7, 0x39, 0xCF, 0xC0, 0x7E, 0x31, 0xFC, 0x61, 0xE0,
|
|
0xF8, 0x8F, 0x88, 0x80, 0x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/'
|
|
{ 49, 5, 7, 6, 0, -6 }, // 0x30 '0'
|
|
{ 54, 3, 7, 4, 0, -6 }, // 0x31 '1'
|
|
{ 57, 5, 7, 5, 0, -6 }, // 0x32 '2'
|
|
{ 62, 5, 7, 5, 0, -6 }, // 0x33 '3'
|
|
{ 67, 6, 7, 6, 0, -6 }, // 0x34 '4'
|
|
{ 73, 5, 7, 5, 0, -6 }, // 0x35 '5'
|
|
{ 78, 5, 7, 5, 0, -6 }, // 0x36 '6'
|
|
{ 83, 5, 7, 5, 0, -6 }, // 0x37 '7'
|
|
{ 88, 5, 7, 6, 0, -6 }, // 0x38 '8'
|
|
{ 93, 5, 7, 5, 0, -6 }, // 0x39 '9'
|
|
{ 98, 2, 4, 2, 0, -3 }, // 0x3A ':'
|
|
{ 99, 2, 6, 2, 0, -3 }, // 0x3B ';'
|
|
{ 101, 4, 4, 5, 0, -4 }, // 0x3C '<'
|
|
{ 103, 5, 3, 5, 0, -3 }, // 0x3D '='
|
|
{ 105, 4, 4, 5, 0, -4 }, // 0x3E '>'
|
|
{ 107, 5, 7, 5, 0, -6 }, // 0x3F '?'
|
|
{ 112, 7, 6, 7, 0, -5 }, // 0x40 '@'
|
|
{ 118, 6, 7, 6, 0, -6 }, // 0x41 'A'
|
|
{ 124, 5, 7, 6, 1, -6 }, // 0x42 'B'
|
|
{ 129, 5, 7, 5, 0, -6 }, // 0x43 'C'
|
|
{ 134, 5, 7, 6, 1, -6 }, // 0x44 'D'
|
|
{ 139, 5, 7, 5, 0, -6 }, // 0x45 'E'
|
|
{ 144, 4, 7, 5, 1, -6 }, // 0x46 'F'
|
|
{ 148, 6, 7, 6, 0, -6 }, // 0x47 'G'
|
|
{ 154, 5, 7, 6, 1, -6 }, // 0x48 'H'
|
|
{ 159, 1, 7, 3, 1, -6 }, // 0x49 'I'
|
|
{ 160, 3, 7, 3, 0, -6 }, // 0x4A 'J'
|
|
{ 163, 5, 7, 6, 1, -6 }, // 0x4B 'K'
|
|
{ 168, 4, 7, 5, 1, -6 }, // 0x4C 'L'
|
|
{ 172, 8, 7, 8, 0, -6 }, // 0x4D 'M'
|
|
{ 179, 5, 7, 7, 1, -6 }, // 0x4E 'N'
|
|
{ 184, 6, 7, 6, 0, -6 }, // 0x4F 'O'
|
|
{ 190, 4, 7, 6, 1, -6 }, // 0x50 'P'
|
|
{ 194, 6, 9, 6, 0, -6 }, // 0x51 'Q'
|
|
{ 201, 5, 7, 6, 1, -6 }, // 0x52 'R'
|
|
{ 206, 5, 7, 5, 0, -6 }, // 0x53 'S'
|
|
{ 211, 5, 7, 6, 0, -6 }, // 0x54 'T'
|
|
{ 216, 6, 7, 6, 0, -6 }, // 0x55 'U'
|
|
{ 222, 6, 7, 6, 0, -6 }, // 0x56 'V'
|
|
{ 228, 9, 7, 9, 0, -6 }, // 0x57 'W'
|
|
{ 236, 6, 7, 6, 0, -6 }, // 0x58 'X'
|
|
{ 242, 6, 7, 6, 0, -6 }, // 0x59 'Y'
|
|
{ 248, 5, 7, 5, 0, -6 }, // 0x5A 'Z'
|
|
{ 253, 2, 9, 3, 1, -6 }, // 0x5B '['
|
|
{ 256, 5, 7, 5, 0, -6 }, // 0x5C '\'
|
|
{ 261, 3, 9, 3, 0, -6 }, // 0x5D ']'
|
|
{ 265, 4, 3, 4, 0, -5 }, // 0x5E '^'
|
|
{ 267, 4, 1, 4, 0, 1 }, // 0x5F '_'
|
|
{ 268, 3, 2, 3, 0, -6 }, // 0x60 '`'
|
|
{ 269, 5, 5, 5, 0, -4 }, // 0x61 'a'
|
|
{ 273, 5, 7, 5, 0, -6 }, // 0x62 'b'
|
|
{ 278, 4, 5, 5, 0, -4 }, // 0x63 'c'
|
|
{ 281, 5, 7, 5, 0, -6 }, // 0x64 'd'
|
|
{ 286, 5, 5, 5, 0, -4 }, // 0x65 'e'
|
|
{ 290, 4, 7, 4, 0, -6 }, // 0x66 'f'
|
|
{ 294, 5, 7, 5, 0, -4 }, // 0x67 'g'
|
|
{ 299, 5, 7, 6, 0, -6 }, // 0x68 'h'
|
|
{ 304, 2, 7, 3, 0, -6 }, // 0x69 'i'
|
|
{ 306, 2, 9, 3, 0, -6 }, // 0x6A 'j'
|
|
{ 309, 5, 7, 5, 0, -6 }, // 0x6B 'k'
|
|
{ 314, 3, 7, 3, 0, -6 }, // 0x6C 'l'
|
|
{ 317, 8, 5, 8, 0, -4 }, // 0x6D 'm'
|
|
{ 322, 5, 5, 6, 0, -4 }, // 0x6E 'n'
|
|
{ 326, 5, 5, 5, 0, -4 }, // 0x6F 'o'
|
|
{ 330, 5, 7, 6, 0, -4 }, // 0x70 'p'
|
|
{ 335, 5, 7, 5, 0, -4 }, // 0x71 'q'
|
|
{ 340, 4, 5, 4, 0, -4 }, // 0x72 'r'
|
|
{ 343, 5, 5, 5, 0, -4 }, // 0x73 's'
|
|
{ 347, 4, 7, 4, 0, -6 }, // 0x74 't'
|
|
{ 351, 5, 5, 5, 0, -4 }, // 0x75 'u'
|
|
{ 355, 5, 5, 5, 0, -4 }, // 0x76 'v'
|
|
{ 359, 8, 5, 8, 0, -4 }, // 0x77 'w'
|
|
{ 364, 5, 5, 5, 0, -4 }, // 0x78 'x'
|
|
{ 368, 5, 7, 5, 0, -4 }, // 0x79 'y'
|
|
{ 373, 5, 5, 5, 0, -4 }, // 0x7A 'z'
|
|
{ 377, 3, 9, 3, 0, -6 }, // 0x7B '{'
|
|
{ 381, 1, 9, 2, 1, -6 }, // 0x7C '|'
|
|
{ 383, 3, 9, 3, 0, -6 }, // 0x7D '}'
|
|
{ 387, 4, 1, 5, 0, -2 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_ExtraBold_8pt7b = {
|
|
(uint8_t *)Exo2_ExtraBold_8pt7bBitmaps,
|
|
(GFXglyph *)Exo2_ExtraBold_8pt7bGlyphs,
|
|
0x20, 0x7E, 8 };//B
|
|
|
|
// Approx. 1060 bytes
|