mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-12-01 21:41:06 +00:00
143 lines
7.9 KiB
C
143 lines
7.9 KiB
C
|
#include "../include/driver_framebuffer.h"
|
||
|
const uint8_t Exo2_ExtraBold_9pt7bBitmaps[] = {
|
||
|
0x00, 0xFA, 0xEC, 0x34, 0x49, 0xF9, 0x6F, 0xED, 0x1A, 0x00, 0x11, 0xEC,
|
||
|
0x38, 0x78, 0x70, 0xFE, 0x20, 0x62, 0x7A, 0x3D, 0x1F, 0x71, 0xE8, 0xB4,
|
||
|
0x8E, 0x78, 0xC1, 0x91, 0xF4, 0x59, 0x9F, 0x80, 0xD0, 0x36, 0x4C, 0xCC,
|
||
|
0xC4, 0x61, 0x8D, 0x92, 0x4B, 0x50, 0x2F, 0x76, 0x27, 0xC8, 0x40, 0xD4,
|
||
|
0xE0, 0xC0, 0x0C, 0x61, 0x0C, 0x21, 0x8C, 0x00, 0x79, 0xBC, 0xF3, 0xCD,
|
||
|
0xB7, 0x80, 0x7F, 0x33, 0x33, 0x30, 0xF8, 0x61, 0x8E, 0x73, 0x8F, 0xC0,
|
||
|
0xF8, 0xC6, 0xE1, 0x8F, 0xE0, 0x31, 0x86, 0x92, 0xFC, 0x20, 0x80, 0x7A,
|
||
|
0x1C, 0xF1, 0x8F, 0xE0, 0x79, 0x0F, 0xB3, 0xCD, 0x37, 0x80, 0xF8, 0xC6,
|
||
|
0x63, 0x19, 0x80, 0x79, 0x34, 0xDE, 0x4F, 0x37, 0x80, 0x7B, 0x2C, 0xDF,
|
||
|
0x0C, 0x67, 0x80, 0xC3, 0xC3, 0x50, 0x3F, 0x38, 0x70, 0xF0, 0xF0, 0xE1,
|
||
|
0xCF, 0xC0, 0xF8, 0xC6, 0x62, 0x00, 0x80, 0x7E, 0xBF, 0x4E, 0xF4, 0x0F,
|
||
|
0xC0, 0x38, 0x51, 0xA3, 0x67, 0xD9, 0xB1, 0x80, 0xFC, 0xE7, 0xE9, 0xCF,
|
||
|
0xE0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, -6 }, // 0x27 '''
|
||
|
{ 33, 4, 10, 4, 0, -7 }, // 0x28 '('
|
||
|
{ 38, 3, 10, 4, 0, -7 }, // 0x29 ')'
|
||
|
{ 42, 4, 4, 5, 0, -6 }, // 0x2A '*'
|
||
|
{ 44, 5, 4, 5, 0, -4 }, // 0x2B '+'
|
||
|
{ 47, 2, 3, 2, 0, 0 }, // 0x2C ','
|
||
|
{ 48, 3, 1, 4, 0, -2 }, // 0x2D '-'
|
||
|
{ 49, 2, 1, 3, 0, 0 }, // 0x2E '.'
|
||
|
{ 50, 6, 7, 6, 0, -6 }, // 0x2F '/'
|
||
|
{ 56, 6, 7, 6, 0, -6 }, // 0x30 '0'
|
||
|
{ 62, 4, 7, 4, 0, -6 }, // 0x31 '1'
|
||
|
{ 66, 6, 7, 6, 0, -6 }, // 0x32 '2'
|
||
|
{ 72, 5, 7, 6, 0, -6 }, // 0x33 '3'
|
||
|
{ 77, 6, 7, 6, 0, -6 }, // 0x34 '4'
|
||
|
{ 83, 5, 7, 6, 0, -6 }, // 0x35 '5'
|
||
|
{ 88, 6, 7, 6, 0, -6 }, // 0x36 '6'
|
||
|
{ 94, 5, 7, 5, 0, -6 }, // 0x37 '7'
|
||
|
{ 99, 6, 7, 6, 0, -6 }, // 0x38 '8'
|
||
|
{ 105, 6, 7, 6, 0, -6 }, // 0x39 '9'
|
||
|
{ 111, 2, 4, 3, 0, -3 }, // 0x3A ':'
|
||
|
{ 112, 2, 6, 3, 0, -3 }, // 0x3B ';'
|
||
|
{ 114, 5, 4, 5, 0, -4 }, // 0x3C '<'
|
||
|
{ 117, 4, 3, 6, 1, -3 }, // 0x3D '='
|
||
|
{ 119, 5, 4, 5, 0, -4 }, // 0x3E '>'
|
||
|
{ 122, 5, 7, 5, 0, -6 }, // 0x3F '?'
|
||
|
{ 127, 7, 6, 8, 0, -5 }, // 0x40 '@'
|
||
|
{ 133, 7, 7, 7, 0, -6 }, // 0x41 'A'
|
||
|
{ 140, 5, 7, 7, 1, -6 }, // 0x42 'B'
|
||
|
{ 145, 6, 7, 6, 0, -6 }, // 0x43 'C'
|
||
|
{ 151, 6, 7, 7, 1, -6 }, // 0x44 'D'
|
||
|
{ 157, 5, 7, 6, 1, -6 }, // 0x45 'E'
|
||
|
{ 162, 4, 7, 6, 1, -6 }, // 0x46 'F'
|
||
|
{ 166, 6, 7, 7, 0, -6 }, // 0x47 'G'
|
||
|
{ 172, 5, 7, 7, 1, -6 }, // 0x48 'H'
|
||
|
{ 177, 1, 7, 3, 1, -6 }, // 0x49 'I'
|
||
|
{ 178, 3, 7, 4, 0, -6 }, // 0x4A 'J'
|
||
|
{ 181, 6, 7, 7, 1, -6 }, // 0x4B 'K'
|
||
|
{ 187, 4, 7, 5, 1, -6 }, // 0x4C 'L'
|
||
|
{ 191, 9, 7, 9, 0, -6 }, // 0x4D 'M'
|
||
|
{ 199, 6, 7, 7, 1, -6 }, // 0x4E 'N'
|
||
|
{ 205, 7, 7, 7, 0, -6 }, // 0x4F 'O'
|
||
|
{ 212, 5, 7, 6, 1, -6 }, // 0x50 'P'
|
||
|
{ 217, 7, 9, 7, 0, -6 }, // 0x51 'Q'
|
||
|
{ 225, 5, 7, 7, 1, -6 }, // 0x52 'R'
|
||
|
{ 230, 6, 7, 6, 0, -6 }, // 0x53 'S'
|
||
|
{ 236, 6, 7, 6, 0, -6 }, // 0x54 'T'
|
||
|
{ 242, 5, 7, 7, 1, -6 }, // 0x55 'U'
|
||
|
{ 247, 7, 7, 7, 0, -6 }, // 0x56 'V'
|
||
|
{ 254, 10, 7, 10, 0, -6 }, // 0x57 'W'
|
||
|
{ 263, 7, 7, 7, 0, -6 }, // 0x58 'X'
|
||
|
{ 270, 6, 7, 6, 0, -6 }, // 0x59 'Y'
|
||
|
{ 276, 6, 7, 6, 0, -6 }, // 0x5A 'Z'
|
||
|
{ 282, 2, 9, 4, 1, -6 }, // 0x5B '['
|
||
|
{ 285, 6, 7, 6, 0, -6 }, // 0x5C '\'
|
||
|
{ 291, 3, 9, 4, 0, -6 }, // 0x5D ']'
|
||
|
{ 295, 5, 3, 5, 0, -5 }, // 0x5E '^'
|
||
|
{ 297, 4, 1, 4, 0, 1 }, // 0x5F '_'
|
||
|
{ 298, 3, 3, 4, 0, -7 }, // 0x60 '`'
|
||
|
{ 300, 5, 5, 6, 0, -4 }, // 0x61 'a'
|
||
|
{ 304, 6, 7, 6, 0, -6 }, // 0x62 'b'
|
||
|
{ 310, 5, 5, 5, 0, -4 }, // 0x63 'c'
|
||
|
{ 314, 6, 7, 6, 0, -6 }, // 0x64 'd'
|
||
|
{ 320, 5, 5, 6, 0, -4 }, // 0x65 'e'
|
||
|
{ 324, 4, 7, 4, 0, -6 }, // 0x66 'f'
|
||
|
{ 328, 6, 7, 6, 0, -4 }, // 0x67 'g'
|
||
|
{ 334, 5, 7, 6, 1, -6 }, // 0x68 'h'
|
||
|
{ 339, 1, 7, 3, 1, -6 }, // 0x69 'i'
|
||
|
{ 340, 2, 9, 3, 0, -6 }, // 0x6A 'j'
|
||
|
{ 343, 5, 7, 6, 1, -6 }, // 0x6B 'k'
|
||
|
{ 348, 2, 7, 3, 1, -6 }, // 0x6C 'l'
|
||
|
{ 350, 7, 5, 9, 1, -4 }, // 0x6D 'm'
|
||
|
{ 355, 5, 5, 6, 1, -4 }, // 0x6E 'n'
|
||
|
{ 359, 6, 5, 6, 0, -4 }, // 0x6F 'o'
|
||
|
{ 363, 5, 7, 6, 1, -4 }, // 0x70 'p'
|
||
|
{ 368, 6, 7, 6, 0, -4 }, // 0x71 'q'
|
||
|
{ 374, 3, 5, 4, 1, -4 }, // 0x72 'r'
|
||
|
{ 376, 5, 5, 5, 0, -4 }, // 0x73 's'
|
||
|
{ 380, 4, 7, 4, 0, -6 }, // 0x74 't'
|
||
|
{ 384, 6, 5, 6, 0, -4 }, // 0x75 'u'
|
||
|
{ 388, 6, 5, 6, 0, -4 }, // 0x76 'v'
|
||
|
{ 392, 9, 5, 9, 0, -4 }, // 0x77 'w'
|
||
|
{ 398, 6, 5, 6, 0, -4 }, // 0x78 'x'
|
||
|
{ 402, 6, 7, 6, 0, -4 }, // 0x79 'y'
|
||
|
{ 408, 5, 5, 5, 0, -4 }, // 0x7A 'z'
|
||
|
{ 412, 3, 9, 4, 0, -6 }, // 0x7B '{'
|
||
|
{ 416, 1, 9, 3, 1, -6 }, // 0x7C '|'
|
||
|
{ 418, 3, 9, 4, 0, -6 }, // 0x7D '}'
|
||
|
{ 422, 5, 1, 5, 0, -2 } }; // 0x7E '~'
|
||
|
|
||
|
const GFXfont Exo2_ExtraBold_9pt7b = {
|
||
|
(uint8_t *)Exo2_ExtraBold_9pt7bBitmaps,
|
||
|
(GFXglyph *)Exo2_ExtraBold_9pt7bGlyphs,
|
||
|
0x20, 0x7E, 9 };//B
|
||
|
|
||
|
// Approx. 1095 bytes
|