169 lines
9.8 KiB
C
169 lines
9.8 KiB
C
|
#include "../include/driver_framebuffer.h"
|
||
|
const uint8_t roboto_Black_13pt7bBitmaps[] = {
|
||
|
0x00, 0xFF, 0xFC, 0xF0, 0xFF, 0xBB, 0x16, 0x14, 0x34, 0x7F, 0x24, 0x2C,
|
||
|
0xFE, 0x28, 0x68, 0x68, 0x08, 0x79, 0xFB, 0x36, 0x07, 0x87, 0x83, 0xE6,
|
||
|
0xFC, 0xF0, 0x40, 0xE0, 0x59, 0x25, 0x97, 0x8E, 0x80, 0xF8, 0xF6, 0x5B,
|
||
|
0x6D, 0x83, 0x80, 0x3C, 0x3F, 0x19, 0x8F, 0x83, 0x83, 0xCD, 0xBD, 0xCE,
|
||
|
0x7F, 0x1F, 0xC0, 0xFF, 0x27, 0x6C, 0xCC, 0xCC, 0xCC, 0xC6, 0x63, 0x4E,
|
||
|
0x63, 0x33, 0x33, 0x33, 0x36, 0x6C, 0x10, 0x4F, 0xCC, 0x29, 0x30, 0x18,
|
||
|
0x30, 0x67, 0xFF, 0xE3, 0x06, 0x0C, 0x6D, 0xE0, 0xFF, 0xF0, 0x18, 0x8C,
|
||
|
0x62, 0x31, 0x8C, 0x46, 0x30, 0x7B, 0xFC, 0xF3, 0xCF, 0x3C, 0xF3, 0xFD,
|
||
|
0xE0, 0x1B, 0xFF, 0xF3, 0x9C, 0xE7, 0x39, 0xC0, 0x3C, 0x7E, 0xE6, 0x06,
|
||
|
0x0E, 0x1C, 0x38, 0x70, 0x7F, 0x7F, 0x3C, 0xFF, 0x98, 0x31, 0xE3, 0xC1,
|
||
|
0xF3, 0x7E, 0x78, 0x0E, 0x1E, 0x1E, 0x3E, 0x2E, 0x6E, 0xFF, 0xFF, 0x0E,
|
||
|
0x0E, 0x7E, 0xFD, 0x83, 0xE7, 0xE0, 0xC1, 0xF3, 0x7E, 0x78, 0x38, 0xF3,
|
||
|
0x87, 0xCF, 0xD9, 0xF3, 0xE7, 0xFC, 0xF0, 0xFF, 0xFE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, 0xF9, 0xBF, 0x7C, 0xC1, 0x83, 0x00,
|
||
|
0x3E, 0xFD, 0x9F, 0x3E, 0x6C, 0xDF, 0x9F, 0x06, 0x0C, 0x18, 0xFF, 0xF9,
|
||
|
0xCE, 0x73, 0x9C, 0x7C, 0xFF, 0x83, 0xC3, 0xC1, 0xFF, 0x3C, 0x63, 0x3F,
|
||
|
0xF6, 0x31, 0x8C, 0x79, 0xC0, 0xCF, 0x3C, 0xF3, 0xCF, 0x3F, 0xDF, 0xC7,
|
||
|
0xDD, 0xB3, 0x66, 0xC7, 0x0E, 0x1C, 0xCC, 0xF3, 0x76, 0xD9, 0xFE, 0x7F,
|
||
|
0x9C, 0xE7, 0x30, 0xCC, 0xEE, 0xD9, 0xF1, 0xC3, 0x8F, 0x9B, 0x73, 0xC7,
|
||
|
0xDD, 0xB3, 0x67, 0xC7, 0x0E, 0x1C, 0x30, 0xE1, 0x80, 0x7E, 0xFC, 0x70,
|
||
|
0xC3, 0x0E, 0x3F, 0xFF, 0x13, 0x33, 0x37, 0xEE, 0x73, 0x33, 0x10, 0xFF,
|
||
|
0xF0, 0x8C, 0xCC, 0xCE, 0x77, 0xEC, 0xCC, 0x80, 0x73, 0xFE, 0x70 };
|
||
|
|
||
|
const GFXglyph roboto_Black_13pt7bGlyphs[] = {
|
||
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
||
|
{ 1, 2, 10, 4, 1, -9 }, // 0x21 '!'
|
||
|
{ 4, 4, 4, 4, 0, -10 }, // 0x22 '"'
|
||
|
{ 6, 8, 10, 8, 0, -9 }, // 0x23 '#'
|
||
|
{ 16, 7, 12, 8, 0, -10 }, // 0x24 '$'
|
||
|
{ 27, 9, 10, 10, 1, -9 }, // 0x25 '%'
|
||
|
{ 39, 9, 10, 9, 0, -9 }, // 0x26 '&'
|
||
|
{ 51, 2, 4, 2, 0, -10 }, // 0x27 '''
|
||
|
{ 52, 4, 14, 5, 1, -10 }, // 0x28 '('
|
||
|
{ 59, 4, 14, 5, 0, -10 }, // 0x29 ')'
|
||
|
{ 66, 6, 6, 7, 0, -9 }, // 0x2A '*'
|
||
|
{ 71, 7, 8, 7, 0, -8 }, // 0x2B '+'
|
||
|
{ 78, 3, 4, 4, 0, -1 }, // 0x2C ','
|
||
|
{ 80, 4, 2, 6, 1, -4 }, // 0x2D '-'
|
||
|
{ 81, 2, 2, 4, 1, -1 }, // 0x2E '.'
|
||
|
{ 82, 5, 11, 5, 0, -9 }, // 0x2F '/'
|
||
|
{ 89, 6, 10, 8, 1, -9 }, // 0x30 '0'
|
||
|
{ 97, 5, 10, 8, 1, -9 }, // 0x31 '1'
|
||
|
{ 104, 8, 10, 8, 0, -9 }, // 0x32 '2'
|
||
|
{ 114, 7, 10, 8, 0, -9 }, // 0x33 '3'
|
||
|
{ 123, 8, 10, 8, 0, -9 }, // 0x34 '4'
|
||
|
{ 133, 7, 10, 8, 0, -9 }, // 0x35 '5'
|
||
|
{ 142, 7, 10, 8, 1, -9 }, // 0x36 '6'
|
||
|
{ 151, 8, 10, 8, 0, -9 }, // 0x37 '7'
|
||
|
{ 161, 6, 10, 8, 1, -9 }, // 0x38 '8'
|
||
|
{ 169, 6, 10, 8, 1, -9 }, // 0x39 '9'
|
||
|
{ 177, 2, 7, 4, 1, -6 }, // 0x3A ':'
|
||
|
{ 179, 3, 9, 4, 0, -6 }, // 0x3B ';'
|
||
|
{ 183, 6, 7, 7, 0, -7 }, // 0x3C '<'
|
||
|
{ 189, 6, 5, 8, 1, -6 }, // 0x3D '='
|
||
|
{ 193, 6, 7, 7, 1, -7 }, // 0x3E '>'
|
||
|
{ 199, 7, 10, 7, 0, -9 }, // 0x3F '?'
|
||
|
{ 208, 12, 13, 13, 0, -9 }, // 0x40 '@'
|
||
|
{ 228, 10, 10, 10, 0, -9 }, // 0x41 'A'
|
||
|
{ 241, 7, 10, 9, 1, -9 }, // 0x42 'B'
|
||
|
{ 250, 9, 10, 9, 0, -9 }, // 0x43 'C'
|
||
|
{ 262, 8, 10, 9, 1, -9 }, // 0x44 'D'
|
||
|
{ 272, 7, 10, 8, 1, -9 }, // 0x45 'E'
|
||
|
{ 281, 6, 10, 8, 1, -9 }, // 0x46 'F'
|
||
|
{ 289, 8, 10, 10, 1, -9 }, // 0x47 'G'
|
||
|
{ 299, 8, 10, 10, 1, -9 }, // 0x48 'H'
|
||
|
{ 309, 2, 10, 4, 1, -9 }, // 0x49 'I'
|
||
|
{ 312, 7, 10, 8, 0, -9 }, // 0x4A 'J'
|
||
|
{ 321, 8, 10, 9, 1, -9 }, // 0x4B 'K'
|
||
|
{ 331, 6, 10, 8, 1, -9 }, // 0x4C 'L'
|
||
|
{ 339, 11, 10, 12, 1, -9 }, // 0x4D 'M'
|
||
|
{ 353, 8, 10, 10, 1, -9 }, // 0x4E 'N'
|
||
|
{ 363, 8, 10, 10, 1, -9 }, // 0x4F 'O'
|
||
|
{ 373, 8, 10, 9, 1, -9 }, // 0x50 'P'
|
||
|
{ 383, 8, 12, 10, 1, -9 }, // 0x51 'Q'
|
||
|
{ 395, 8, 10, 9, 1, -9 }, // 0x52 'R'
|
||
|
{ 405, 7, 10, 9, 1, -9 }, // 0x53 'S'
|
||
|
{ 414, 9, 10, 9, 0, -9 }, // 0x54 'T'
|
||
|
{ 426, 7, 10, 9, 1, -9 }, // 0x55 'U'
|
||
|
{ 435, 9, 10, 9, 0, -9 }, // 0x56 'V'
|
||
|
{ 447, 12, 10, 12, 0, -9 }, // 0x57 'W'
|
||
|
{ 462, 9, 10, 9, 0, -9 }, // 0x58 'X'
|
||
|
{ 474, 9, 10, 9, 0, -9 }, // 0x59 'Y'
|
||
|
{ 486, 8, 10, 9, 0, -9 }, // 0x5A 'Z'
|
||
|
{ 496, 3, 14, 4, 1, -11 }, // 0x5B '['
|
||
|
{ 502, 6, 11, 6, 0, -9 }, // 0x5C '\'
|
||
|
{ 511, 3, 14, 4, 0, -11 }, // 0x5D ']'
|
||
|
{ 517, 6, 5, 6, 0, -9 }, // 0x5E '^'
|
||
|
{ 521, 6, 2, 6, 0, 1 }, // 0x5F '_'
|
||
|
{ 523, 4, 2, 5, 0, -9 }, // 0x60 '`'
|
||
|
{ 524, 7, 8, 7, 0, -7 }, // 0x61 'a'
|
||
|
{ 531, 7, 11, 8, 1, -10 }, // 0x62 'b'
|
||
|
{ 541, 7, 8, 7, 0, -7 }, // 0x63 'c'
|
||
|
{ 548, 7, 11, 8, 0, -10 }, // 0x64 'd'
|
||
|
{ 558, 7, 8, 8, 0, -7 }, // 0x65 'e'
|
||
|
{ 565, 5, 11, 5, 0, -10 }, // 0x66 'f'
|
||
|
{ 572, 7, 11, 8, 0, -7 }, // 0x67 'g'
|
||
|
{ 582, 6, 11, 8, 1, -10 }, // 0x68 'h'
|
||
|
{ 591, 2, 11, 4, 1, -10 }, // 0x69 'i'
|
||
|
{ 594, 4, 14, 4, -1, -10 }, // 0x6A 'j'
|
||
|
{ 601, 7, 11, 8, 1, -10 }, // 0x6B 'k'
|
||
|
{ 611, 2, 11, 4, 1, -10 }, // 0x6C 'l'
|
||
|
{ 614, 10, 8, 12, 1, -7 }, // 0x6D 'm'
|
||
|
{ 624, 6, 8, 8, 1, -7 }, // 0x6E 'n'
|
||
|
{ 630, 8, 8, 8, 0, -7 }, // 0x6F 'o'
|
||
|
{ 638, 7, 11, 8, 1, -7 }, // 0x70 'p'
|
||
|
{ 648, 7, 11, 8, 0, -7 }, // 0x71 'q'
|
||
|
{ 658, 5, 8, 5, 0, -7 }, // 0x72 'r'
|
||
|
{ 663, 7, 8, 7, 0, -7 }, // 0x73 's'
|
||
|
{ 670, 5, 10, 5, 0, -9 }, // 0x74 't'
|
||
|
{ 677, 6, 8, 8, 1, -7 }, // 0x75 'u'
|
||
|
{ 683, 7, 8, 7, 0, -7 }, // 0x76 'v'
|
||
|
{ 690, 10, 8, 10, 0, -7 }, // 0x77 'w'
|
||
|
{ 700, 7, 8, 7, 0, -7 }, // 0x78 'x'
|
||
|
{ 707, 7, 11, 7, 0, -7 }, // 0x79 'y'
|
||
|
{ 717, 7, 8, 7, 0, -7 }, // 0x7A 'z'
|
||
|
{ 724, 4, 13, 5, 0, -10 }, // 0x7B '{'
|
||
|
{ 731, 1, 12, 4, 1, -9 }, // 0x7C '|'
|
||
|
{ 733, 4, 13, 5, 1, -10 }, // 0x7D '}'
|
||
|
{ 740, 7, 3, 9, 1, -5 } }; // 0x7E '~'
|
||
|
|
||
|
const GFXfont roboto_Black_13pt7b = {
|
||
|
(uint8_t *)roboto_Black_13pt7bBitmaps,
|
||
|
(GFXglyph *)roboto_Black_13pt7bGlyphs,
|
||
|
0x20, 0x7E, 13 };//B
|
||
|
|
||
|
// Approx. 1415 bytes
|