mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
198 lines
12 KiB
C
198 lines
12 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_ExtraLightItalic_16pt7bBitmaps[] = {
|
|
0x00, 0x25, 0x24, 0x92, 0x40, 0x48, 0xB6, 0xD0, 0x08, 0x41, 0x10, 0x22,
|
|
0x08, 0x47, 0xFE, 0x22, 0x08, 0x41, 0x08, 0xFF, 0x84, 0x41, 0x08, 0x22,
|
|
0x04, 0x40, 0x04, 0x04, 0x3F, 0x44, 0x44, 0x48, 0x48, 0x68, 0x1C, 0x0A,
|
|
0x11, 0x11, 0x11, 0x12, 0xFC, 0x20, 0x20, 0x38, 0x11, 0x10, 0x84, 0x42,
|
|
0x21, 0x10, 0x84, 0x82, 0x14, 0xE8, 0x94, 0x5C, 0xA1, 0x04, 0x84, 0x22,
|
|
0x11, 0x08, 0x44, 0x22, 0x20, 0x70, 0x1F, 0x82, 0x00, 0x20, 0x04, 0x04,
|
|
0x40, 0x42, 0x04, 0x3F, 0xF4, 0x04, 0x80, 0x48, 0x08, 0x81, 0x08, 0x30,
|
|
0x7C, 0x00, 0xF0, 0x0C, 0x42, 0x08, 0x41, 0x08, 0x20, 0x82, 0x08, 0x20,
|
|
0x82, 0x04, 0x10, 0x30, 0x20, 0x82, 0x10, 0x84, 0x21, 0x08, 0x42, 0x11,
|
|
0x08, 0x88, 0x80, 0x20, 0x8F, 0xC8, 0xD0, 0x08, 0x08, 0x08, 0xFF, 0x10,
|
|
0x10, 0x10, 0x56, 0xFC, 0xC0, 0x00, 0x80, 0x40, 0x40, 0x40, 0x20, 0x20,
|
|
0x20, 0x10, 0x10, 0x10, 0x08, 0x08, 0x08, 0x00, 0x1E, 0x10, 0x90, 0x28,
|
|
0x14, 0x0C, 0x06, 0x03, 0x02, 0x81, 0x40, 0xA0, 0x48, 0x43, 0xC0, 0x3E,
|
|
0x44, 0x21, 0x08, 0x42, 0x11, 0x08, 0x42, 0x00, 0x3F, 0x00, 0x40, 0x20,
|
|
0x10, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x0F, 0xF0, 0x3F,
|
|
0x00, 0x40, 0x20, 0x10, 0x08, 0x08, 0x78, 0x02, 0x01, 0x00, 0x80, 0x40,
|
|
0x4F, 0xC0, 0x0C, 0x04, 0x04, 0x02, 0x22, 0x12, 0x09, 0x05, 0x04, 0x82,
|
|
0x7F, 0xC0, 0x80, 0x40, 0x20, 0x1F, 0x90, 0x08, 0x04, 0x02, 0x01, 0xF0,
|
|
0x04, 0x02, 0x01, 0x00, 0x80, 0x40, 0x4F, 0xC0, 0x1F, 0x20, 0x20, 0x40,
|
|
0x40, 0x5E, 0xA1, 0xC1, 0x81, 0x81, 0x81, 0x82, 0x7C, 0xFE, 0x04, 0x10,
|
|
0x20, 0x41, 0x02, 0x08, 0x10, 0x40, 0x82, 0x04, 0x00, 0x1F, 0x10, 0x50,
|
|
0x28, 0x14, 0x0A, 0x08, 0xF8, 0x82, 0x81, 0x40, 0xA0, 0x50, 0x27, 0xE0,
|
|
0x3E, 0x41, 0x41, 0x41, 0x81, 0x81, 0x43, 0x3D, 0x01, 0x02, 0x02, 0x04,
|
|
0xF8, 0x50, 0x0A, 0x50, 0x0A, 0xA0, 0x03, 0x0C, 0x30, 0xC0, 0x60, 0x18,
|
|
0x06, 0x7F, 0x00, 0x00, 0x00, 0xFF, 0x40, 0x30, 0x0C, 0x03, 0x0E, 0x30,
|
|
0xC0, 0xFC, 0x04, 0x08, 0x10, 0x41, 0x04, 0x10, 0x20, 0x00, 0x02, 0x04,
|
|
0x00, 0x7F, 0xC0, 0x04, 0x00, 0x80, 0x13, 0xF2, 0x82, 0x60, 0x4C, 0x11,
|
|
0x82, 0x30, 0x4A, 0x39, 0x39, 0xC0, 0x02, 0x01, 0x40, 0x90, 0x24, 0x09,
|
|
0x04, 0x41, 0x08, 0x82, 0x3F, 0x90, 0x24, 0x0A, 0x01, 0x80, 0x40, 0x3F,
|
|
0x20, 0x50, 0x28, 0x14, 0x0A, 0x09, 0xF8, 0x82, 0x40, 0xC0, 0x60, 0x50,
|
|
0x2F, 0xE0, 0x1F, 0x90, 0x10, 0x08, 0x04, 0x04, 0x02, 0x01, 0x00, 0x80,
|
|
0x40, 0x20, 0x08, 0x03, 0xF0, 0x3F, 0x10, 0x24, 0x05, 0x01, 0x40, 0x50,
|
|
0x14, 0x05, 0x01, 0x40, 0xA0, 0x28, 0x0A, 0x04, 0xFE, 0x00, 0x3F, 0xA0,
|
|
0x10, 0x08, 0x04, 0x02, 0x01, 0xF8, 0x80, 0x80, 0x40, 0x20, 0x10, 0x07,
|
|
0xE0, 0x3F, 0x90, 0x10, 0x08, 0x04, 0x02, 0x01, 0xF8, 0x80, 0x80, 0x40,
|
|
0x20, 0x10, 0x08, 0x00, 0x1F, 0xC8, 0x04, 0x01, 0x00, 0x40, 0x20, 0x28,
|
|
0x0A, 0x02, 0x80, 0xA0, 0x28, 0x11, 0x0C, 0x3D, 0x00, 0x20, 0x50, 0x14,
|
|
0x05, 0x01, 0x40, 0x50, 0x17, 0xF9, 0x02, 0x40, 0xA0, 0x28, 0x0A, 0x02,
|
|
0x80, 0x80, 0x29, 0x24, 0x92, 0x52, 0x48, 0x08, 0x42, 0x10, 0x84, 0x42,
|
|
0x10, 0x84, 0x2E, 0x00, 0x20, 0xA0, 0x90, 0x88, 0x44, 0x42, 0x41, 0xC0,
|
|
0x90, 0x48, 0x42, 0x20, 0x90, 0x48, 0x10, 0x20, 0x81, 0x02, 0x04, 0x08,
|
|
0x10, 0x20, 0x81, 0x02, 0x04, 0x07, 0xE0, 0x30, 0x09, 0x80, 0xD4, 0x0A,
|
|
0x90, 0x54, 0x82, 0xA4, 0x25, 0x21, 0x29, 0x11, 0x84, 0x8C, 0x28, 0x61,
|
|
0x43, 0x0C, 0x28, 0x01, 0x00, 0x20, 0x2A, 0x05, 0x41, 0x24, 0x24, 0x84,
|
|
0x90, 0x91, 0x12, 0x22, 0x42, 0x50, 0x4A, 0x0A, 0x40, 0xC8, 0x18, 0x1F,
|
|
0x08, 0x24, 0x05, 0x01, 0x40, 0x60, 0x18, 0x06, 0x01, 0x80, 0x60, 0x28,
|
|
0x09, 0x04, 0x3E, 0x00, 0x3F, 0x20, 0x50, 0x28, 0x14, 0x0A, 0x05, 0x04,
|
|
0xFC, 0x40, 0x40, 0x20, 0x10, 0x08, 0x00, 0x1F, 0x08, 0x24, 0x05, 0x01,
|
|
0x40, 0x60, 0x18, 0x06, 0x01, 0x80, 0x60, 0x28, 0x09, 0x04, 0x3E, 0x00,
|
|
0x01, 0x80, 0x18, 0x3F, 0x20, 0x50, 0x28, 0x14, 0x0A, 0x05, 0x04, 0xFC,
|
|
0x42, 0x40, 0xA0, 0x50, 0x28, 0x10, 0x3F, 0x40, 0x40, 0x40, 0x40, 0x60,
|
|
0x18, 0x06, 0x01, 0x01, 0x01, 0x02, 0xFC, 0xFF, 0xC2, 0x00, 0x80, 0x20,
|
|
0x08, 0x02, 0x00, 0x80, 0x20, 0x10, 0x04, 0x01, 0x00, 0x40, 0x10, 0x00,
|
|
0x40, 0x50, 0x14, 0x05, 0x01, 0x40, 0x50, 0x14, 0x05, 0x02, 0x80, 0xA0,
|
|
0x28, 0x09, 0x04, 0x3E, 0x00, 0x80, 0x50, 0x14, 0x09, 0x02, 0x41, 0x10,
|
|
0x44, 0x20, 0x88, 0x24, 0x09, 0x02, 0x40, 0xA0, 0x18, 0x00, 0x83, 0x03,
|
|
0x06, 0x06, 0x0C, 0x14, 0x24, 0x28, 0x48, 0x51, 0x11, 0x22, 0x22, 0x44,
|
|
0x48, 0x90, 0x91, 0x21, 0x21, 0x42, 0x83, 0x05, 0x06, 0x04, 0x00, 0x20,
|
|
0x24, 0x08, 0x42, 0x08, 0x40, 0x90, 0x14, 0x01, 0x80, 0x50, 0x11, 0x04,
|
|
0x20, 0x84, 0x20, 0x48, 0x08, 0x80, 0xA0, 0x50, 0x48, 0x42, 0x21, 0x20,
|
|
0x60, 0x30, 0x10, 0x08, 0x04, 0x02, 0x01, 0x00, 0x3F, 0xC0, 0x20, 0x08,
|
|
0x04, 0x02, 0x01, 0x00, 0x40, 0x20, 0x10, 0x08, 0x02, 0x01, 0x00, 0xFF,
|
|
0x80, 0x39, 0x08, 0x84, 0x21, 0x08, 0x42, 0x21, 0x08, 0x42, 0x10, 0xE0,
|
|
0x84, 0x20, 0x84, 0x20, 0x84, 0x10, 0x84, 0x10, 0x80, 0x38, 0x42, 0x10,
|
|
0x88, 0x42, 0x10, 0x84, 0x22, 0x10, 0x84, 0xE0, 0x10, 0xA4, 0x61, 0xFF,
|
|
0x88, 0x80, 0x3F, 0x41, 0x81, 0x81, 0x81, 0x82, 0x82, 0x8E, 0x72, 0x40,
|
|
0x40, 0x40, 0x40, 0x4E, 0x71, 0x41, 0x81, 0x81, 0x81, 0x82, 0x82, 0xFC,
|
|
0x3E, 0x82, 0x04, 0x08, 0x10, 0x20, 0x40, 0x7C, 0x00, 0x80, 0x40, 0x40,
|
|
0x23, 0xF2, 0x0A, 0x05, 0x02, 0x81, 0x41, 0x20, 0x91, 0xC7, 0x20, 0x3E,
|
|
0x41, 0x81, 0x82, 0xFC, 0x80, 0x80, 0x80, 0x7E, 0x03, 0xC1, 0x00, 0x40,
|
|
0x10, 0x1F, 0x02, 0x00, 0x80, 0x20, 0x08, 0x02, 0x00, 0x80, 0x40, 0x10,
|
|
0x04, 0x01, 0x00, 0x40, 0xE0, 0x00, 0x1F, 0x90, 0x50, 0x28, 0x14, 0x0A,
|
|
0x05, 0x04, 0x8E, 0x39, 0x00, 0x80, 0x40, 0x4F, 0xC0, 0x40, 0x40, 0x40,
|
|
0x40, 0x4E, 0x71, 0x41, 0x81, 0x81, 0x81, 0x82, 0x82, 0x82, 0x50, 0x55,
|
|
0xAA, 0x80, 0x11, 0x00, 0x11, 0x11, 0x22, 0x22, 0x22, 0x44, 0x80, 0x40,
|
|
0x81, 0x02, 0x04, 0x28, 0x51, 0x44, 0xF1, 0x12, 0x24, 0x28, 0x60, 0x49,
|
|
0x24, 0x94, 0x92, 0x4E, 0x5E, 0x7B, 0x0C, 0x50, 0x43, 0x04, 0x18, 0x20,
|
|
0xC1, 0x06, 0x08, 0x30, 0x41, 0x82, 0x08, 0x4E, 0x71, 0x41, 0x81, 0x81,
|
|
0x81, 0x82, 0x82, 0x82, 0x3E, 0x41, 0x81, 0x81, 0x81, 0x81, 0x82, 0x82,
|
|
0x7C, 0x27, 0x1C, 0x48, 0x28, 0x14, 0x0A, 0x05, 0x04, 0x82, 0x7E, 0x20,
|
|
0x10, 0x10, 0x08, 0x00, 0x3E, 0x41, 0x81, 0x81, 0x81, 0x82, 0x82, 0x86,
|
|
0x7A, 0x02, 0x02, 0x02, 0x02, 0x4D, 0xC4, 0x20, 0x82, 0x08, 0x20, 0x80,
|
|
0x7F, 0x02, 0x02, 0x03, 0x80, 0x80, 0x82, 0xFC, 0x21, 0x09, 0xF4, 0x21,
|
|
0x08, 0x42, 0x20, 0xE0, 0x41, 0x41, 0x41, 0x81, 0x82, 0x82, 0x82, 0x8E,
|
|
0x72, 0x81, 0x81, 0x82, 0x42, 0x44, 0x44, 0x48, 0x48, 0x30, 0x82, 0x0C,
|
|
0x18, 0x61, 0x43, 0x0A, 0x14, 0x51, 0x24, 0x89, 0x24, 0x8A, 0x18, 0x20,
|
|
0xC0, 0x40, 0x90, 0x88, 0x82, 0x80, 0x80, 0xA0, 0x88, 0x84, 0x81, 0x00,
|
|
0x81, 0x81, 0x82, 0x42, 0x42, 0x44, 0x44, 0x48, 0x30, 0x10, 0x20, 0x40,
|
|
0x80, 0x7F, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0xFE, 0x19, 0x08,
|
|
0x42, 0x21, 0x08, 0x82, 0x10, 0x88, 0x42, 0x10, 0x60, 0x24, 0xA4, 0x92,
|
|
0x4A, 0x49, 0x24, 0x90, 0x30, 0x84, 0x21, 0x08, 0x42, 0x19, 0x08, 0x42,
|
|
0x10, 0x88, 0x80, 0x73, 0x1C };
|
|
|
|
const GFXglyph Exo2_ExtraLightItalic_16pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 4, 0, 0 }, // 0x20 ' '
|
|
{ 1, 3, 13, 5, 1, -12 }, // 0x21 '!'
|
|
{ 6, 3, 4, 6, 2, -12 }, // 0x22 '"'
|
|
{ 8, 11, 13, 12, 1, -12 }, // 0x23 '#'
|
|
{ 26, 8, 17, 10, 1, -14 }, // 0x24 '$'
|
|
{ 43, 14, 13, 16, 1, -12 }, // 0x25 '%'
|
|
{ 66, 12, 13, 14, 1, -12 }, // 0x26 '&'
|
|
{ 86, 1, 4, 4, 2, -12 }, // 0x27 '''
|
|
{ 87, 6, 17, 6, 1, -13 }, // 0x28 '('
|
|
{ 100, 5, 17, 6, 0, -13 }, // 0x29 ')'
|
|
{ 111, 6, 5, 8, 2, -12 }, // 0x2A '*'
|
|
{ 115, 8, 7, 10, 1, -8 }, // 0x2B '+'
|
|
{ 122, 2, 4, 4, 0, -1 }, // 0x2C ','
|
|
{ 123, 6, 1, 9, 1, -4 }, // 0x2D '-'
|
|
{ 124, 1, 2, 4, 1, -1 }, // 0x2E '.'
|
|
{ 125, 9, 13, 9, 0, -12 }, // 0x2F '/'
|
|
{ 140, 9, 13, 11, 1, -12 }, // 0x30 '0'
|
|
{ 155, 5, 13, 7, 1, -12 }, // 0x31 '1'
|
|
{ 164, 9, 13, 10, 0, -12 }, // 0x32 '2'
|
|
{ 179, 9, 13, 10, 0, -12 }, // 0x33 '3'
|
|
{ 194, 9, 13, 11, 1, -12 }, // 0x34 '4'
|
|
{ 209, 9, 13, 9, 0, -12 }, // 0x35 '5'
|
|
{ 224, 8, 13, 10, 1, -12 }, // 0x36 '6'
|
|
{ 237, 7, 13, 9, 2, -12 }, // 0x37 '7'
|
|
{ 249, 9, 13, 11, 1, -12 }, // 0x38 '8'
|
|
{ 264, 8, 13, 10, 1, -12 }, // 0x39 '9'
|
|
{ 277, 2, 8, 4, 1, -7 }, // 0x3A ':'
|
|
{ 279, 2, 10, 4, 1, -7 }, // 0x3B ';'
|
|
{ 282, 8, 7, 10, 1, -8 }, // 0x3C '<'
|
|
{ 289, 8, 5, 11, 1, -7 }, // 0x3D '='
|
|
{ 294, 8, 7, 10, 1, -8 }, // 0x3E '>'
|
|
{ 301, 7, 13, 9, 2, -12 }, // 0x3F '?'
|
|
{ 313, 11, 12, 13, 1, -11 }, // 0x40 '@'
|
|
{ 330, 10, 13, 11, 0, -12 }, // 0x41 'A'
|
|
{ 347, 9, 13, 11, 1, -12 }, // 0x42 'B'
|
|
{ 362, 9, 13, 10, 1, -12 }, // 0x43 'C'
|
|
{ 377, 10, 13, 12, 1, -12 }, // 0x44 'D'
|
|
{ 394, 9, 13, 10, 1, -12 }, // 0x45 'E'
|
|
{ 409, 9, 13, 10, 1, -12 }, // 0x46 'F'
|
|
{ 424, 10, 13, 11, 1, -12 }, // 0x47 'G'
|
|
{ 441, 10, 13, 12, 1, -12 }, // 0x48 'H'
|
|
{ 458, 3, 13, 4, 1, -12 }, // 0x49 'I'
|
|
{ 463, 5, 13, 6, 0, -12 }, // 0x4A 'J'
|
|
{ 472, 9, 13, 10, 1, -12 }, // 0x4B 'K'
|
|
{ 487, 7, 13, 9, 1, -12 }, // 0x4C 'L'
|
|
{ 499, 13, 13, 15, 1, -12 }, // 0x4D 'M'
|
|
{ 521, 11, 13, 12, 1, -12 }, // 0x4E 'N'
|
|
{ 539, 10, 13, 12, 1, -12 }, // 0x4F 'O'
|
|
{ 556, 9, 13, 10, 1, -12 }, // 0x50 'P'
|
|
{ 571, 10, 16, 12, 1, -12 }, // 0x51 'Q'
|
|
{ 591, 9, 13, 11, 1, -12 }, // 0x52 'R'
|
|
{ 606, 8, 13, 10, 1, -12 }, // 0x53 'S'
|
|
{ 619, 10, 13, 10, 1, -12 }, // 0x54 'T'
|
|
{ 636, 10, 13, 12, 1, -12 }, // 0x55 'U'
|
|
{ 653, 10, 13, 11, 1, -12 }, // 0x56 'V'
|
|
{ 670, 15, 13, 17, 2, -12 }, // 0x57 'W'
|
|
{ 695, 11, 13, 11, 0, -12 }, // 0x58 'X'
|
|
{ 713, 9, 13, 10, 1, -12 }, // 0x59 'Y'
|
|
{ 728, 10, 13, 10, 0, -12 }, // 0x5A 'Z'
|
|
{ 745, 5, 17, 6, 1, -13 }, // 0x5B '['
|
|
{ 756, 5, 13, 9, 2, -12 }, // 0x5C '\'
|
|
{ 765, 5, 17, 6, 0, -13 }, // 0x5D ']'
|
|
{ 776, 6, 4, 7, 1, -10 }, // 0x5E '^'
|
|
{ 779, 8, 1, 8, -1, 1 }, // 0x5F '_'
|
|
{ 780, 3, 3, 5, 2, -12 }, // 0x60 '`'
|
|
{ 782, 8, 9, 10, 1, -8 }, // 0x61 'a'
|
|
{ 791, 8, 13, 10, 1, -12 }, // 0x62 'b'
|
|
{ 804, 7, 9, 9, 1, -8 }, // 0x63 'c'
|
|
{ 812, 9, 13, 10, 1, -12 }, // 0x64 'd'
|
|
{ 827, 8, 9, 10, 1, -8 }, // 0x65 'e'
|
|
{ 836, 10, 17, 6, -2, -12 }, // 0x66 'f'
|
|
{ 858, 9, 13, 10, 0, -8 }, // 0x67 'g'
|
|
{ 873, 8, 13, 10, 1, -12 }, // 0x68 'h'
|
|
{ 886, 2, 13, 4, 1, -12 }, // 0x69 'i'
|
|
{ 890, 4, 17, 4, -1, -12 }, // 0x6A 'j'
|
|
{ 899, 7, 13, 9, 1, -12 }, // 0x6B 'k'
|
|
{ 911, 3, 13, 5, 1, -12 }, // 0x6C 'l'
|
|
{ 916, 13, 9, 16, 1, -8 }, // 0x6D 'm'
|
|
{ 931, 8, 9, 10, 1, -8 }, // 0x6E 'n'
|
|
{ 940, 8, 9, 10, 1, -8 }, // 0x6F 'o'
|
|
{ 949, 9, 13, 10, 0, -8 }, // 0x70 'p'
|
|
{ 964, 8, 13, 10, 1, -8 }, // 0x71 'q'
|
|
{ 977, 6, 9, 7, 1, -8 }, // 0x72 'r'
|
|
{ 984, 7, 9, 9, 1, -8 }, // 0x73 's'
|
|
{ 992, 5, 12, 6, 1, -11 }, // 0x74 't'
|
|
{ 1000, 8, 9, 10, 1, -8 }, // 0x75 'u'
|
|
{ 1009, 8, 9, 9, 1, -8 }, // 0x76 'v'
|
|
{ 1018, 13, 9, 15, 1, -8 }, // 0x77 'w'
|
|
{ 1033, 9, 9, 9, 0, -8 }, // 0x78 'x'
|
|
{ 1044, 8, 13, 9, 1, -8 }, // 0x79 'y'
|
|
{ 1057, 8, 9, 9, 0, -8 }, // 0x7A 'z'
|
|
{ 1066, 5, 17, 5, 1, -13 }, // 0x7B '{'
|
|
{ 1077, 3, 18, 4, 1, -14 }, // 0x7C '|'
|
|
{ 1084, 5, 17, 5, 0, -13 }, // 0x7D '}'
|
|
{ 1095, 7, 2, 10, 1, -5 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_ExtraLightItalic_16pt7b = {
|
|
(uint8_t *)Exo2_ExtraLightItalic_16pt7bBitmaps,
|
|
(GFXglyph *)Exo2_ExtraLightItalic_16pt7bGlyphs,
|
|
0x20, 0x7E, 16 };//B
|
|
|
|
// Approx. 1769 bytes
|