190 lines
11 KiB
C
190 lines
11 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_Medium_16pt7bBitmaps[] = {
|
|
0x00, 0xFF, 0x98, 0xDD, 0xDD, 0x18, 0x82, 0x10, 0x46, 0x3F, 0xF9, 0x10,
|
|
0x62, 0x08, 0x47, 0xFE, 0x23, 0x04, 0x61, 0x88, 0x31, 0x00, 0x08, 0x08,
|
|
0x08, 0x7F, 0xE8, 0xC8, 0xC8, 0xC8, 0x7C, 0x1F, 0x13, 0x13, 0x13, 0x17,
|
|
0xFE, 0x10, 0x10, 0x78, 0x33, 0x61, 0x88, 0xC4, 0x23, 0x20, 0x8D, 0x83,
|
|
0x25, 0xFF, 0xA4, 0xC1, 0x91, 0x04, 0xC4, 0x21, 0x11, 0x86, 0xCC, 0x1E,
|
|
0x3F, 0x07, 0x90, 0x40, 0x04, 0x08, 0x60, 0x83, 0xFF, 0x60, 0x8C, 0x08,
|
|
0xC0, 0x8C, 0x08, 0xF7, 0xC7, 0xEF, 0xFF, 0x19, 0x98, 0x8C, 0x63, 0x18,
|
|
0xC6, 0x31, 0x8C, 0x21, 0x86, 0x08, 0x82, 0x08, 0x63, 0x08, 0x43, 0x18,
|
|
0xC4, 0x23, 0x19, 0x88, 0x80, 0x10, 0x4D, 0xCC, 0x49, 0x20, 0x18, 0x18,
|
|
0x18, 0xFF, 0x18, 0x18, 0x18, 0xF7, 0xFC, 0xF0, 0x01, 0x80, 0x80, 0xC0,
|
|
0x40, 0x60, 0x20, 0x30, 0x10, 0x10, 0x08, 0x08, 0x0C, 0x0C, 0x00, 0x3E,
|
|
0x3B, 0x90, 0x58, 0x3C, 0x1E, 0x0F, 0x07, 0x83, 0xC1, 0xA0, 0x9D, 0xC7,
|
|
0xC0, 0x3F, 0xE6, 0x31, 0x8C, 0x63, 0x18, 0xC6, 0x30, 0xFE, 0x87, 0x03,
|
|
0x03, 0x06, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0xFF, 0xF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 0x1E, 0x0F, 0x05, 0xEE, 0xDE,
|
|
0x60, 0x30, 0x18, 0x0C, 0x00, 0x3F, 0x67, 0xC3, 0xC3, 0xC3, 0xC3, 0xC3,
|
|
0xEF, 0x7B, 0x03, 0x03, 0x03, 0x03, 0xDF, 0xEC, 0x30, 0xC3, 0x0C, 0x30,
|
|
0xC0, 0x7F, 0x83, 0x07, 0x07, 0xC0, 0xC0, 0xC7, 0xFE, 0x30, 0x60, 0xC7,
|
|
0xF3, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xF0, 0xE0, 0xC3, 0xC3, 0xC3, 0xC3,
|
|
0xC3, 0xC3, 0xC3, 0xCF, 0x79, 0xC1, 0xB0, 0xD8, 0x44, 0x63, 0x31, 0x90,
|
|
0x58, 0x3C, 0x1C, 0x00, 0xC3, 0x85, 0x8A, 0x36, 0x28, 0xD9, 0xB2, 0x26,
|
|
0xD8, 0xD3, 0x63, 0x45, 0x87, 0x14, 0x1C, 0x70, 0x61, 0xB1, 0x8C, 0xC2,
|
|
0xC1, 0xC0, 0xF0, 0xCC, 0xC6, 0xE1, 0x80, 0xC1, 0xB0, 0xD8, 0x44, 0x63,
|
|
0x31, 0x90, 0x58, 0x3C, 0x1C, 0x06, 0x03, 0x07, 0x03, 0x00, 0xFE, 0x0C,
|
|
0x30, 0x41, 0x86, 0x18, 0x60, 0xFE, 0x76, 0x44, 0x44, 0x4C, 0xC4, 0x66,
|
|
0x66, 0x66, 0x70, 0xFF, 0xFF, 0x80, 0xC6, 0x66, 0x66, 0x63, 0x36, 0x66,
|
|
0x66, 0x66, 0xC0, 0x73, 0x3C };
|
|
|
|
const GFXglyph Exo2_Medium_16pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 4, 0, 0 }, // 0x20 ' '
|
|
{ 1, 1, 13, 5, 2, -12 }, // 0x21 '!'
|
|
{ 3, 4, 4, 6, 1, -11 }, // 0x22 '"'
|
|
{ 5, 11, 12, 12, 1, -11 }, // 0x23 '#'
|
|
{ 22, 8, 17, 10, 1, -14 }, // 0x24 '$'
|
|
{ 39, 14, 12, 16, 1, -11 }, // 0x25 '%'
|
|
{ 60, 12, 12, 14, 1, -11 }, // 0x26 '&'
|
|
{ 78, 2, 4, 4, 1, -11 }, // 0x27 '''
|
|
{ 79, 5, 17, 6, 1, -13 }, // 0x28 '('
|
|
{ 90, 5, 17, 6, 1, -13 }, // 0x29 ')'
|
|
{ 101, 6, 6, 8, 1, -11 }, // 0x2A '*'
|
|
{ 106, 8, 7, 10, 1, -8 }, // 0x2B '+'
|
|
{ 113, 2, 4, 4, 1, -1 }, // 0x2C ','
|
|
{ 114, 6, 1, 8, 1, -4 }, // 0x2D '-'
|
|
{ 115, 2, 2, 4, 1, -1 }, // 0x2E '.'
|
|
{ 116, 9, 13, 9, 0, -11 }, // 0x2F '/'
|
|
{ 131, 9, 12, 11, 1, -11 }, // 0x30 '0'
|
|
{ 145, 5, 12, 7, 0, -11 }, // 0x31 '1'
|
|
{ 153, 8, 12, 10, 1, -11 }, // 0x32 '2'
|
|
{ 165, 8, 12, 10, 1, -11 }, // 0x33 '3'
|
|
{ 177, 9, 12, 11, 1, -11 }, // 0x34 '4'
|
|
{ 191, 8, 12, 10, 1, -11 }, // 0x35 '5'
|
|
{ 203, 8, 12, 10, 1, -11 }, // 0x36 '6'
|
|
{ 215, 8, 12, 9, 1, -11 }, // 0x37 '7'
|
|
{ 227, 9, 12, 11, 1, -11 }, // 0x38 '8'
|
|
{ 241, 8, 12, 10, 1, -11 }, // 0x39 '9'
|
|
{ 253, 2, 8, 4, 1, -7 }, // 0x3A ':'
|
|
{ 255, 2, 10, 4, 1, -7 }, // 0x3B ';'
|
|
{ 258, 7, 7, 10, 1, -8 }, // 0x3C '<'
|
|
{ 265, 8, 5, 11, 1, -7 }, // 0x3D '='
|
|
{ 270, 8, 7, 10, 1, -8 }, // 0x3E '>'
|
|
{ 277, 7, 12, 9, 1, -11 }, // 0x3F '?'
|
|
{ 288, 11, 11, 13, 1, -9 }, // 0x40 '@'
|
|
{ 304, 11, 12, 11, 0, -11 }, // 0x41 'A'
|
|
{ 321, 8, 12, 11, 2, -11 }, // 0x42 'B'
|
|
{ 333, 9, 12, 10, 1, -11 }, // 0x43 'C'
|
|
{ 347, 9, 12, 12, 2, -11 }, // 0x44 'D'
|
|
{ 361, 8, 12, 10, 1, -11 }, // 0x45 'E'
|
|
{ 373, 8, 12, 10, 1, -11 }, // 0x46 'F'
|
|
{ 385, 9, 12, 11, 1, -11 }, // 0x47 'G'
|
|
{ 399, 9, 12, 12, 2, -11 }, // 0x48 'H'
|
|
{ 413, 1, 12, 5, 2, -11 }, // 0x49 'I'
|
|
{ 415, 5, 12, 6, 0, -11 }, // 0x4A 'J'
|
|
{ 423, 8, 12, 11, 2, -11 }, // 0x4B 'K'
|
|
{ 435, 8, 12, 9, 1, -11 }, // 0x4C 'L'
|
|
{ 447, 14, 12, 16, 1, -11 }, // 0x4D 'M'
|
|
{ 468, 9, 12, 13, 2, -11 }, // 0x4E 'N'
|
|
{ 482, 10, 12, 12, 1, -11 }, // 0x4F 'O'
|
|
{ 497, 8, 12, 11, 2, -11 }, // 0x50 'P'
|
|
{ 509, 10, 16, 12, 1, -11 }, // 0x51 'Q'
|
|
{ 529, 8, 12, 11, 2, -11 }, // 0x52 'R'
|
|
{ 541, 8, 12, 10, 1, -11 }, // 0x53 'S'
|
|
{ 553, 10, 12, 11, 0, -11 }, // 0x54 'T'
|
|
{ 568, 10, 12, 12, 1, -11 }, // 0x55 'U'
|
|
{ 583, 11, 12, 11, 0, -11 }, // 0x56 'V'
|
|
{ 600, 16, 12, 17, 1, -11 }, // 0x57 'W'
|
|
{ 624, 11, 12, 11, 0, -11 }, // 0x58 'X'
|
|
{ 641, 10, 12, 10, 0, -11 }, // 0x59 'Y'
|
|
{ 656, 8, 12, 10, 1, -11 }, // 0x5A 'Z'
|
|
{ 668, 3, 16, 6, 2, -12 }, // 0x5B '['
|
|
{ 674, 9, 13, 9, 0, -11 }, // 0x5C '\'
|
|
{ 689, 3, 16, 6, 1, -12 }, // 0x5D ']'
|
|
{ 695, 6, 4, 8, 1, -10 }, // 0x5E '^'
|
|
{ 698, 8, 1, 8, 0, 1 }, // 0x5F '_'
|
|
{ 699, 4, 3, 6, 1, -12 }, // 0x60 '`'
|
|
{ 701, 8, 9, 10, 1, -8 }, // 0x61 'a'
|
|
{ 710, 8, 13, 10, 1, -12 }, // 0x62 'b'
|
|
{ 723, 7, 9, 9, 1, -8 }, // 0x63 'c'
|
|
{ 731, 8, 13, 10, 1, -12 }, // 0x64 'd'
|
|
{ 744, 8, 9, 10, 1, -8 }, // 0x65 'e'
|
|
{ 753, 7, 12, 7, 0, -11 }, // 0x66 'f'
|
|
{ 764, 9, 13, 10, 1, -8 }, // 0x67 'g'
|
|
{ 779, 8, 13, 11, 1, -12 }, // 0x68 'h'
|
|
{ 792, 2, 12, 5, 1, -11 }, // 0x69 'i'
|
|
{ 795, 3, 15, 5, 0, -11 }, // 0x6A 'j'
|
|
{ 801, 8, 13, 9, 1, -12 }, // 0x6B 'k'
|
|
{ 814, 4, 13, 5, 1, -12 }, // 0x6C 'l'
|
|
{ 821, 13, 9, 16, 1, -8 }, // 0x6D 'm'
|
|
{ 836, 8, 9, 11, 1, -8 }, // 0x6E 'n'
|
|
{ 845, 8, 9, 10, 1, -8 }, // 0x6F 'o'
|
|
{ 854, 9, 13, 11, 1, -8 }, // 0x70 'p'
|
|
{ 869, 8, 13, 10, 1, -8 }, // 0x71 'q'
|
|
{ 882, 6, 9, 7, 1, -8 }, // 0x72 'r'
|
|
{ 889, 7, 9, 9, 1, -8 }, // 0x73 's'
|
|
{ 897, 7, 12, 7, 0, -11 }, // 0x74 't'
|
|
{ 908, 8, 9, 10, 1, -8 }, // 0x75 'u'
|
|
{ 917, 9, 9, 10, 0, -8 }, // 0x76 'v'
|
|
{ 928, 14, 9, 15, 0, -8 }, // 0x77 'w'
|
|
{ 944, 9, 9, 10, 0, -8 }, // 0x78 'x'
|
|
{ 955, 9, 13, 10, 0, -8 }, // 0x79 'y'
|
|
{ 970, 7, 9, 9, 1, -8 }, // 0x7A 'z'
|
|
{ 978, 4, 17, 6, 1, -13 }, // 0x7B '{'
|
|
{ 987, 1, 17, 4, 2, -13 }, // 0x7C '|'
|
|
{ 990, 4, 17, 6, 1, -13 }, // 0x7D '}'
|
|
{ 999, 7, 2, 9, 1, -5 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_Medium_16pt7b = {
|
|
(uint8_t *)Exo2_Medium_16pt7bBitmaps,
|
|
(GFXglyph *)Exo2_Medium_16pt7bGlyphs,
|
|
0x20, 0x7E, 16 };//B
|
|
|
|
// Approx. 1673 bytes
|