166 lines
9.6 KiB
C
166 lines
9.6 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_ExtraBold_13pt7bBitmaps[] = {
|
|
0x00, 0xFF, 0xF3, 0xC0, 0xBB, 0xB0, 0x19, 0x86, 0xC7, 0xFD, 0xFF, 0x33,
|
|
0x1F, 0xEF, 0xF8, 0xD8, 0x36, 0x00, 0x19, 0xFF, 0xF6, 0x0F, 0x1F, 0x8F,
|
|
0x87, 0xFF, 0xF8, 0xC0, 0x78, 0xCF, 0x98, 0xD9, 0x0F, 0xB6, 0x7A, 0xF0,
|
|
0x79, 0x0D, 0x90, 0x89, 0x18, 0xF0, 0xFC, 0x7E, 0x39, 0xCF, 0xFF, 0xFE,
|
|
0x3B, 0x1D, 0xFF, 0xFB, 0x80, 0xE0, 0x19, 0x9C, 0xC6, 0x73, 0x9C, 0x63,
|
|
0x18, 0x61, 0x80, 0xC3, 0x0C, 0x63, 0x9C, 0xE7, 0x39, 0x8C, 0xCC, 0x00,
|
|
0x31, 0x7D, 0x8E, 0x68, 0x18, 0x33, 0xFF, 0xF1, 0x83, 0x00, 0xFE, 0xFF,
|
|
0xF0, 0x07, 0x06, 0x0C, 0x0C, 0x18, 0x18, 0x30, 0x30, 0x60, 0xE0, 0x7D,
|
|
0xFF, 0x1E, 0x3C, 0x78, 0xF1, 0xFF, 0x7C, 0x7F, 0xE6, 0x31, 0x8C, 0x63,
|
|
0x18, 0xFD, 0xF8, 0x30, 0xE3, 0xCF, 0x3C, 0x7F, 0xFE, 0x7E, 0xFC, 0x19,
|
|
0xE3, 0xE0, 0xC1, 0xBF, 0xFC, 0x18, 0x1F, 0x8D, 0xCE, 0xE6, 0x77, 0xFF,
|
|
0xFE, 0x0E, 0x07, 0x00, 0x7E, 0xFD, 0x83, 0xE7, 0xE0, 0xC1, 0xBF, 0xFC,
|
|
0x7D, 0xFB, 0x77, 0xFC, 0xF9, 0xF3, 0xFF, 0x7C, 0xFF, 0xFC, 0x38, 0x61,
|
|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6, 0x6D, 0x67,
|
|
0x9E, 0x39, 0xC0, 0xE7, 0x76, 0x3E, 0x3C, 0x7E, 0x66, 0xE7, 0xE7, 0x67,
|
|
0x66, 0x76, 0x3E, 0x3C, 0x3C, 0x1C, 0x78, 0x70, 0x7E, 0xFC, 0x71, 0xC7,
|
|
0x1F, 0xFF, 0x80, 0x33, 0x98, 0xC6, 0x73, 0x8C, 0x73, 0x9C, 0xF3, 0x80,
|
|
0xFF, 0xFF, 0xFF, 0xC0, 0xE7, 0x9C, 0xE7, 0x1C, 0xEE, 0x73, 0x9D, 0xEE,
|
|
0x00, 0xCD, 0xC0 };
|
|
|
|
const GFXglyph Exo2_ExtraBold_13pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 2, 9, 4, 1, -8 }, // 0x21 '!'
|
|
{ 4, 4, 3, 5, 1, -8 }, // 0x22 '"'
|
|
{ 6, 10, 9, 10, 0, -8 }, // 0x23 '#'
|
|
{ 18, 7, 11, 8, 1, -9 }, // 0x24 '$'
|
|
{ 28, 12, 9, 13, 0, -8 }, // 0x25 '%'
|
|
{ 42, 9, 9, 11, 1, -8 }, // 0x26 '&'
|
|
{ 53, 1, 3, 3, 1, -8 }, // 0x27 '''
|
|
{ 54, 5, 13, 5, 0, -10 }, // 0x28 '('
|
|
{ 63, 5, 13, 5, 0, -10 }, // 0x29 ')'
|
|
{ 72, 6, 5, 6, 0, -8 }, // 0x2A '*'
|
|
{ 76, 7, 6, 7, 0, -6 }, // 0x2B '+'
|
|
{ 82, 2, 4, 3, 1, -1 }, // 0x2C ','
|
|
{ 83, 4, 2, 6, 1, -4 }, // 0x2D '-'
|
|
{ 84, 2, 2, 4, 1, -1 }, // 0x2E '.'
|
|
{ 85, 8, 10, 8, 0, -8 }, // 0x2F '/'
|
|
{ 95, 7, 9, 9, 1, -8 }, // 0x30 '0'
|
|
{ 103, 5, 9, 6, 0, -8 }, // 0x31 '1'
|
|
{ 109, 7, 9, 8, 1, -8 }, // 0x32 '2'
|
|
{ 117, 7, 9, 8, 0, -8 }, // 0x33 '3'
|
|
{ 125, 9, 9, 9, 0, -8 }, // 0x34 '4'
|
|
{ 136, 7, 9, 8, 0, -8 }, // 0x35 '5'
|
|
{ 144, 7, 9, 8, 1, -8 }, // 0x36 '6'
|
|
{ 152, 7, 9, 7, 0, -8 }, // 0x37 '7'
|
|
{ 160, 7, 9, 9, 1, -8 }, // 0x38 '8'
|
|
{ 168, 8, 9, 8, 0, -8 }, // 0x39 '9'
|
|
{ 177, 2, 6, 4, 1, -5 }, // 0x3A ':'
|
|
{ 179, 2, 8, 4, 1, -5 }, // 0x3B ';'
|
|
{ 181, 6, 6, 7, 0, -6 }, // 0x3C '<'
|
|
{ 186, 6, 5, 8, 1, -6 }, // 0x3D '='
|
|
{ 190, 6, 6, 7, 1, -6 }, // 0x3E '>'
|
|
{ 195, 7, 9, 7, 0, -8 }, // 0x3F '?'
|
|
{ 203, 9, 9, 11, 1, -7 }, // 0x40 '@'
|
|
{ 214, 9, 9, 9, 0, -8 }, // 0x41 'A'
|
|
{ 225, 8, 9, 9, 1, -8 }, // 0x42 'B'
|
|
{ 234, 7, 9, 8, 1, -8 }, // 0x43 'C'
|
|
{ 242, 8, 9, 10, 1, -8 }, // 0x44 'D'
|
|
{ 251, 7, 9, 8, 1, -8 }, // 0x45 'E'
|
|
{ 259, 7, 9, 8, 1, -8 }, // 0x46 'F'
|
|
{ 267, 8, 9, 9, 1, -8 }, // 0x47 'G'
|
|
{ 276, 8, 9, 10, 1, -8 }, // 0x48 'H'
|
|
{ 285, 2, 9, 4, 1, -8 }, // 0x49 'I'
|
|
{ 288, 5, 9, 5, 0, -8 }, // 0x4A 'J'
|
|
{ 294, 8, 9, 9, 1, -8 }, // 0x4B 'K'
|
|
{ 303, 7, 9, 8, 1, -8 }, // 0x4C 'L'
|
|
{ 311, 11, 9, 13, 1, -8 }, // 0x4D 'M'
|
|
{ 324, 8, 9, 10, 1, -8 }, // 0x4E 'N'
|
|
{ 333, 8, 9, 10, 1, -8 }, // 0x4F 'O'
|
|
{ 342, 8, 9, 9, 1, -8 }, // 0x50 'P'
|
|
{ 351, 8, 12, 10, 1, -8 }, // 0x51 'Q'
|
|
{ 363, 8, 9, 9, 1, -8 }, // 0x52 'R'
|
|
{ 372, 8, 9, 8, 0, -8 }, // 0x53 'S'
|
|
{ 381, 8, 9, 9, 0, -8 }, // 0x54 'T'
|
|
{ 390, 8, 9, 10, 1, -8 }, // 0x55 'U'
|
|
{ 399, 9, 9, 9, 0, -8 }, // 0x56 'V'
|
|
{ 410, 14, 9, 14, 0, -8 }, // 0x57 'W'
|
|
{ 426, 9, 9, 9, 0, -8 }, // 0x58 'X'
|
|
{ 437, 9, 9, 9, 0, -8 }, // 0x59 'Y'
|
|
{ 448, 8, 9, 8, 0, -8 }, // 0x5A 'Z'
|
|
{ 457, 4, 13, 5, 1, -9 }, // 0x5B '['
|
|
{ 464, 8, 10, 8, 0, -8 }, // 0x5C '\'
|
|
{ 474, 4, 13, 5, 0, -9 }, // 0x5D ']'
|
|
{ 481, 6, 4, 7, 0, -8 }, // 0x5E '^'
|
|
{ 484, 6, 2, 6, 0, 0 }, // 0x5F '_'
|
|
{ 486, 4, 4, 5, 1, -10 }, // 0x60 '`'
|
|
{ 488, 7, 7, 8, 0, -6 }, // 0x61 'a'
|
|
{ 495, 7, 10, 8, 1, -9 }, // 0x62 'b'
|
|
{ 504, 7, 7, 7, 0, -6 }, // 0x63 'c'
|
|
{ 511, 8, 10, 9, 0, -9 }, // 0x64 'd'
|
|
{ 521, 8, 7, 8, 0, -6 }, // 0x65 'e'
|
|
{ 528, 6, 9, 6, 0, -8 }, // 0x66 'f'
|
|
{ 535, 8, 10, 8, 0, -6 }, // 0x67 'g'
|
|
{ 545, 7, 10, 9, 1, -9 }, // 0x68 'h'
|
|
{ 554, 2, 10, 4, 1, -9 }, // 0x69 'i'
|
|
{ 557, 3, 12, 4, 0, -9 }, // 0x6A 'j'
|
|
{ 562, 7, 10, 8, 1, -9 }, // 0x6B 'k'
|
|
{ 571, 4, 10, 5, 1, -9 }, // 0x6C 'l'
|
|
{ 576, 11, 7, 12, 1, -6 }, // 0x6D 'm'
|
|
{ 586, 7, 7, 9, 1, -6 }, // 0x6E 'n'
|
|
{ 593, 8, 7, 8, 0, -6 }, // 0x6F 'o'
|
|
{ 600, 7, 10, 9, 1, -6 }, // 0x70 'p'
|
|
{ 609, 8, 10, 8, 0, -6 }, // 0x71 'q'
|
|
{ 619, 5, 7, 6, 1, -6 }, // 0x72 'r'
|
|
{ 624, 7, 7, 8, 0, -6 }, // 0x73 's'
|
|
{ 631, 6, 9, 6, 0, -8 }, // 0x74 't'
|
|
{ 638, 7, 7, 8, 1, -6 }, // 0x75 'u'
|
|
{ 645, 8, 7, 8, 0, -6 }, // 0x76 'v'
|
|
{ 652, 12, 7, 12, 0, -6 }, // 0x77 'w'
|
|
{ 663, 8, 7, 8, 0, -6 }, // 0x78 'x'
|
|
{ 670, 8, 10, 8, 0, -6 }, // 0x79 'y'
|
|
{ 680, 7, 7, 7, 0, -6 }, // 0x7A 'z'
|
|
{ 687, 5, 13, 5, 0, -9 }, // 0x7B '{'
|
|
{ 696, 2, 13, 4, 1, -9 }, // 0x7C '|'
|
|
{ 700, 5, 13, 5, 0, -9 }, // 0x7D '}'
|
|
{ 709, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_ExtraBold_13pt7b = {
|
|
(uint8_t *)Exo2_ExtraBold_13pt7bBitmaps,
|
|
(GFXglyph *)Exo2_ExtraBold_13pt7bGlyphs,
|
|
0x20, 0x7E, 13 };//B
|
|
|
|
// Approx. 1383 bytes
|