160 lines
9.2 KiB
C
160 lines
9.2 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t Exo2_SemiBold_12pt7bBitmaps[] = {
|
|
0x00, 0xFF, 0xFC, 0x30, 0xB6, 0x80, 0x13, 0x09, 0x04, 0x8F, 0xF3, 0x21,
|
|
0x11, 0xFD, 0x48, 0x24, 0x12, 0x00, 0x13, 0xFD, 0x24, 0xE3, 0xC7, 0x8B,
|
|
0x2C, 0xBF, 0x88, 0x70, 0x8B, 0x21, 0x24, 0x65, 0x05, 0xBE, 0xEA, 0x43,
|
|
0x48, 0x49, 0x11, 0x22, 0x3C, 0x7C, 0xC0, 0xC6, 0xC6, 0x7F, 0xC6, 0x86,
|
|
0x86, 0xCE, 0xFB, 0xE0, 0x2B, 0x49, 0x24, 0x99, 0x10, 0xC2, 0x33, 0x11,
|
|
0x11, 0x33, 0x6C, 0x4D, 0x66, 0xB0, 0x21, 0x3E, 0x42, 0x10, 0xE0, 0xF0,
|
|
0x80, 0x06, 0x08, 0x20, 0x41, 0x02, 0x08, 0x10, 0x61, 0x80, 0x7B, 0x3C,
|
|
0xE1, 0x86, 0x18, 0x73, 0xCD, 0xE0, 0x7F, 0x33, 0x33, 0x33, 0x33, 0xFA,
|
|
0x20, 0x86, 0x18, 0xC6, 0x38, 0xC3, 0xF0, 0xF8, 0x60, 0x82, 0x70, 0x60,
|
|
0xC3, 0x1B, 0xE0, 0x10, 0x30, 0x36, 0x26, 0x66, 0x66, 0xC6, 0xFF, 0x06,
|
|
0x06, 0xFC, 0x21, 0x0F, 0x8C, 0x21, 0x9F, 0x80, 0x7B, 0x0C, 0x20, 0xBB,
|
|
0x38, 0xE3, 0xCD, 0xE0, 0xFC, 0x10, 0xC3, 0x08, 0x61, 0x84, 0x30, 0xC0,
|
|
0x7B, 0x38, 0xF3, 0x7B, 0x38, 0x61, 0xCD, 0xE0, 0x7B, 0x28, 0xE3, 0x8F,
|
|
0xF0, 0xC3, 0x1B, 0xC0, 0x88, 0x8E,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'
|
|
{ 41, 8, 10, 10, 1, -9 }, // 0x26 '&'
|
|
{ 51, 1, 3, 3, 1, -9 }, // 0x27 '''
|
|
{ 52, 3, 12, 5, 1, -9 }, // 0x28 '('
|
|
{ 57, 4, 12, 5, 0, -9 }, // 0x29 ')'
|
|
{ 63, 4, 5, 6, 1, -9 }, // 0x2A '*'
|
|
{ 66, 5, 6, 7, 1, -6 }, // 0x2B '+'
|
|
{ 70, 1, 3, 3, 1, 0 }, // 0x2C ','
|
|
{ 71, 4, 1, 6, 1, -3 }, // 0x2D '-'
|
|
{ 72, 1, 1, 3, 1, 0 }, // 0x2E '.'
|
|
{ 73, 7, 10, 7, 0, -9 }, // 0x2F '/'
|
|
{ 82, 6, 10, 8, 1, -9 }, // 0x30 '0'
|
|
{ 90, 4, 10, 5, 0, -9 }, // 0x31 '1'
|
|
{ 95, 6, 10, 7, 1, -9 }, // 0x32 '2'
|
|
{ 103, 6, 10, 7, 1, -9 }, // 0x33 '3'
|
|
{ 111, 8, 10, 8, 0, -9 }, // 0x34 '4'
|
|
{ 121, 5, 10, 7, 1, -9 }, // 0x35 '5'
|
|
{ 128, 6, 10, 8, 1, -9 }, // 0x36 '6'
|
|
{ 136, 6, 10, 7, 0, -9 }, // 0x37 '7'
|
|
{ 144, 6, 10, 8, 1, -9 }, // 0x38 '8'
|
|
{ 152, 6, 10, 8, 1, -9 }, // 0x39 '9'
|
|
{ 160, 1, 5, 3, 1, -4 }, // 0x3A ':'
|
|
{ 161, 1, 7, 3, 1, -4 }, // 0x3B ';'
|
|
{ 162, 5, 6, 7, 1, -6 }, // 0x3C '<'
|
|
{ 166, 6, 4, 8, 1, -5 }, // 0x3D '='
|
|
{ 169, 5, 6, 7, 1, -6 }, // 0x3E '>'
|
|
{ 173, 6, 10, 7, 0, -9 }, // 0x3F '?'
|
|
{ 181, 8, 9, 10, 1, -7 }, // 0x40 '@'
|
|
{ 190, 8, 10, 8, 0, -9 }, // 0x41 'A'
|
|
{ 200, 7, 10, 8, 1, -9 }, // 0x42 'B'
|
|
{ 209, 6, 10, 8, 1, -9 }, // 0x43 'C'
|
|
{ 217, 7, 10, 9, 1, -9 }, // 0x44 'D'
|
|
{ 226, 6, 10, 7, 1, -9 }, // 0x45 'E'
|
|
{ 234, 6, 10, 7, 1, -9 }, // 0x46 'F'
|
|
{ 242, 6, 10, 8, 1, -9 }, // 0x47 'G'
|
|
{ 250, 7, 10, 9, 1, -9 }, // 0x48 'H'
|
|
{ 259, 2, 10, 4, 1, -9 }, // 0x49 'I'
|
|
{ 262, 4, 10, 5, 0, -9 }, // 0x4A 'J'
|
|
{ 267, 7, 10, 8, 1, -9 }, // 0x4B 'K'
|
|
{ 276, 6, 10, 7, 1, -9 }, // 0x4C 'L'
|
|
{ 284, 10, 10, 12, 1, -9 }, // 0x4D 'M'
|
|
{ 297, 7, 10, 9, 1, -9 }, // 0x4E 'N'
|
|
{ 306, 7, 10, 9, 1, -9 }, // 0x4F 'O'
|
|
{ 315, 6, 10, 8, 1, -9 }, // 0x50 'P'
|
|
{ 323, 7, 13, 9, 1, -9 }, // 0x51 'Q'
|
|
{ 335, 7, 10, 8, 1, -9 }, // 0x52 'R'
|
|
{ 344, 6, 10, 7, 1, -9 }, // 0x53 'S'
|
|
{ 352, 7, 10, 8, 0, -9 }, // 0x54 'T'
|
|
{ 361, 7, 10, 9, 1, -9 }, // 0x55 'U'
|
|
{ 370, 8, 10, 8, 0, -9 }, // 0x56 'V'
|
|
{ 380, 12, 10, 13, 0, -9 }, // 0x57 'W'
|
|
{ 395, 8, 10, 8, 0, -9 }, // 0x58 'X'
|
|
{ 405, 8, 10, 8, 0, -9 }, // 0x59 'Y'
|
|
{ 415, 6, 10, 7, 1, -9 }, // 0x5A 'Z'
|
|
{ 423, 3, 13, 4, 1, -10 }, // 0x5B '['
|
|
{ 428, 7, 10, 7, 0, -9 }, // 0x5C '\'
|
|
{ 437, 3, 13, 4, 0, -10 }, // 0x5D ']'
|
|
{ 442, 5, 3, 6, 0, -8 }, // 0x5E '^'
|
|
{ 444, 6, 1, 6, 0, 1 }, // 0x5F '_'
|
|
{ 445, 4, 3, 4, 0, -9 }, // 0x60 '`'
|
|
{ 447, 5, 7, 7, 1, -6 }, // 0x61 'a'
|
|
{ 452, 6, 10, 8, 1, -9 }, // 0x62 'b'
|
|
{ 460, 5, 7, 6, 1, -6 }, // 0x63 'c'
|
|
{ 465, 6, 10, 8, 1, -9 }, // 0x64 'd'
|
|
{ 473, 6, 7, 7, 1, -6 }, // 0x65 'e'
|
|
{ 479, 5, 10, 5, 0, -9 }, // 0x66 'f'
|
|
{ 486, 7, 10, 7, 0, -6 }, // 0x67 'g'
|
|
{ 495, 6, 10, 8, 1, -9 }, // 0x68 'h'
|
|
{ 503, 2, 10, 3, 1, -9 }, // 0x69 'i'
|
|
{ 506, 3, 13, 3, 0, -9 }, // 0x6A 'j'
|
|
{ 511, 6, 10, 7, 1, -9 }, // 0x6B 'k'
|
|
{ 519, 3, 10, 4, 1, -9 }, // 0x6C 'l'
|
|
{ 523, 10, 7, 11, 1, -6 }, // 0x6D 'm'
|
|
{ 532, 6, 7, 8, 1, -6 }, // 0x6E 'n'
|
|
{ 538, 6, 7, 7, 1, -6 }, // 0x6F 'o'
|
|
{ 544, 6, 10, 8, 1, -6 }, // 0x70 'p'
|
|
{ 552, 6, 10, 8, 1, -6 }, // 0x71 'q'
|
|
{ 560, 4, 7, 5, 1, -6 }, // 0x72 'r'
|
|
{ 564, 5, 7, 7, 1, -6 }, // 0x73 's'
|
|
{ 569, 5, 9, 5, 0, -8 }, // 0x74 't'
|
|
{ 575, 6, 7, 8, 1, -6 }, // 0x75 'u'
|
|
{ 581, 7, 7, 7, 0, -6 }, // 0x76 'v'
|
|
{ 588, 11, 7, 11, 0, -6 }, // 0x77 'w'
|
|
{ 598, 7, 7, 7, 0, -6 }, // 0x78 'x'
|
|
{ 605, 7, 10, 7, 0, -6 }, // 0x79 'y'
|
|
{ 614, 5, 7, 7, 1, -6 }, // 0x7A 'z'
|
|
{ 619, 4, 13, 4, 0, -10 }, // 0x7B '{'
|
|
{ 626, 1, 13, 3, 1, -10 }, // 0x7C '|'
|
|
{ 628, 4, 13, 4, 0, -10 }, // 0x7D '}'
|
|
{ 635, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont Exo2_SemiBold_12pt7b = {
|
|
(uint8_t *)Exo2_SemiBold_12pt7bBitmaps,
|
|
(GFXglyph *)Exo2_SemiBold_12pt7bGlyphs,
|
|
0x20, 0x7E, 12 };//B
|
|
|
|
// Approx. 1309 bytes
|