164 lines
9.4 KiB
C
164 lines
9.4 KiB
C
|
#include "../include/driver_framebuffer.h"
|
||
|
const uint8_t Exo2_SemiBold_13pt7bBitmaps[] = {
|
||
|
0x00, 0xFF, 0xFC, 0x30, 0xB6, 0x80, 0x19, 0x08, 0x84, 0xCF, 0xF1, 0x21,
|
||
|
0x91, 0xFF, 0x44, 0x26, 0x13, 0x00, 0x13, 0xFD, 0x24, 0xD3, 0xC3, 0xCB,
|
||
|
0x24, 0xBF, 0xC8, 0xF1, 0x96, 0x22, 0x48, 0x49, 0x09, 0x5D, 0xFA, 0xC2,
|
||
|
0xC8, 0x99, 0x11, 0x64, 0x38, 0x7C, 0x70, 0x30, 0x98, 0x47, 0xFE, 0x13,
|
||
|
0x09, 0x84, 0xCF, 0x3D, 0xC0, 0xE0, 0x36, 0xCC, 0x88, 0x88, 0x8C, 0xC4,
|
||
|
0x30, 0xC6, 0x33, 0x11, 0x11, 0x13, 0x32, 0xC0, 0x25, 0xD8, 0xCD, 0x00,
|
||
|
0x20, 0x8F, 0xC8, 0x20, 0x80, 0xE0, 0xF0, 0xC0, 0x02, 0x08, 0x10, 0x41,
|
||
|
0x82, 0x0C, 0x10, 0x61, 0x80, 0x79, 0xDB, 0x1E, 0x38, 0x70, 0xF1, 0xE3,
|
||
|
0xEC, 0xF0, 0x3F, 0x11, 0x11, 0x11, 0x11, 0xFA, 0x30, 0xC3, 0x18, 0xE7,
|
||
|
0x18, 0xC3, 0xF0, 0xF8, 0x30, 0xC3, 0x70, 0x30, 0xC3, 0x1F, 0xE0, 0x18,
|
||
|
0x10, 0x32, 0x26, 0x66, 0x66, 0x46, 0xFF, 0x06, 0x06, 0xFF, 0x0C, 0x30,
|
||
|
0xF8, 0x30, 0xC3, 0x9F, 0xE0, 0x7F, 0x8C, 0x30, 0xFF, 0x3C, 0x71, 0xCD,
|
||
|
0xE0, 0xFE, 0x0C, 0x10, 0x60, 0xC1, 0x06, 0x0C, 0x10, 0x60, 0x7D, 0x9B,
|
||
|
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xFC, 0x21, 0x0C, 0x63,
|
||
|
0x0F, 0xC0, 0x7B, 0x6D, 0xA6, 0xDB, 0x66, 0xFF, 0xF8, 0x66, 0x22, 0x23,
|
||
|
0x32, 0x22, 0x22, 0xE0, 0xED, 0xC0 };
|
||
|
|
||
|
const GFXglyph Exo2_SemiBold_13pt7bGlyphs[] = {
|
||
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
||
|
{ 1, 2, 10, 4, 1, -9 }, // 0x21 '!'
|
||
|
{ 4, 3, 3, 5, 1, -9 }, // 0x22 '"'
|
||
|
{ 6, 9, 10, 10, 0, -9 }, // 0x23 '#'
|
||
|
{ 18, 6, 12, 8, 1, -10 }, // 0x24 '$'
|
||
|
{ 27, 11, 10, 13, 1, -9 }, // 0x25 '%'
|
||
|
{ 41, 9, 10, 11, 1, -9 }, // 0x26 '&'
|
||
|
{ 53, 1, 3, 3, 1, -9 }, // 0x27 '''
|
||
|
{ 54, 4, 13, 5, 1, -10 }, // 0x28 '('
|
||
|
{ 61, 4, 13, 5, 0, -10 }, // 0x29 ')'
|
||
|
{ 68, 5, 5, 6, 1, -9 }, // 0x2A '*'
|
||
|
{ 72, 6, 6, 8, 1, -6 }, // 0x2B '+'
|
||
|
{ 77, 1, 3, 3, 1, 0 }, // 0x2C ','
|
||
|
{ 78, 4, 1, 6, 1, -3 }, // 0x2D '-'
|
||
|
{ 79, 2, 1, 3, 1, 0 }, // 0x2E '.'
|
||
|
{ 80, 7, 10, 7, 0, -9 }, // 0x2F '/'
|
||
|
{ 89, 7, 10, 9, 1, -9 }, // 0x30 '0'
|
||
|
{ 98, 4, 10, 6, 0, -9 }, // 0x31 '1'
|
||
|
{ 103, 6, 10, 8, 1, -9 }, // 0x32 '2'
|
||
|
{ 111, 6, 10, 8, 1, -9 }, // 0x33 '3'
|
||
|
{ 119, 8, 10, 9, 0, -9 }, // 0x34 '4'
|
||
|
{ 129, 6, 10, 8, 1, -9 }, // 0x35 '5'
|
||
|
{ 137, 6, 10, 8, 1, -9 }, // 0x36 '6'
|
||
|
{ 145, 7, 10, 7, 0, -9 }, // 0x37 '7'
|
||
|
{ 154, 7, 10, 9, 1, -9 }, // 0x38 '8'
|
||
|
{ 163, 6, 10, 8, 1, -9 }, // 0x39 '9'
|
||
|
{ 171, 2, 5, 4, 1, -4 }, // 0x3A ':'
|
||
|
{ 173, 2, 7, 4, 1, -4 }, // 0x3B ';'
|
||
|
{ 175, 5, 6, 7, 1, -6 }, // 0x3C '<'
|
||
|
{ 179, 6, 4, 8, 1, -5 }, // 0x3D '='
|
||
|
{ 182, 6, 6, 7, 1, -6 }, // 0x3E '>'
|
||
|
{ 187, 7, 10, 7, 0, -9 }, // 0x3F '?'
|
||
|
{ 196, 8, 9, 10, 1, -7 }, // 0x40 '@'
|
||
|
{ 205, 9, 10, 9, 0, -9 }, // 0x41 'A'
|
||
|
{ 217, 7, 10, 9, 1, -9 }, // 0x42 'B'
|
||
|
{ 226, 7, 10, 8, 1, -9 }, // 0x43 'C'
|
||
|
{ 235, 8, 10, 9, 1, -9 }, // 0x44 'D'
|
||
|
{ 245, 6, 10, 8, 1, -9 }, // 0x45 'E'
|
||
|
{ 253, 6, 10, 8, 1, -9 }, // 0x46 'F'
|
||
|
{ 261, 7, 10, 9, 1, -9 }, // 0x47 'G'
|
||
|
{ 270, 7, 10, 9, 1, -9 }, // 0x48 'H'
|
||
|
{ 279, 2, 10, 4, 1, -9 }, // 0x49 'I'
|
||
|
{ 282, 4, 10, 5, 0, -9 }, // 0x4A 'J'
|
||
|
{ 287, 7, 10, 9, 1, -9 }, // 0x4B 'K'
|
||
|
{ 296, 6, 10, 7, 1, -9 }, // 0x4C 'L'
|
||
|
{ 304, 11, 10, 13, 1, -9 }, // 0x4D 'M'
|
||
|
{ 318, 8, 10, 10, 1, -9 }, // 0x4E 'N'
|
||
|
{ 328, 8, 10, 9, 1, -9 }, // 0x4F 'O'
|
||
|
{ 338, 7, 10, 8, 1, -9 }, // 0x50 'P'
|
||
|
{ 347, 8, 13, 9, 1, -9 }, // 0x51 'Q'
|
||
|
{ 360, 7, 10, 9, 1, -9 }, // 0x52 'R'
|
||
|
{ 369, 6, 10, 8, 1, -9 }, // 0x53 'S'
|
||
|
{ 377, 8, 10, 8, 0, -9 }, // 0x54 'T'
|
||
|
{ 387, 7, 10, 9, 1, -9 }, // 0x55 'U'
|
||
|
{ 396, 9, 10, 9, 0, -9 }, // 0x56 'V'
|
||
|
{ 408, 13, 10, 13, 0, -9 }, // 0x57 'W'
|
||
|
{ 425, 9, 10, 9, 0, -9 }, // 0x58 'X'
|
||
|
{ 437, 8, 10, 8, 0, -9 }, // 0x59 'Y'
|
||
|
{ 447, 6, 10, 8, 1, -9 }, // 0x5A 'Z'
|
||
|
{ 455, 3, 13, 5, 1, -10 }, // 0x5B '['
|
||
|
{ 460, 7, 10, 7, 0, -9 }, // 0x5C '\'
|
||
|
{ 469, 4, 13, 5, 0, -10 }, // 0x5D ']'
|
||
|
{ 476, 6, 3, 6, 0, -8 }, // 0x5E '^'
|
||
|
{ 479, 6, 1, 6, 0, 1 }, // 0x5F '_'
|
||
|
{ 480, 4, 3, 5, 0, -9 }, // 0x60 '`'
|
||
|
{ 482, 6, 7, 8, 1, -6 }, // 0x61 'a'
|
||
|
{ 488, 6, 10, 8, 1, -9 }, // 0x62 'b'
|
||
|
{ 496, 6, 7, 7, 1, -6 }, // 0x63 'c'
|
||
|
{ 502, 6, 10, 8, 1, -9 }, // 0x64 'd'
|
||
|
{ 510, 6, 7, 8, 1, -6 }, // 0x65 'e'
|
||
|
{ 516, 6, 10, 6, 0, -9 }, // 0x66 'f'
|
||
|
{ 524, 8, 10, 8, 0, -6 }, // 0x67 'g'
|
||
|
{ 534, 6, 10, 8, 1, -9 }, // 0x68 'h'
|
||
|
{ 542, 2, 10, 4, 1, -9 }, // 0x69 'i'
|
||
|
{ 545, 3, 13, 4, 0, -9 }, // 0x6A 'j'
|
||
|
{ 550, 6, 10, 7, 1, -9 }, // 0x6B 'k'
|
||
|
{ 558, 3, 10, 4, 1, -9 }, // 0x6C 'l'
|
||
|
{ 562, 10, 7, 12, 1, -6 }, // 0x6D 'm'
|
||
|
{ 571, 6, 7, 8, 1, -6 }, // 0x6E 'n'
|
||
|
{ 577, 6, 7, 8, 1, -6 }, // 0x6F 'o'
|
||
|
{ 583, 7, 10, 8, 1, -6 }, // 0x70 'p'
|
||
|
{ 592, 6, 10, 8, 1, -6 }, // 0x71 'q'
|
||
|
{ 600, 5, 7, 6, 1, -6 }, // 0x72 'r'
|
||
|
{ 605, 6, 7, 7, 1, -6 }, // 0x73 's'
|
||
|
{ 611, 5, 9, 6, 0, -8 }, // 0x74 't'
|
||
|
{ 617, 6, 7, 8, 1, -6 }, // 0x75 'u'
|
||
|
{ 623, 7, 7, 8, 0, -6 }, // 0x76 'v'
|
||
|
{ 630, 11, 7, 12, 0, -6 }, // 0x77 'w'
|
||
|
{ 640, 7, 7, 8, 0, -6 }, // 0x78 'x'
|
||
|
{ 647, 7, 10, 8, 0, -6 }, // 0x79 'y'
|
||
|
{ 656, 6, 7, 7, 1, -6 }, // 0x7A 'z'
|
||
|
{ 662, 3, 13, 5, 1, -10 }, // 0x7B '{'
|
||
|
{ 667, 1, 13, 4, 1, -10 }, // 0x7C '|'
|
||
|
{ 669, 4, 13, 5, 0, -10 }, // 0x7D '}'
|
||
|
{ 676, 5, 2, 7, 1, -4 } }; // 0x7E '~'
|
||
|
|
||
|
const GFXfont Exo2_SemiBold_13pt7b = {
|
||
|
(uint8_t *)Exo2_SemiBold_13pt7bBitmaps,
|
||
|
(GFXglyph *)Exo2_SemiBold_13pt7bGlyphs,
|
||
|
0x20, 0x7E, 13 };//B
|
||
|
|
||
|
// Approx. 1350 bytes
|