174 lines
10 KiB
C
174 lines
10 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t permanentmarker_12pt7bBitmaps[] = {
|
|
0x00, 0x23, 0x76, 0x66, 0x60, 0xCC, 0x49, 0xBF, 0xB6, 0xDB, 0x65, 0x00,
|
|
0x09, 0x0D, 0x9F, 0xEF, 0xF3, 0x67, 0xFB, 0xD8, 0xD8, 0x6C, 0x00, 0x08,
|
|
0x10, 0x3B, 0xFF, 0x0F, 0x02, 0x1C, 0x70, 0x40, 0x63, 0xE6, 0xEC, 0xD8,
|
|
0x30, 0x6C, 0xDC, 0x9E, 0x9C, 0x0C, 0x78, 0xFE, 0xFF, 0x18, 0x18, 0x10,
|
|
0x4F, 0xED, 0x90, 0x04, 0x31, 0xCC, 0x71, 0x86, 0x38, 0xC3, 0x06, 0x18,
|
|
0x20, 0x08, 0x30, 0xC3, 0x0C, 0x30, 0xC3, 0x18, 0xE7, 0x18, 0xC0, 0x12,
|
|
0x34, 0x3C, 0xFF, 0xFC, 0x3C, 0x64, 0x10, 0x30, 0x67, 0xF7, 0x06, 0x0C,
|
|
0x00, 0x27, 0x66, 0xFE, 0x80, 0xF0, 0x04, 0x31, 0x8C, 0x31, 0x8C, 0x20,
|
|
0x80, 0x04, 0x0E, 0x1E, 0x3E, 0x73, 0x63, 0xE3, 0xC7, 0xFF, 0x7C, 0x46,
|
|
0x66, 0x76, 0x66, 0xCC, 0xFC, 0xFE, 0x0E, 0x3C, 0x78, 0xF0, 0xCF, 0xFF,
|
|
0xF8, 0xFF, 0xFF, 0xF1, 0xC7, 0xC1, 0xC3, 0xFE, 0xF0, 0x0A, 0x29, 0xB6,
|
|
0xFF, 0xF3, 0x0C, 0x30, 0xC0, 0x76, 0xFF, 0xFE, 0xE0, 0xF0, 0x18, 0x18,
|
|
0xF8, 0xF0, 0x38, 0xE6, 0x18, 0xFB, 0xFF, 0xFF, 0xF0, 0xFC, 0xFC, 0x04,
|
|
0x0C, 0x7F, 0x7E, 0x18, 0x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76, 0xE2, 0xC3, 0xFE, 0x7C, 0x1C, 0x7C,
|
|
0x9B, 0xFF, 0xCC, 0x10, 0x60, 0x0C, 0x0E, 0x3E, 0x73, 0xEB, 0xCF, 0xFE,
|
|
0xFE, 0x02, 0x18, 0x79, 0xF3, 0x67, 0xDE, 0x3E, 0x6F, 0x00, 0x0E, 0x7E,
|
|
0xE0, 0xF8, 0x08, 0x08, 0x78, 0x70, 0x1F, 0xFF, 0x58, 0x30, 0x30, 0x20,
|
|
0x20, 0x30, 0x05, 0x0F, 0x1E, 0x38, 0xDF, 0xBE, 0x70, 0x86, 0x3D, 0xF6,
|
|
0xF3, 0xCE, 0x10, 0x20, 0x2C, 0x4D, 0x99, 0xB7, 0x34, 0xED, 0xBF, 0xBE,
|
|
0xE3, 0x98, 0x42, 0xCD, 0xF9, 0xC7, 0x9F, 0x33, 0x46, 0x8B, 0x7F, 0xBC,
|
|
0x63, 0x8C, 0x20, 0x3E, 0x3F, 0x0E, 0x1C, 0x78, 0xE0, 0xDE, 0xFC, 0x40,
|
|
0x07, 0xC3, 0xF0, 0xC0, 0x60, 0x18, 0x0E, 0x0F, 0x01, 0xC0, 0x30, 0x0C,
|
|
0x07, 0x01, 0x80, 0x7E, 0x1F, 0x00, 0x11, 0x33, 0x26, 0x64, 0xCC, 0x0F,
|
|
0x87, 0xE0, 0x98, 0x06, 0x01, 0x80, 0xC0, 0x38, 0x07, 0x03, 0xC1, 0x80,
|
|
0x60, 0x18, 0xFC, 0x3F, 0x00, 0x77, 0xB8 };
|
|
|
|
const GFXglyph permanentmarker_12pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 5, 0, 0 }, // 0x20 ' '
|
|
{ 1, 4, 10, 3, 0, -9 }, // 0x21 '!'
|
|
{ 6, 6, 7, 6, 1, -9 }, // 0x22 '"'
|
|
{ 12, 9, 9, 9, 0, -8 }, // 0x23 '#'
|
|
{ 23, 7, 10, 6, 0, -9 }, // 0x24 '$'
|
|
{ 32, 8, 9, 8, 1, -8 }, // 0x25 '%'
|
|
{ 41, 8, 7, 8, 0, -6 }, // 0x26 '&'
|
|
{ 48, 3, 7, 3, 1, -9 }, // 0x27 '''
|
|
{ 51, 6, 13, 5, 0, -10 }, // 0x28 '('
|
|
{ 61, 6, 13, 5, -2, -10 }, // 0x29 ')'
|
|
{ 71, 8, 7, 9, 1, -9 }, // 0x2A '*'
|
|
{ 78, 7, 7, 8, 0, -6 }, // 0x2B '+'
|
|
{ 85, 4, 4, 3, -2, -1 }, // 0x2C ','
|
|
{ 87, 7, 2, 8, 0, -3 }, // 0x2D '-'
|
|
{ 89, 2, 2, 3, 0, -1 }, // 0x2E '.'
|
|
{ 90, 6, 9, 5, 0, -8 }, // 0x2F '/'
|
|
{ 97, 8, 10, 9, 0, -9 }, // 0x30 '0'
|
|
{ 107, 4, 10, 4, 0, -9 }, // 0x31 '1'
|
|
{ 112, 8, 9, 8, 1, -8 }, // 0x32 '2'
|
|
{ 121, 7, 9, 7, 0, -8 }, // 0x33 '3'
|
|
{ 129, 6, 10, 8, 1, -9 }, // 0x34 '4'
|
|
{ 137, 8, 9, 8, 1, -8 }, // 0x35 '5'
|
|
{ 146, 6, 9, 7, 0, -8 }, // 0x36 '6'
|
|
{ 153, 8, 9, 7, 0, -8 }, // 0x37 '7'
|
|
{ 162, 7, 10, 7, 1, -9 }, // 0x38 '8'
|
|
{ 171, 7, 10, 7, 0, -9 }, // 0x39 '9'
|
|
{ 180, 3, 6, 3, 0, -5 }, // 0x3A ':'
|
|
{ 183, 4, 8, 3, -1, -5 }, // 0x3B ';'
|
|
{ 187, 8, 6, 8, 0, -5 }, // 0x3C '<'
|
|
{ 193, 7, 5, 8, 0, -5 }, // 0x3D '='
|
|
{ 198, 9, 6, 8, -1, -5 }, // 0x3E '>'
|
|
{ 205, 7, 10, 7, 1, -9 }, // 0x3F '?'
|
|
{ 214, 9, 10, 10, 0, -9 }, // 0x40 '@'
|
|
{ 226, 9, 9, 9, 0, -8 }, // 0x41 'A'
|
|
{ 237, 9, 10, 9, 0, -9 }, // 0x42 'B'
|
|
{ 249, 8, 9, 8, 0, -8 }, // 0x43 'C'
|
|
{ 258, 7, 9, 8, 0, -8 }, // 0x44 'D'
|
|
{ 266, 8, 9, 8, 0, -8 }, // 0x45 'E'
|
|
{ 275, 9, 10, 7, 0, -9 }, // 0x46 'F'
|
|
{ 287, 11, 9, 10, 0, -8 }, // 0x47 'G'
|
|
{ 300, 9, 10, 9, 0, -9 }, // 0x48 'H'
|
|
{ 312, 8, 9, 7, 0, -8 }, // 0x49 'I'
|
|
{ 321, 10, 9, 9, 0, -8 }, // 0x4A 'J'
|
|
{ 333, 10, 9, 10, 0, -8 }, // 0x4B 'K'
|
|
{ 345, 8, 9, 8, 0, -8 }, // 0x4C 'L'
|
|
{ 354, 13, 10, 13, 0, -9 }, // 0x4D 'M'
|
|
{ 371, 9, 9, 9, 0, -8 }, // 0x4E 'N'
|
|
{ 382, 9, 10, 10, 0, -9 }, // 0x4F 'O'
|
|
{ 394, 9, 10, 8, 0, -9 }, // 0x50 'P'
|
|
{ 406, 9, 11, 10, 0, -9 }, // 0x51 'Q'
|
|
{ 419, 8, 11, 8, 0, -9 }, // 0x52 'R'
|
|
{ 430, 9, 10, 7, 0, -9 }, // 0x53 'S'
|
|
{ 442, 10, 9, 8, 0, -8 }, // 0x54 'T'
|
|
{ 454, 8, 9, 9, 1, -8 }, // 0x55 'U'
|
|
{ 463, 8, 9, 8, 1, -8 }, // 0x56 'V'
|
|
{ 472, 14, 10, 13, 0, -9 }, // 0x57 'W'
|
|
{ 490, 9, 9, 8, 0, -8 }, // 0x58 'X'
|
|
{ 501, 7, 10, 6, 1, -9 }, // 0x59 'Y'
|
|
{ 510, 9, 10, 9, 0, -8 }, // 0x5A 'Z'
|
|
{ 522, 9, 14, 5, 0, -11 }, // 0x5B '['
|
|
{ 538, 3, 10, 5, 1, -9 }, // 0x5C '\'
|
|
{ 542, 9, 14, 5, -4, -11 }, // 0x5D ']'
|
|
{ 558, 6, 8, 7, 0, -9 }, // 0x5E '^'
|
|
{ 564, 10, 2, 9, -1, -1 }, // 0x5F '_'
|
|
{ 567, 4, 4, 10, 4, -9 }, // 0x60 '`'
|
|
{ 569, 8, 8, 8, 0, -7 }, // 0x61 'a'
|
|
{ 577, 7, 8, 7, 0, -7 }, // 0x62 'b'
|
|
{ 584, 6, 8, 7, 0, -7 }, // 0x63 'c'
|
|
{ 590, 6, 8, 6, 0, -7 }, // 0x64 'd'
|
|
{ 596, 7, 8, 7, 0, -7 }, // 0x65 'e'
|
|
{ 603, 8, 8, 6, 0, -7 }, // 0x66 'f'
|
|
{ 611, 9, 8, 8, 0, -7 }, // 0x67 'g'
|
|
{ 620, 7, 8, 8, 0, -7 }, // 0x68 'h'
|
|
{ 627, 3, 8, 4, 1, -7 }, // 0x69 'i'
|
|
{ 630, 9, 8, 7, 0, -7 }, // 0x6A 'j'
|
|
{ 639, 9, 8, 8, 0, -7 }, // 0x6B 'k'
|
|
{ 648, 7, 8, 7, 0, -7 }, // 0x6C 'l'
|
|
{ 655, 11, 8, 11, 0, -7 }, // 0x6D 'm'
|
|
{ 666, 8, 8, 7, 0, -7 }, // 0x6E 'n'
|
|
{ 674, 8, 8, 8, 0, -7 }, // 0x6F 'o'
|
|
{ 682, 7, 8, 7, 0, -7 }, // 0x70 'p'
|
|
{ 689, 8, 9, 8, 0, -7 }, // 0x71 'q'
|
|
{ 698, 7, 9, 7, 0, -7 }, // 0x72 'r'
|
|
{ 706, 8, 8, 6, 0, -7 }, // 0x73 's'
|
|
{ 714, 8, 8, 6, 0, -7 }, // 0x74 't'
|
|
{ 722, 7, 8, 8, 1, -7 }, // 0x75 'u'
|
|
{ 729, 6, 8, 6, 1, -7 }, // 0x76 'v'
|
|
{ 735, 11, 8, 11, 0, -7 }, // 0x77 'w'
|
|
{ 746, 7, 8, 7, 0, -7 }, // 0x78 'x'
|
|
{ 753, 6, 8, 5, 1, -7 }, // 0x79 'y'
|
|
{ 759, 8, 9, 7, 0, -7 }, // 0x7A 'z'
|
|
{ 768, 10, 14, 6, 0, -11 }, // 0x7B '{'
|
|
{ 786, 4, 10, 4, 0, -9 }, // 0x7C '|'
|
|
{ 791, 10, 14, 6, -4, -11 }, // 0x7D '}'
|
|
{ 809, 7, 2, 8, 0, -4 } }; // 0x7E '~'
|
|
|
|
const GFXfont permanentmarker_12pt7b = {
|
|
(uint8_t *)permanentmarker_12pt7bBitmaps,
|
|
(GFXglyph *)permanentmarker_12pt7bGlyphs,
|
|
0x20, 0x7E, 12 };//B
|
|
|
|
// Approx. 1483 bytes
|