166 lines
9.6 KiB
C
166 lines
9.6 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_Bold_13pt7bBitmaps[] = {
|
|
0x00, 0xFF, 0xFC, 0x70, 0xBA, 0xA0, 0x19, 0x0C, 0x84, 0xCF, 0xF7, 0xF9,
|
|
0x91, 0xFF, 0xFF, 0x26, 0x13, 0x00, 0x19, 0xFB, 0xF6, 0x0E, 0x1F, 0x1F,
|
|
0x07, 0x0F, 0xFB, 0xF1, 0x00, 0x78, 0xC7, 0x88, 0xC9, 0x0C, 0x90, 0x7A,
|
|
0x47, 0xEF, 0x05, 0x90, 0xD9, 0x08, 0xF1, 0x0F, 0x7C, 0x7E, 0x30, 0x18,
|
|
0x47, 0xFF, 0xFF, 0x09, 0x84, 0xFF, 0xBD, 0xC0, 0xE0, 0x36, 0xCC, 0xCC,
|
|
0xCC, 0xCC, 0xC6, 0x30, 0xC3, 0x0C, 0x63, 0x0C, 0x63, 0x31, 0x8C, 0xCC,
|
|
0x00, 0x25, 0xD8, 0xED, 0x00, 0x30, 0xCF, 0xFF, 0x30, 0xC0, 0xBE, 0xFF,
|
|
0xB0, 0x02, 0x0C, 0x30, 0x61, 0x83, 0x0C, 0x10, 0x61, 0x80, 0x7D, 0xFF,
|
|
0x1E, 0x3C, 0x78, 0xF1, 0xE3, 0xFE, 0xF8, 0x7F, 0xC6, 0x31, 0x8C, 0x63,
|
|
0x18, 0xC0, 0xFB, 0xF0, 0xC3, 0x1C, 0xE7, 0x38, 0xDF, 0xF0, 0xFB, 0xF0,
|
|
0xC3, 0x79, 0xF0, 0xC3, 0xFF, 0xE0, 0x18, 0x30, 0x32, 0x36, 0x66, 0x66,
|
|
0xE6, 0xFF, 0x06, 0x06, 0xFF, 0xFC, 0x30, 0xF8, 0xF0, 0xC3, 0xFF, 0xE0,
|
|
0x7D, 0xFB, 0x06, 0xCF, 0xD9, 0xF1, 0xE3, 0xFC, 0xF8, 0xFF, 0xFC, 0x38,
|
|
0x60, 0xC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0xF6, 0x6F, 0x66, 0xF6, 0x69, 0x43, 0x9C, 0x39, 0xC0, 0xE7, 0x66,
|
|
0x3C, 0x3C, 0x3C, 0x66, 0xE7, 0xC7, 0x66, 0x66, 0x66, 0x3C, 0x3C, 0x3C,
|
|
0x18, 0x38, 0x70, 0xFF, 0xF3, 0x9C, 0x63, 0xFF, 0xC0, 0x37, 0x66, 0x66,
|
|
0xE6, 0x66, 0x67, 0x30, 0xFF, 0xFF, 0xFF, 0xC0, 0x67, 0x33, 0x33, 0x33,
|
|
0x33, 0x3E, 0xE0, 0xEF, 0xC0 };
|
|
|
|
const GFXglyph Exo2_Bold_13pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 2, 10, 4, 1, -9 }, // 0x21 '!'
|
|
{ 4, 4, 3, 5, 1, -9 }, // 0x22 '"'
|
|
{ 6, 9, 10, 10, 0, -9 }, // 0x23 '#'
|
|
{ 18, 7, 12, 8, 1, -10 }, // 0x24 '$'
|
|
{ 29, 12, 10, 13, 0, -9 }, // 0x25 '%'
|
|
{ 44, 9, 10, 11, 1, -9 }, // 0x26 '&'
|
|
{ 56, 1, 3, 3, 1, -9 }, // 0x27 '''
|
|
{ 57, 4, 13, 5, 1, -10 }, // 0x28 '('
|
|
{ 64, 5, 13, 5, 0, -10 }, // 0x29 ')'
|
|
{ 73, 5, 5, 6, 1, -9 }, // 0x2A '*'
|
|
{ 77, 6, 6, 8, 1, -6 }, // 0x2B '+'
|
|
{ 82, 2, 4, 3, 1, -1 }, // 0x2C ','
|
|
{ 83, 4, 2, 6, 1, -4 }, // 0x2D '-'
|
|
{ 84, 2, 2, 3, 1, -1 }, // 0x2E '.'
|
|
{ 85, 7, 10, 8, 0, -9 }, // 0x2F '/'
|
|
{ 94, 7, 10, 9, 1, -9 }, // 0x30 '0'
|
|
{ 103, 5, 10, 6, 0, -9 }, // 0x31 '1'
|
|
{ 110, 6, 10, 8, 1, -9 }, // 0x32 '2'
|
|
{ 118, 6, 10, 8, 1, -9 }, // 0x33 '3'
|
|
{ 126, 8, 10, 9, 0, -9 }, // 0x34 '4'
|
|
{ 136, 6, 10, 8, 1, -9 }, // 0x35 '5'
|
|
{ 144, 7, 10, 8, 1, -9 }, // 0x36 '6'
|
|
{ 153, 7, 10, 7, 0, -9 }, // 0x37 '7'
|
|
{ 162, 7, 10, 9, 1, -9 }, // 0x38 '8'
|
|
{ 171, 6, 10, 8, 1, -9 }, // 0x39 '9'
|
|
{ 179, 2, 6, 4, 1, -5 }, // 0x3A ':'
|
|
{ 181, 2, 8, 4, 1, -5 }, // 0x3B ';'
|
|
{ 183, 5, 6, 7, 1, -6 }, // 0x3C '<'
|
|
{ 187, 6, 5, 8, 1, -6 }, // 0x3D '='
|
|
{ 191, 6, 6, 7, 1, -6 }, // 0x3E '>'
|
|
{ 196, 7, 10, 7, 0, -9 }, // 0x3F '?'
|
|
{ 205, 9, 9, 11, 1, -7 }, // 0x40 '@'
|
|
{ 216, 9, 10, 9, 0, -9 }, // 0x41 'A'
|
|
{ 228, 7, 10, 9, 1, -9 }, // 0x42 'B'
|
|
{ 237, 7, 10, 8, 1, -9 }, // 0x43 'C'
|
|
{ 246, 8, 10, 10, 1, -9 }, // 0x44 'D'
|
|
{ 256, 7, 10, 8, 1, -9 }, // 0x45 'E'
|
|
{ 265, 6, 10, 8, 1, -9 }, // 0x46 'F'
|
|
{ 273, 7, 10, 9, 1, -9 }, // 0x47 'G'
|
|
{ 282, 8, 10, 10, 1, -9 }, // 0x48 'H'
|
|
{ 292, 2, 10, 4, 1, -9 }, // 0x49 'I'
|
|
{ 295, 4, 10, 5, 0, -9 }, // 0x4A 'J'
|
|
{ 300, 8, 10, 9, 1, -9 }, // 0x4B 'K'
|
|
{ 310, 6, 10, 7, 1, -9 }, // 0x4C 'L'
|
|
{ 318, 11, 10, 13, 1, -9 }, // 0x4D 'M'
|
|
{ 332, 8, 10, 10, 1, -9 }, // 0x4E 'N'
|
|
{ 342, 8, 10, 10, 1, -9 }, // 0x4F 'O'
|
|
{ 352, 7, 10, 9, 1, -9 }, // 0x50 'P'
|
|
{ 361, 8, 13, 10, 1, -9 }, // 0x51 'Q'
|
|
{ 374, 8, 10, 9, 1, -9 }, // 0x52 'R'
|
|
{ 384, 7, 10, 8, 1, -9 }, // 0x53 'S'
|
|
{ 393, 8, 10, 8, 0, -9 }, // 0x54 'T'
|
|
{ 403, 8, 10, 10, 1, -9 }, // 0x55 'U'
|
|
{ 413, 9, 10, 9, 0, -9 }, // 0x56 'V'
|
|
{ 425, 13, 10, 14, 0, -9 }, // 0x57 'W'
|
|
{ 442, 9, 10, 9, 0, -9 }, // 0x58 'X'
|
|
{ 454, 9, 10, 9, 0, -9 }, // 0x59 'Y'
|
|
{ 466, 7, 10, 8, 1, -9 }, // 0x5A 'Z'
|
|
{ 475, 3, 13, 5, 1, -10 }, // 0x5B '['
|
|
{ 480, 7, 10, 8, 0, -9 }, // 0x5C '\'
|
|
{ 489, 4, 13, 5, 0, -10 }, // 0x5D ']'
|
|
{ 496, 6, 4, 6, 0, -8 }, // 0x5E '^'
|
|
{ 499, 6, 2, 6, 0, 0 }, // 0x5F '_'
|
|
{ 501, 4, 3, 5, 0, -9 }, // 0x60 '`'
|
|
{ 503, 7, 7, 8, 0, -6 }, // 0x61 'a'
|
|
{ 510, 7, 10, 8, 1, -9 }, // 0x62 'b'
|
|
{ 519, 6, 7, 7, 1, -6 }, // 0x63 'c'
|
|
{ 525, 6, 10, 8, 1, -9 }, // 0x64 'd'
|
|
{ 533, 6, 7, 8, 1, -6 }, // 0x65 'e'
|
|
{ 539, 6, 10, 6, 0, -9 }, // 0x66 'f'
|
|
{ 547, 8, 10, 8, 0, -6 }, // 0x67 'g'
|
|
{ 557, 7, 10, 8, 1, -9 }, // 0x68 'h'
|
|
{ 566, 2, 10, 4, 1, -9 }, // 0x69 'i'
|
|
{ 569, 3, 13, 4, 0, -9 }, // 0x6A 'j'
|
|
{ 574, 7, 10, 8, 1, -9 }, // 0x6B 'k'
|
|
{ 583, 4, 10, 5, 1, -9 }, // 0x6C 'l'
|
|
{ 588, 11, 7, 12, 1, -6 }, // 0x6D 'm'
|
|
{ 598, 7, 7, 8, 1, -6 }, // 0x6E 'n'
|
|
{ 605, 7, 7, 8, 1, -6 }, // 0x6F 'o'
|
|
{ 612, 7, 10, 8, 1, -6 }, // 0x70 'p'
|
|
{ 621, 6, 10, 8, 1, -6 }, // 0x71 'q'
|
|
{ 629, 5, 7, 6, 1, -6 }, // 0x72 'r'
|
|
{ 634, 6, 7, 7, 1, -6 }, // 0x73 's'
|
|
{ 640, 5, 9, 6, 0, -8 }, // 0x74 't'
|
|
{ 646, 6, 7, 8, 1, -6 }, // 0x75 'u'
|
|
{ 652, 8, 7, 8, 0, -6 }, // 0x76 'v'
|
|
{ 659, 12, 7, 12, 0, -6 }, // 0x77 'w'
|
|
{ 670, 8, 7, 8, 0, -6 }, // 0x78 'x'
|
|
{ 677, 8, 10, 8, 0, -6 }, // 0x79 'y'
|
|
{ 687, 6, 7, 7, 1, -6 }, // 0x7A 'z'
|
|
{ 693, 4, 13, 5, 0, -9 }, // 0x7B '{'
|
|
{ 700, 2, 13, 4, 1, -9 }, // 0x7C '|'
|
|
{ 704, 4, 13, 5, 0, -9 }, // 0x7D '}'
|
|
{ 711, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_Bold_13pt7b = {
|
|
(uint8_t *)Exo2_Bold_13pt7bBitmaps,
|
|
(GFXglyph *)Exo2_Bold_13pt7bGlyphs,
|
|
0x20, 0x7E, 13 };//B
|
|
|
|
// Approx. 1385 bytes
|