mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-12-01 21:41:06 +00:00
135 lines
7.3 KiB
C
135 lines
7.3 KiB
C
|
#include "../include/driver_framebuffer.h"
|
||
|
const uint8_t Exo2_Regular_8pt7bBitmaps[] = {
|
||
|
0x00, 0xFA, 0xF0, 0x28, 0xA7, 0xD2, 0xF9, 0x45, 0x00, 0x4E, 0xCC, 0xE5,
|
||
|
0x5E, 0x40, 0x64, 0xA4, 0xA8, 0x6E, 0x15, 0x25, 0x26, 0xF2, 0x09, 0x1E,
|
||
|
0x92, 0x4E, 0xC0, 0xC0, 0x29, 0x49, 0x13, 0xC8, 0x92, 0x4E, 0x2F, 0x60,
|
||
|
0x2F, 0x22, 0xC0, 0xC0, 0x80, 0x11, 0x22, 0x44, 0xC0, 0xE9, 0x99, 0x99,
|
||
|
0xE0, 0x74, 0x92, 0x48, 0x70, 0x84, 0x22, 0x23, 0xE0, 0x71, 0x17, 0x11,
|
||
|
0xF0, 0x22, 0x55, 0x2F, 0x88, 0x40, 0x74, 0x43, 0x11, 0xF0, 0xE8, 0xE9,
|
||
|
0x99, 0xE0, 0xF1, 0x11, 0x22, 0x20, 0xE9, 0x96, 0x99, 0xF0, 0x74, 0x63,
|
||
|
0x17, 0x89, 0xC0, 0x90, 0x98, 0x12, 0xC3, 0xF0, 0xF0, 0x88, 0xE0, 0xF1,
|
||
|
0x12, 0x20, 0x20, 0xF4, 0x7F, 0x9F, 0xC3, 0xE0, 0x30, 0xC5, 0x12, 0x7A,
|
||
|
0x28, 0xC0, 0xF9, 0x9E, 0x99, 0xF0, 0xF8, 0x88, 0x88, 0xF0, 0xF9, 0x99,
|
||
|
0x99, 0xF0, 0xF8, 0x8E, 0x88, 0xF0, 0xF8, 0x8E, 0x88, 0x80, 0xF8, 0x89,
|
||
|
0x99, 0xF0, 0x99, 0x9F, 0x99, 0x90, 0xFE, 0x55, 0x5C, 0x9A, 0xAC, 0xAA,
|
||
|
0x90, 0x92, 0x49, 0x38, 0xCF, 0x3C, 0xED, 0xB6, 0xD8, 0x40, 0x8E, 0x73,
|
||
|
0x5A, 0xD6, 0x60, 0xF9, 0x99, 0x99, 0xF0, 0xF9, 0x9E, 0x88, 0x80, 0xF9,
|
||
|
0x99, 0x99, 0xF4, 0x30, 0xF9, 0x9E, 0x99, 0x90, 0x74, 0x10, 0xE0, 0x85,
|
||
|
0xC0, 0xF9, 0x08, 0x42, 0x10, 0x80, 0x99, 0x99, 0x99, 0xF0, 0x8C, 0x52,
|
||
|
0xA5, 0x18, 0xC0, 0x99, 0x99, 0x55, 0x55, 0x55, 0x66, 0x66, 0xCA, 0x54,
|
||
|
0x65, 0x26, 0x20, 0x8A, 0x94, 0x42, 0x10, 0x80, 0xF8, 0x84, 0x44, 0x23,
|
||
|
0xE0, 0xEA, 0xAA, 0xB0, 0x84, 0x42, 0x21, 0x10, 0xD5, 0x55, 0x70, 0x6B,
|
||
|
0xF0, 0x90, 0x71, 0x79, 0x70, 0x88, 0xE9, 0x99, 0xE0, 0x78, 0x88, 0x70,
|
||
|
0x11, 0x79, 0x99, 0x70, 0x79, 0xF8, 0x70, 0x74, 0xE4, 0x44, 0x40, 0x7C,
|
||
|
0x9C, 0x87, 0x45, 0xC0, 0x88, 0xE9, 0x99, 0x90, 0xBE, 0x45, 0x55, 0x80,
|
||
|
0x92, 0xED, 0xA8, 0xAA, 0xAC, 0xEE, 0xDA, 0x69, 0xA4, 0xE9, 0x99, 0x90,
|
||
|
0x74, 0x63, 0x17, 0x00, 0xE9, 0x99, 0xE8, 0x80, 0x79, 0x99, 0x71, 0x10,
|
||
|
0xEA, 0x80, 0x78, 0x71, 0x70, 0x4B, 0xA4, 0x98, 0xB6, 0xDE, 0x8A, 0x94,
|
||
|
0xA2, 0x00, 0x92, 0xB5, 0xAB, 0x66, 0x40, 0x92, 0x88, 0xA9, 0x80, 0x8A,
|
||
|
0x94, 0xA2, 0x11, 0x00, 0xF1, 0x24, 0xF0, 0x49, 0x28, 0x92, 0x4C, 0xFF,
|
||
|
0xC0, 0xD5, 0x55, 0x70, 0xF4 };
|
||
|
|
||
|
const GFXglyph Exo2_Regular_8pt7bGlyphs[] = {
|
||
|
{ 0, 1, 1, 2, 0, 0 }, // 0x20 ' '
|
||
|
{ 1, 1, 7, 2, 1, -6 }, // 0x21 '!'
|
||
|
{ 2, 2, 2, 3, 1, -6 }, // 0x22 '"'
|
||
|
{ 3, 6, 7, 6, 0, -6 }, // 0x23 '#'
|
||
|
{ 9, 4, 9, 5, 1, -7 }, // 0x24 '$'
|
||
|
{ 14, 8, 7, 8, 0, -6 }, // 0x25 '%'
|
||
|
{ 21, 6, 7, 7, 1, -6 }, // 0x26 '&'
|
||
|
{ 27, 1, 2, 2, 0, -6 }, // 0x27 '''
|
||
|
{ 28, 3, 8, 3, 0, -6 }, // 0x28 '('
|
||
|
{ 31, 3, 8, 3, 0, -6 }, // 0x29 ')'
|
||
|
{ 34, 4, 3, 4, 0, -6 }, // 0x2A '*'
|
||
|
{ 36, 4, 4, 5, 0, -4 }, // 0x2B '+'
|
||
|
{ 38, 1, 2, 2, 1, 0 }, // 0x2C ','
|
||
|
{ 39, 2, 1, 4, 1, -2 }, // 0x2D '-'
|
||
|
{ 40, 1, 1, 2, 1, 0 }, // 0x2E '.'
|
||
|
{ 41, 4, 7, 5, 0, -6 }, // 0x2F '/'
|
||
|
{ 45, 4, 7, 5, 1, -6 }, // 0x30 '0'
|
||
|
{ 49, 3, 7, 4, 0, -6 }, // 0x31 '1'
|
||
|
{ 52, 5, 7, 5, 0, -6 }, // 0x32 '2'
|
||
|
{ 57, 4, 7, 5, 0, -6 }, // 0x33 '3'
|
||
|
{ 61, 5, 7, 6, 0, -6 }, // 0x34 '4'
|
||
|
{ 66, 4, 7, 5, 0, -6 }, // 0x35 '5'
|
||
|
{ 70, 4, 7, 5, 1, -6 }, // 0x36 '6'
|
||
|
{ 74, 4, 7, 5, 0, -6 }, // 0x37 '7'
|
||
|
{ 78, 4, 7, 5, 1, -6 }, // 0x38 '8'
|
||
|
{ 82, 5, 7, 5, 0, -6 }, // 0x39 '9'
|
||
|
{ 87, 1, 4, 2, 1, -3 }, // 0x3A ':'
|
||
|
{ 88, 1, 5, 2, 1, -3 }, // 0x3B ';'
|
||
|
{ 89, 4, 4, 5, 0, -4 }, // 0x3C '<'
|
||
|
{ 91, 4, 3, 5, 1, -3 }, // 0x3D '='
|
||
|
{ 93, 3, 4, 5, 1, -4 }, // 0x3E '>'
|
||
|
{ 95, 4, 7, 5, 0, -6 }, // 0x3F '?'
|
||
|
{ 99, 5, 7, 6, 1, -5 }, // 0x40 '@'
|
||
|
{ 104, 6, 7, 6, 0, -6 }, // 0x41 'A'
|
||
|
{ 110, 4, 7, 6, 1, -6 }, // 0x42 'B'
|
||
|
{ 114, 4, 7, 5, 1, -6 }, // 0x43 'C'
|
||
|
{ 118, 4, 7, 6, 1, -6 }, // 0x44 'D'
|
||
|
{ 122, 4, 7, 5, 1, -6 }, // 0x45 'E'
|
||
|
{ 126, 4, 7, 5, 1, -6 }, // 0x46 'F'
|
||
|
{ 130, 4, 7, 6, 1, -6 }, // 0x47 'G'
|
||
|
{ 134, 4, 7, 6, 1, -6 }, // 0x48 'H'
|
||
|
{ 138, 1, 7, 2, 1, -6 }, // 0x49 'I'
|
||
|
{ 139, 2, 7, 3, 0, -6 }, // 0x4A 'J'
|
||
|
{ 141, 4, 7, 5, 1, -6 }, // 0x4B 'K'
|
||
|
{ 145, 3, 7, 5, 1, -6 }, // 0x4C 'L'
|
||
|
{ 148, 6, 7, 8, 1, -6 }, // 0x4D 'M'
|
||
|
{ 154, 5, 7, 6, 1, -6 }, // 0x4E 'N'
|
||
|
{ 159, 4, 7, 6, 1, -6 }, // 0x4F 'O'
|
||
|
{ 163, 4, 7, 5, 1, -6 }, // 0x50 'P'
|
||
|
{ 167, 4, 9, 6, 1, -6 }, // 0x51 'Q'
|
||
|
{ 172, 4, 7, 6, 1, -6 }, // 0x52 'R'
|
||
|
{ 176, 5, 7, 5, 0, -6 }, // 0x53 'S'
|
||
|
{ 181, 5, 7, 5, 0, -6 }, // 0x54 'T'
|
||
|
{ 186, 4, 7, 6, 1, -6 }, // 0x55 'U'
|
||
|
{ 190, 5, 7, 5, 0, -6 }, // 0x56 'V'
|
||
|
{ 195, 8, 7, 9, 0, -6 }, // 0x57 'W'
|
||
|
{ 202, 5, 7, 6, 0, -6 }, // 0x58 'X'
|
||
|
{ 207, 5, 7, 5, 0, -6 }, // 0x59 'Y'
|
||
|
{ 212, 5, 7, 5, 0, -6 }, // 0x5A 'Z'
|
||
|
{ 217, 2, 10, 3, 1, -7 }, // 0x5B '['
|
||
|
{ 220, 4, 7, 5, 0, -6 }, // 0x5C '\'
|
||
|
{ 224, 2, 10, 3, 0, -7 }, // 0x5D ']'
|
||
|
{ 227, 4, 2, 4, 0, -5 }, // 0x5E '^'
|
||
|
{ 228, 4, 1, 4, 0, 1 }, // 0x5F '_'
|
||
|
{ 229, 2, 2, 3, 0, -6 }, // 0x60 '`'
|
||
|
{ 230, 4, 5, 5, 0, -4 }, // 0x61 'a'
|
||
|
{ 233, 4, 7, 5, 1, -6 }, // 0x62 'b'
|
||
|
{ 237, 4, 5, 4, 0, -4 }, // 0x63 'c'
|
||
|
{ 240, 4, 7, 5, 0, -6 }, // 0x64 'd'
|
||
|
{ 244, 4, 5, 5, 0, -4 }, // 0x65 'e'
|
||
|
{ 247, 4, 7, 3, 0, -6 }, // 0x66 'f'
|
||
|
{ 251, 5, 7, 5, 0, -4 }, // 0x67 'g'
|
||
|
{ 256, 4, 7, 5, 1, -6 }, // 0x68 'h'
|
||
|
{ 260, 1, 7, 2, 1, -6 }, // 0x69 'i'
|
||
|
{ 261, 2, 9, 2, 0, -6 }, // 0x6A 'j'
|
||
|
{ 264, 3, 7, 5, 1, -6 }, // 0x6B 'k'
|
||
|
{ 267, 2, 7, 3, 1, -6 }, // 0x6C 'l'
|
||
|
{ 269, 6, 5, 8, 1, -4 }, // 0x6D 'm'
|
||
|
{ 273, 4, 5, 5, 1, -4 }, // 0x6E 'n'
|
||
|
{ 276, 5, 5, 5, 0, -4 }, // 0x6F 'o'
|
||
|
{ 280, 4, 7, 5, 1, -4 }, // 0x70 'p'
|
||
|
{ 284, 4, 7, 5, 0, -4 }, // 0x71 'q'
|
||
|
{ 288, 2, 5, 4, 1, -4 }, // 0x72 'r'
|
||
|
{ 290, 4, 5, 5, 0, -4 }, // 0x73 's'
|
||
|
{ 293, 3, 7, 3, 0, -6 }, // 0x74 't'
|
||
|
{ 296, 3, 5, 5, 1, -4 }, // 0x75 'u'
|
||
|
{ 298, 5, 5, 5, 0, -4 }, // 0x76 'v'
|
||
|
{ 302, 7, 5, 7, 0, -4 }, // 0x77 'w'
|
||
|
{ 307, 5, 5, 5, 0, -4 }, // 0x78 'x'
|
||
|
{ 311, 5, 7, 5, 0, -4 }, // 0x79 'y'
|
||
|
{ 316, 4, 5, 5, 0, -4 }, // 0x7A 'z'
|
||
|
{ 319, 3, 10, 3, 0, -7 }, // 0x7B '{'
|
||
|
{ 323, 1, 10, 2, 1, -7 }, // 0x7C '|'
|
||
|
{ 325, 2, 10, 3, 0, -7 }, // 0x7D '}'
|
||
|
{ 328, 3, 2, 5, 1, -3 } }; // 0x7E '~'
|
||
|
|
||
|
const GFXfont Exo2_Regular_8pt7b = {
|
||
|
(uint8_t *)Exo2_Regular_8pt7bBitmaps,
|
||
|
(GFXglyph *)Exo2_Regular_8pt7bGlyphs,
|
||
|
0x20, 0x7E, 8 };//B
|
||
|
|
||
|
// Approx. 1001 bytes
|