mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
165 lines
9.6 KiB
C
165 lines
9.6 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t roboto_BlackItalic_12pt7bBitmaps[] = {
|
|
0x00, 0x33, 0x36, 0x66, 0x06, 0xE0, 0x5A, 0x95, 0xA0, 0x1E, 0x29, 0xF9,
|
|
0x42, 0x9F, 0x94, 0x28, 0xF0, 0x08, 0x79, 0xDB, 0x36, 0x06, 0x03, 0x66,
|
|
0xEC, 0xF0, 0x80, 0x71, 0x2E, 0x57, 0x41, 0x05, 0xDE, 0xED, 0x0E, 0x1C,
|
|
0x36, 0x36, 0x3C, 0x3B, 0x7B, 0xEF, 0xEE, 0x7F, 0xEA, 0x13, 0x64, 0xCC,
|
|
0xCC, 0x88, 0xC4, 0x60, 0x26, 0x33, 0x33, 0x33, 0x36, 0x6C, 0x80, 0x31,
|
|
0x3E, 0x4D, 0x48, 0x18, 0x33, 0xF9, 0x83, 0x00, 0x6D, 0x60, 0xF0, 0xDC,
|
|
0x04, 0x30, 0x86, 0x10, 0xC2, 0x18, 0x43, 0x00, 0x3C, 0xCD, 0x9B, 0x36,
|
|
0x78, 0xF3, 0x26, 0x78, 0x1B, 0xEE, 0x63, 0x18, 0xC6, 0x70, 0x3C, 0xCD,
|
|
0x98, 0x71, 0xC7, 0x0C, 0x30, 0xFC, 0x3C, 0xCC, 0x18, 0x63, 0xC1, 0x83,
|
|
0x66, 0x78, 0x0E, 0x3C, 0x71, 0xE6, 0xDF, 0xC6, 0x0C, 0x18, 0x3E, 0xC1,
|
|
0x83, 0xE4, 0xC1, 0x83, 0x66, 0x78, 0x0C, 0x61, 0x83, 0xEE, 0xF8, 0xF1,
|
|
0xB6, 0x38, 0xFE, 0x18, 0x60, 0xC3, 0x06, 0x18, 0x70, 0xC0, 0x3C, 0xCD,
|
|
0x9B, 0x67, 0xD9, 0xB3, 0x66, 0x78, 0x7B, 0x3C, 0xF3, 0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x18,
|
|
0x61, 0x80, 0x7E, 0x38, 0x61, 0x87, 0x1C, 0x3F, 0x00, 0x11, 0xCC, 0x46,
|
|
0x61, 0x8C, 0x62, 0x18, 0x40, 0x24, 0xB4, 0x92, 0x5A, 0x00, 0x21, 0x84,
|
|
0x63, 0x0C, 0xC4, 0x23, 0x19, 0x80, 0x73, 0x52, 0xCE };
|
|
|
|
const GFXglyph roboto_BlackItalic_12pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 4, 9, 4, 0, -8 }, // 0x21 '!'
|
|
{ 6, 5, 4, 4, 0, -9 }, // 0x22 '"'
|
|
{ 9, 7, 9, 7, 0, -8 }, // 0x23 '#'
|
|
{ 17, 7, 11, 7, 0, -9 }, // 0x24 '$'
|
|
{ 27, 7, 9, 9, 1, -8 }, // 0x25 '%'
|
|
{ 35, 8, 9, 9, 0, -8 }, // 0x26 '&'
|
|
{ 44, 2, 4, 2, 1, -9 }, // 0x27 '''
|
|
{ 45, 4, 13, 5, 1, -9 }, // 0x28 '('
|
|
{ 52, 4, 13, 5, 0, -9 }, // 0x29 ')'
|
|
{ 59, 5, 6, 6, 1, -8 }, // 0x2A '*'
|
|
{ 63, 7, 5, 7, 0, -6 }, // 0x2B '+'
|
|
{ 68, 3, 4, 3, -1, 0 }, // 0x2C ','
|
|
{ 70, 4, 1, 6, 1, -4 }, // 0x2D '-'
|
|
{ 71, 3, 2, 4, 0, -1 }, // 0x2E '.'
|
|
{ 72, 6, 10, 4, -1, -8 }, // 0x2F '/'
|
|
{ 80, 7, 9, 7, 0, -8 }, // 0x30 '0'
|
|
{ 88, 5, 9, 7, 1, -8 }, // 0x31 '1'
|
|
{ 94, 7, 9, 7, 0, -8 }, // 0x32 '2'
|
|
{ 102, 7, 9, 7, 0, -8 }, // 0x33 '3'
|
|
{ 110, 7, 9, 7, 0, -8 }, // 0x34 '4'
|
|
{ 118, 7, 9, 7, 0, -8 }, // 0x35 '5'
|
|
{ 126, 7, 9, 7, 0, -8 }, // 0x36 '6'
|
|
{ 134, 7, 9, 7, 1, -8 }, // 0x37 '7'
|
|
{ 142, 7, 9, 7, 0, -8 }, // 0x38 '8'
|
|
{ 150, 6, 9, 7, 1, -8 }, // 0x39 '9'
|
|
{ 157, 4, 7, 4, 0, -6 }, // 0x3A ':'
|
|
{ 161, 5, 10, 4, -1, -6 }, // 0x3B ';'
|
|
{ 168, 6, 6, 7, 0, -6 }, // 0x3C '<'
|
|
{ 173, 7, 4, 7, 0, -5 }, // 0x3D '='
|
|
{ 177, 6, 6, 7, 0, -6 }, // 0x3E '>'
|
|
{ 182, 6, 9, 6, 0, -8 }, // 0x3F '?'
|
|
{ 189, 11, 12, 11, 0, -8 }, // 0x40 '@'
|
|
{ 206, 9, 9, 9, -1, -8 }, // 0x41 'A'
|
|
{ 217, 8, 9, 8, 0, -8 }, // 0x42 'B'
|
|
{ 226, 8, 9, 8, 0, -8 }, // 0x43 'C'
|
|
{ 235, 8, 9, 8, 0, -8 }, // 0x44 'D'
|
|
{ 244, 8, 9, 7, 0, -8 }, // 0x45 'E'
|
|
{ 253, 8, 9, 7, 0, -8 }, // 0x46 'F'
|
|
{ 262, 8, 9, 9, 1, -8 }, // 0x47 'G'
|
|
{ 271, 9, 9, 9, 0, -8 }, // 0x48 'H'
|
|
{ 282, 4, 9, 4, 0, -8 }, // 0x49 'I'
|
|
{ 287, 7, 9, 7, 0, -8 }, // 0x4A 'J'
|
|
{ 295, 9, 9, 8, 0, -8 }, // 0x4B 'K'
|
|
{ 306, 6, 9, 7, 0, -8 }, // 0x4C 'L'
|
|
{ 313, 11, 9, 11, 0, -8 }, // 0x4D 'M'
|
|
{ 326, 9, 9, 9, 0, -8 }, // 0x4E 'N'
|
|
{ 337, 8, 9, 9, 1, -8 }, // 0x4F 'O'
|
|
{ 346, 8, 9, 8, 0, -8 }, // 0x50 'P'
|
|
{ 355, 8, 11, 9, 1, -8 }, // 0x51 'Q'
|
|
{ 366, 8, 9, 8, 0, -8 }, // 0x52 'R'
|
|
{ 375, 8, 9, 8, 0, -8 }, // 0x53 'S'
|
|
{ 384, 8, 9, 8, 1, -8 }, // 0x54 'T'
|
|
{ 393, 9, 9, 8, 0, -8 }, // 0x55 'U'
|
|
{ 404, 8, 9, 8, 1, -8 }, // 0x56 'V'
|
|
{ 413, 11, 9, 11, 1, -8 }, // 0x57 'W'
|
|
{ 426, 10, 9, 8, -1, -8 }, // 0x58 'X'
|
|
{ 438, 8, 9, 8, 1, -8 }, // 0x59 'Y'
|
|
{ 447, 8, 9, 8, 0, -8 }, // 0x5A 'Z'
|
|
{ 456, 5, 13, 4, 0, -10 }, // 0x5B '['
|
|
{ 465, 4, 10, 5, 1, -8 }, // 0x5C '\'
|
|
{ 470, 5, 13, 4, -1, -10 }, // 0x5D ']'
|
|
{ 479, 6, 4, 6, 0, -8 }, // 0x5E '^'
|
|
{ 482, 6, 2, 6, -1, 1 }, // 0x5F '_'
|
|
{ 484, 3, 2, 4, 1, -9 }, // 0x60 '`'
|
|
{ 485, 6, 7, 7, 0, -6 }, // 0x61 'a'
|
|
{ 491, 7, 10, 7, 0, -9 }, // 0x62 'b'
|
|
{ 500, 7, 7, 7, 0, -6 }, // 0x63 'c'
|
|
{ 507, 7, 10, 7, 0, -9 }, // 0x64 'd'
|
|
{ 516, 7, 7, 7, 0, -6 }, // 0x65 'e'
|
|
{ 523, 5, 10, 5, 1, -9 }, // 0x66 'f'
|
|
{ 530, 7, 10, 7, 0, -6 }, // 0x67 'g'
|
|
{ 539, 7, 10, 7, 0, -9 }, // 0x68 'h'
|
|
{ 548, 4, 10, 4, 0, -9 }, // 0x69 'i'
|
|
{ 553, 5, 13, 3, -2, -9 }, // 0x6A 'j'
|
|
{ 562, 8, 10, 7, 0, -9 }, // 0x6B 'k'
|
|
{ 572, 4, 10, 4, 0, -9 }, // 0x6C 'l'
|
|
{ 577, 11, 7, 11, 0, -6 }, // 0x6D 'm'
|
|
{ 587, 7, 7, 7, 0, -6 }, // 0x6E 'n'
|
|
{ 594, 7, 7, 7, 0, -6 }, // 0x6F 'o'
|
|
{ 601, 8, 10, 7, -1, -6 }, // 0x70 'p'
|
|
{ 611, 7, 10, 7, 0, -6 }, // 0x71 'q'
|
|
{ 620, 5, 7, 5, 0, -6 }, // 0x72 'r'
|
|
{ 625, 7, 7, 7, 0, -6 }, // 0x73 's'
|
|
{ 632, 5, 9, 4, 0, -8 }, // 0x74 't'
|
|
{ 638, 7, 7, 7, 0, -6 }, // 0x75 'u'
|
|
{ 645, 6, 7, 7, 1, -6 }, // 0x76 'v'
|
|
{ 651, 8, 7, 9, 1, -6 }, // 0x77 'w'
|
|
{ 658, 8, 7, 7, -1, -6 }, // 0x78 'x'
|
|
{ 665, 7, 10, 7, 0, -6 }, // 0x79 'y'
|
|
{ 674, 7, 7, 7, 0, -6 }, // 0x7A 'z'
|
|
{ 681, 5, 12, 4, 0, -9 }, // 0x7B '{'
|
|
{ 689, 3, 11, 3, 0, -8 }, // 0x7C '|'
|
|
{ 694, 5, 12, 4, -1, -9 }, // 0x7D '}'
|
|
{ 702, 8, 3, 8, 0, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont roboto_BlackItalic_12pt7b = {
|
|
(uint8_t *)roboto_BlackItalic_12pt7bBitmaps,
|
|
(GFXglyph *)roboto_BlackItalic_12pt7bGlyphs,
|
|
0x20, 0x7E, 12 };//B
|
|
|
|
// Approx. 1377 bytes
|