162 lines
9.3 KiB
C
162 lines
9.3 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_ExtraBold_12pt7bBitmaps[] = {
|
|
0x00, 0xFF, 0xF3, 0xC0, 0xB6, 0x80, 0x1B, 0x09, 0x9F, 0xEF, 0xF3, 0x63,
|
|
0xFF, 0xFC, 0x4C, 0x66, 0x00, 0x0C, 0xFD, 0xFF, 0x07, 0x8F, 0xC7, 0x83,
|
|
0x7E, 0xF8, 0xC0, 0x71, 0x8F, 0x90, 0xDB, 0x0F, 0xAE, 0x77, 0xE0, 0x5B,
|
|
0x0D, 0xB1, 0x9A, 0x10, 0xE0, 0xFC, 0x7C, 0x31, 0x9F, 0xEF, 0xF6, 0x33,
|
|
0x19, 0xFE, 0xFF, 0x80, 0xE0, 0x19, 0x98, 0xCE, 0x73, 0x8C, 0x63, 0x0C,
|
|
0x30, 0xC6, 0x33, 0x33, 0x33, 0x33, 0x6C, 0x31, 0xAF, 0xCC, 0x58, 0x10,
|
|
0x4F, 0xFF, 0x10, 0x40, 0xFE, 0xFC, 0xF0, 0x06, 0x08, 0x30, 0x41, 0x83,
|
|
0x0C, 0x18, 0x61, 0xC0, 0x79, 0xFB, 0x3E, 0x7C, 0xF9, 0xF3, 0xFE, 0x78,
|
|
0x7F, 0xEE, 0x73, 0x9C, 0xE7, 0x38, 0x7C, 0xFC, 0x38, 0x71, 0xC7, 0x1C,
|
|
0x3F, 0xFE, 0x7C, 0xFC, 0x39, 0xE3, 0xE1, 0xC3, 0xBF, 0xFC, 0x38, 0x36,
|
|
0x36, 0x66, 0x66, 0xFF, 0xFF, 0x06, 0x06, 0x7E, 0xF9, 0x83, 0xC7, 0xE1,
|
|
0xC3, 0xBF, 0xFC, 0x7F, 0xFF, 0xBF, 0xCF, 0x3C, 0xFF, 0x78, 0xFF, 0xFC,
|
|
0x30, 0x61, 0xC3, 0x06, 0x1C, 0x30, 0xFD, 0xFB, 0x37, 0xEF, 0xD9, 0xF3,
|
|
0xFF,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,
|
|
0x77, 0x77, 0x37, 0x77, 0x7E, 0xE0, 0xCD, 0xC0 };
|
|
|
|
const GFXglyph Exo2_ExtraBold_12pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 2, 9, 4, 1, -8 }, // 0x21 '!'
|
|
{ 4, 3, 3, 5, 1, -8 }, // 0x22 '"'
|
|
{ 6, 9, 9, 9, 0, -8 }, // 0x23 '#'
|
|
{ 17, 7, 11, 8, 0, -9 }, // 0x24 '$'
|
|
{ 27, 12, 9, 12, 0, -8 }, // 0x25 '%'
|
|
{ 41, 9, 9, 10, 1, -8 }, // 0x26 '&'
|
|
{ 52, 1, 3, 3, 1, -8 }, // 0x27 '''
|
|
{ 53, 5, 12, 5, 0, -9 }, // 0x28 '('
|
|
{ 61, 4, 12, 5, 0, -9 }, // 0x29 ')'
|
|
{ 67, 6, 5, 6, 0, -8 }, // 0x2A '*'
|
|
{ 71, 6, 6, 7, 0, -6 }, // 0x2B '+'
|
|
{ 76, 2, 4, 3, 1, -1 }, // 0x2C ','
|
|
{ 77, 3, 2, 5, 1, -4 }, // 0x2D '-'
|
|
{ 78, 2, 2, 3, 1, -1 }, // 0x2E '.'
|
|
{ 79, 7, 10, 7, 0, -8 }, // 0x2F '/'
|
|
{ 88, 7, 9, 8, 1, -8 }, // 0x30 '0'
|
|
{ 96, 5, 9, 6, 0, -8 }, // 0x31 '1'
|
|
{ 102, 7, 9, 8, 0, -8 }, // 0x32 '2'
|
|
{ 110, 7, 9, 7, 0, -8 }, // 0x33 '3'
|
|
{ 118, 8, 9, 8, 0, -8 }, // 0x34 '4'
|
|
{ 127, 7, 9, 7, 0, -8 }, // 0x35 '5'
|
|
{ 135, 6, 9, 8, 1, -8 }, // 0x36 '6'
|
|
{ 142, 7, 9, 7, 0, -8 }, // 0x37 '7'
|
|
{ 150, 7, 9, 8, 1, -8 }, // 0x38 '8'
|
|
{ 158, 7, 9, 8, 0, -8 }, // 0x39 '9'
|
|
{ 166, 2, 6, 4, 1, -5 }, // 0x3A ':'
|
|
{ 168, 2, 8, 4, 1, -5 }, // 0x3B ';'
|
|
{ 170, 6, 6, 7, 0, -6 }, // 0x3C '<'
|
|
{ 175, 6, 5, 7, 1, -6 }, // 0x3D '='
|
|
{ 179, 5, 6, 7, 1, -6 }, // 0x3E '>'
|
|
{ 183, 7, 9, 7, 0, -8 }, // 0x3F '?'
|
|
{ 191, 9, 9, 10, 1, -7 }, // 0x40 '@'
|
|
{ 202, 9, 9, 9, 0, -8 }, // 0x41 'A'
|
|
{ 213, 7, 9, 8, 1, -8 }, // 0x42 'B'
|
|
{ 221, 7, 9, 8, 0, -8 }, // 0x43 'C'
|
|
{ 229, 7, 9, 9, 1, -8 }, // 0x44 'D'
|
|
{ 237, 6, 9, 8, 1, -8 }, // 0x45 'E'
|
|
{ 244, 6, 9, 7, 1, -8 }, // 0x46 'F'
|
|
{ 251, 8, 9, 9, 0, -8 }, // 0x47 'G'
|
|
{ 260, 7, 9, 9, 1, -8 }, // 0x48 'H'
|
|
{ 268, 2, 9, 4, 1, -8 }, // 0x49 'I'
|
|
{ 271, 4, 9, 5, 0, -8 }, // 0x4A 'J'
|
|
{ 276, 8, 9, 9, 1, -8 }, // 0x4B 'K'
|
|
{ 285, 6, 9, 7, 1, -8 }, // 0x4C 'L'
|
|
{ 292, 11, 9, 12, 1, -8 }, // 0x4D 'M'
|
|
{ 305, 8, 9, 10, 1, -8 }, // 0x4E 'N'
|
|
{ 314, 9, 9, 9, 0, -8 }, // 0x4F 'O'
|
|
{ 325, 7, 9, 8, 1, -8 }, // 0x50 'P'
|
|
{ 333, 9, 12, 9, 0, -8 }, // 0x51 'Q'
|
|
{ 347, 7, 9, 9, 1, -8 }, // 0x52 'R'
|
|
{ 355, 7, 9, 8, 0, -8 }, // 0x53 'S'
|
|
{ 363, 8, 9, 8, 0, -8 }, // 0x54 'T'
|
|
{ 372, 7, 9, 9, 1, -8 }, // 0x55 'U'
|
|
{ 380, 8, 9, 9, 0, -8 }, // 0x56 'V'
|
|
{ 389, 13, 9, 13, 0, -8 }, // 0x57 'W'
|
|
{ 404, 9, 9, 9, 0, -8 }, // 0x58 'X'
|
|
{ 415, 8, 9, 8, 0, -8 }, // 0x59 'Y'
|
|
{ 424, 7, 9, 8, 0, -8 }, // 0x5A 'Z'
|
|
{ 432, 3, 13, 5, 1, -9 }, // 0x5B '['
|
|
{ 437, 7, 10, 7, 0, -8 }, // 0x5C '\'
|
|
{ 446, 4, 13, 5, 0, -9 }, // 0x5D ']'
|
|
{ 453, 6, 4, 6, 0, -8 }, // 0x5E '^'
|
|
{ 456, 6, 2, 6, 0, 0 }, // 0x5F '_'
|
|
{ 458, 4, 3, 5, 0, -9 }, // 0x60 '`'
|
|
{ 460, 7, 7, 8, 0, -6 }, // 0x61 'a'
|
|
{ 467, 6, 10, 8, 1, -9 }, // 0x62 'b'
|
|
{ 475, 6, 7, 7, 0, -6 }, // 0x63 'c'
|
|
{ 481, 7, 10, 8, 0, -9 }, // 0x64 'd'
|
|
{ 490, 7, 7, 7, 0, -6 }, // 0x65 'e'
|
|
{ 497, 6, 9, 5, 0, -8 }, // 0x66 'f'
|
|
{ 504, 8, 10, 8, 0, -6 }, // 0x67 'g'
|
|
{ 514, 6, 10, 8, 1, -9 }, // 0x68 'h'
|
|
{ 522, 2, 10, 4, 1, -9 }, // 0x69 'i'
|
|
{ 525, 3, 12, 4, 0, -9 }, // 0x6A 'j'
|
|
{ 530, 7, 10, 8, 1, -9 }, // 0x6B 'k'
|
|
{ 539, 3, 10, 4, 1, -9 }, // 0x6C 'l'
|
|
{ 543, 10, 7, 11, 1, -6 }, // 0x6D 'm'
|
|
{ 552, 6, 7, 8, 1, -6 }, // 0x6E 'n'
|
|
{ 558, 7, 7, 8, 0, -6 }, // 0x6F 'o'
|
|
{ 565, 7, 10, 8, 1, -6 }, // 0x70 'p'
|
|
{ 574, 7, 10, 8, 0, -6 }, // 0x71 'q'
|
|
{ 583, 5, 7, 6, 1, -6 }, // 0x72 'r'
|
|
{ 588, 7, 7, 7, 0, -6 }, // 0x73 's'
|
|
{ 595, 5, 9, 6, 0, -8 }, // 0x74 't'
|
|
{ 601, 6, 7, 8, 1, -6 }, // 0x75 'u'
|
|
{ 607, 8, 7, 8, 0, -6 }, // 0x76 'v'
|
|
{ 614, 11, 7, 11, 0, -6 }, // 0x77 'w'
|
|
{ 624, 8, 7, 8, 0, -6 }, // 0x78 'x'
|
|
{ 631, 8, 10, 8, 0, -6 }, // 0x79 'y'
|
|
{ 641, 7, 7, 7, 0, -6 }, // 0x7A 'z'
|
|
{ 648, 4, 13, 5, 0, -9 }, // 0x7B '{'
|
|
{ 655, 2, 13, 4, 1, -9 }, // 0x7C '|'
|
|
{ 659, 4, 13, 5, 0, -9 }, // 0x7D '}'
|
|
{ 666, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_ExtraBold_12pt7b = {
|
|
(uint8_t *)Exo2_ExtraBold_12pt7bBitmaps,
|
|
(GFXglyph *)Exo2_ExtraBold_12pt7bGlyphs,
|
|
0x20, 0x7E, 12 };//B
|
|
|
|
// Approx. 1340 bytes
|