141 lines
7.8 KiB
C
141 lines
7.8 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t dejavusans_9pt7bBitmaps[] = {
|
|
0x00, 0xFA, 0xB6, 0x80, 0x24, 0x49, 0xF9, 0x4F, 0xC9, 0x12, 0x00, 0x23,
|
|
0xE9, 0xC3, 0x97, 0xC4, 0xE4, 0xA4, 0xA8, 0xFF, 0x15, 0x25, 0x27, 0x30,
|
|
0x91, 0x05, 0x98, 0xB9, 0x9C, 0x80, 0xE0, 0x6A, 0xAA, 0x40, 0xA5, 0x56,
|
|
0x80, 0xAB, 0x9D, 0x50, 0x10, 0x20, 0x47, 0xF1, 0x02, 0x04, 0x00, 0xC0,
|
|
0xE0, 0x80, 0x25, 0x24, 0xA4, 0x74, 0x63, 0x18, 0xC5, 0xC0, 0xE1, 0x08,
|
|
0x42, 0x13, 0xE0, 0x74, 0x42, 0x22, 0x23, 0xE0, 0x74, 0x42, 0xE0, 0xC5,
|
|
0xC0, 0x11, 0x95, 0x2F, 0x88, 0x40, 0xF4, 0x3C, 0x10, 0x87, 0xC0, 0x7E,
|
|
0x21, 0xE8, 0xC5, 0xC0, 0xF8, 0x44, 0x22, 0x11, 0x00, 0x74, 0x62, 0xE8,
|
|
0xC5, 0xC0, 0x74, 0x62, 0xF0, 0x8F, 0xC0, 0x88, 0x8C, 0x04, 0xEC, 0x0E,
|
|
0x04, 0xFC, 0x0F, 0xC0, 0x81, 0xC0, 0xDC, 0x80, 0xF1, 0x24, 0x40, 0x40,
|
|
0x3E, 0x30, 0xB0, 0x33, 0x99, 0x5C, 0xFB, 0x00, 0xC4, 0x3C, 0x00, 0x10,
|
|
0x50, 0xA2, 0x27, 0xC8, 0xA0, 0x80, 0xF4, 0x63, 0xE8, 0xC7, 0xC0, 0x39,
|
|
0x18, 0x20, 0x81, 0x13, 0x80, 0xFA, 0x38, 0x61, 0x86, 0x3F, 0x80, 0xFC,
|
|
0x21, 0xF8, 0x43, 0xE0, 0xF8, 0x8F, 0x88, 0x80, 0x7B, 0x18, 0x27, 0x87,
|
|
0x17, 0x80, 0x86, 0x18, 0x7F, 0x86, 0x18, 0x40, 0xFE, 0x24, 0x92, 0x49,
|
|
0xC0, 0x8A, 0x4A, 0x30, 0xA2, 0x48, 0x80, 0x84, 0x21, 0x08, 0x43, 0xE0,
|
|
0x83, 0x8F, 0x1D, 0x5A, 0xB2, 0x60, 0x80, 0x87, 0x1A, 0x69, 0x96, 0x38,
|
|
0x40, 0x7B, 0x38, 0x61, 0x87, 0x37, 0x80, 0xF4, 0x63, 0xE8, 0x42, 0x00,
|
|
0x7B, 0x38, 0x61, 0x87, 0x27, 0x02, 0xF2, 0x28, 0xBC, 0x92, 0x28, 0x40,
|
|
0x74, 0x60, 0xE0, 0xC5, 0xC0, 0xF9, 0x08, 0x42, 0x10, 0x80, 0x86, 0x18,
|
|
0x61, 0x86, 0x17, 0x80, 0x83, 0x05, 0x12, 0x22, 0x85, 0x04, 0x00, 0x88,
|
|
0xC4, 0x55, 0x4A, 0xA5, 0x51, 0x10, 0x88, 0xCD, 0x23, 0x0C, 0x31, 0x2C,
|
|
0xC0, 0x82, 0x88, 0xA0, 0x81, 0x02, 0x04, 0x00, 0xFC, 0x21, 0x0C, 0x21,
|
|
0x0F, 0xC0, 0xEA, 0xAA, 0xC0, 0x91, 0x24, 0x89, 0xD5, 0x55, 0xC0, 0x31,
|
|
0x28, 0x40, 0xF8, 0x90, 0x70, 0x5F, 0x1F, 0x80, 0x84, 0x21, 0xE8, 0xC6,
|
|
0x3E, 0x78, 0x88, 0x70, 0x08, 0x42, 0xF8, 0xC6, 0x2F, 0x74, 0x7F, 0x07,
|
|
0x80, 0x74, 0x4E, 0x44, 0x44, 0x7C, 0x63, 0x17, 0x85, 0xC0, 0x84, 0x21,
|
|
0xE8, 0xC6, 0x31, 0x9F, 0x41, 0x55, 0x70, 0x84, 0x21, 0x2A, 0x62, 0x92,
|
|
0xFF, 0xF7, 0x44, 0x62, 0x31, 0x18, 0x88, 0xF4, 0x63, 0x18, 0x80, 0x74,
|
|
0x63, 0x17, 0x00, 0xF4, 0x63, 0x1F, 0x42, 0x00, 0x7C, 0x63, 0x17, 0x84,
|
|
0x20, 0xF2, 0x48, 0xF8, 0x71, 0xF0, 0x44, 0xF4, 0x44, 0x70, 0x8C, 0x63,
|
|
0x17, 0x80, 0x8C, 0x54, 0xA2, 0x00, 0x93, 0x56, 0xAA, 0x24, 0x40, 0x8A,
|
|
0x88, 0xA8, 0x80, 0x45, 0x12, 0x8A, 0x10, 0x46, 0x00, 0xF1, 0x24, 0xF0,
|
|
0x32, 0x22, 0xC2, 0x22, 0x30, 0xFF, 0xC0, 0xC4, 0x44, 0x34, 0x44, 0xC0,
|
|
0x66, 0x60 };
|
|
|
|
const GFXglyph dejavusans_9pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 3, 0, 0 }, // 0x20 ' '
|
|
{ 1, 1, 7, 4, 2, -6 }, // 0x21 '!'
|
|
{ 2, 3, 3, 5, 1, -6 }, // 0x22 '"'
|
|
{ 4, 7, 7, 8, 1, -6 }, // 0x23 '#'
|
|
{ 11, 5, 8, 6, 1, -6 }, // 0x24 '$'
|
|
{ 16, 8, 7, 10, 1, -6 }, // 0x25 '%'
|
|
{ 23, 7, 7, 9, 1, -6 }, // 0x26 '&'
|
|
{ 30, 1, 3, 3, 1, -6 }, // 0x27 '''
|
|
{ 31, 2, 9, 4, 1, -7 }, // 0x28 '('
|
|
{ 34, 2, 9, 4, 1, -7 }, // 0x29 ')'
|
|
{ 37, 5, 4, 5, 0, -6 }, // 0x2A '*'
|
|
{ 40, 7, 7, 8, 1, -6 }, // 0x2B '+'
|
|
{ 47, 1, 2, 3, 1, 0 }, // 0x2C ','
|
|
{ 48, 3, 1, 4, 1, -2 }, // 0x2D '-'
|
|
{ 49, 1, 1, 3, 1, 0 }, // 0x2E '.'
|
|
{ 50, 3, 8, 3, 0, -6 }, // 0x2F '/'
|
|
{ 53, 5, 7, 6, 1, -6 }, // 0x30 '0'
|
|
{ 58, 5, 7, 6, 1, -6 }, // 0x31 '1'
|
|
{ 63, 5, 7, 6, 1, -6 }, // 0x32 '2'
|
|
{ 68, 5, 7, 6, 1, -6 }, // 0x33 '3'
|
|
{ 73, 5, 7, 6, 1, -6 }, // 0x34 '4'
|
|
{ 78, 5, 7, 6, 1, -6 }, // 0x35 '5'
|
|
{ 83, 5, 7, 6, 1, -6 }, // 0x36 '6'
|
|
{ 88, 5, 7, 6, 1, -6 }, // 0x37 '7'
|
|
{ 93, 5, 7, 6, 1, -6 }, // 0x38 '8'
|
|
{ 98, 5, 7, 6, 1, -6 }, // 0x39 '9'
|
|
{ 103, 1, 5, 3, 1, -4 }, // 0x3A ':'
|
|
{ 104, 1, 6, 3, 1, -4 }, // 0x3B ';'
|
|
{ 105, 6, 5, 8, 1, -5 }, // 0x3C '<'
|
|
{ 109, 6, 3, 8, 1, -4 }, // 0x3D '='
|
|
{ 112, 6, 5, 8, 1, -5 }, // 0x3E '>'
|
|
{ 116, 4, 7, 5, 1, -6 }, // 0x3F '?'
|
|
{ 120, 9, 9, 11, 1, -6 }, // 0x40 '@'
|
|
{ 131, 7, 7, 7, 0, -6 }, // 0x41 'A'
|
|
{ 138, 5, 7, 7, 1, -6 }, // 0x42 'B'
|
|
{ 143, 6, 7, 8, 1, -6 }, // 0x43 'C'
|
|
{ 149, 6, 7, 8, 1, -6 }, // 0x44 'D'
|
|
{ 155, 5, 7, 7, 1, -6 }, // 0x45 'E'
|
|
{ 160, 4, 7, 6, 1, -6 }, // 0x46 'F'
|
|
{ 164, 6, 7, 8, 1, -6 }, // 0x47 'G'
|
|
{ 170, 6, 7, 8, 1, -6 }, // 0x48 'H'
|
|
{ 176, 1, 7, 3, 1, -6 }, // 0x49 'I'
|
|
{ 177, 3, 9, 3, -1, -6 }, // 0x4A 'J'
|
|
{ 181, 6, 7, 7, 1, -6 }, // 0x4B 'K'
|
|
{ 187, 5, 7, 6, 1, -6 }, // 0x4C 'L'
|
|
{ 192, 7, 7, 9, 1, -6 }, // 0x4D 'M'
|
|
{ 199, 6, 7, 8, 1, -6 }, // 0x4E 'N'
|
|
{ 205, 6, 7, 8, 1, -6 }, // 0x4F 'O'
|
|
{ 211, 5, 7, 7, 1, -6 }, // 0x50 'P'
|
|
{ 216, 6, 8, 8, 1, -6 }, // 0x51 'Q'
|
|
{ 222, 6, 7, 7, 1, -6 }, // 0x52 'R'
|
|
{ 228, 5, 7, 7, 1, -6 }, // 0x53 'S'
|
|
{ 233, 5, 7, 5, 0, -6 }, // 0x54 'T'
|
|
{ 238, 6, 7, 8, 1, -6 }, // 0x55 'U'
|
|
{ 244, 7, 7, 7, 0, -6 }, // 0x56 'V'
|
|
{ 251, 9, 7, 9, 0, -6 }, // 0x57 'W'
|
|
{ 259, 6, 7, 6, 0, -6 }, // 0x58 'X'
|
|
{ 265, 7, 7, 7, 0, -6 }, // 0x59 'Y'
|
|
{ 272, 6, 7, 6, 0, -6 }, // 0x5A 'Z'
|
|
{ 278, 2, 9, 4, 1, -7 }, // 0x5B '['
|
|
{ 281, 3, 8, 3, 0, -6 }, // 0x5C '\'
|
|
{ 284, 2, 9, 4, 1, -7 }, // 0x5D ']'
|
|
{ 287, 6, 3, 8, 1, -6 }, // 0x5E '^'
|
|
{ 290, 5, 1, 5, 0, 2 }, // 0x5F '_'
|
|
{ 291, 2, 2, 5, 1, -7 }, // 0x60 '`'
|
|
{ 292, 5, 5, 6, 1, -4 }, // 0x61 'a'
|
|
{ 296, 5, 8, 6, 1, -7 }, // 0x62 'b'
|
|
{ 301, 4, 5, 5, 1, -4 }, // 0x63 'c'
|
|
{ 304, 5, 8, 6, 1, -7 }, // 0x64 'd'
|
|
{ 309, 5, 5, 6, 1, -4 }, // 0x65 'e'
|
|
{ 313, 4, 8, 4, 1, -7 }, // 0x66 'f'
|
|
{ 317, 5, 7, 6, 1, -4 }, // 0x67 'g'
|
|
{ 322, 5, 8, 6, 1, -7 }, // 0x68 'h'
|
|
{ 327, 1, 8, 2, 1, -7 }, // 0x69 'i'
|
|
{ 328, 2, 10, 2, 0, -7 }, // 0x6A 'j'
|
|
{ 331, 5, 8, 5, 1, -7 }, // 0x6B 'k'
|
|
{ 336, 1, 8, 2, 1, -7 }, // 0x6C 'l'
|
|
{ 337, 9, 5, 10, 1, -4 }, // 0x6D 'm'
|
|
{ 343, 5, 5, 6, 1, -4 }, // 0x6E 'n'
|
|
{ 347, 5, 5, 6, 1, -4 }, // 0x6F 'o'
|
|
{ 351, 5, 7, 6, 1, -4 }, // 0x70 'p'
|
|
{ 356, 5, 7, 6, 1, -4 }, // 0x71 'q'
|
|
{ 361, 3, 5, 4, 1, -4 }, // 0x72 'r'
|
|
{ 363, 4, 5, 5, 1, -4 }, // 0x73 's'
|
|
{ 366, 4, 7, 4, 0, -6 }, // 0x74 't'
|
|
{ 370, 5, 5, 6, 1, -4 }, // 0x75 'u'
|
|
{ 374, 5, 5, 6, 1, -4 }, // 0x76 'v'
|
|
{ 378, 7, 5, 8, 1, -4 }, // 0x77 'w'
|
|
{ 383, 5, 5, 6, 1, -4 }, // 0x78 'x'
|
|
{ 387, 6, 7, 6, 0, -4 }, // 0x79 'y'
|
|
{ 393, 4, 5, 5, 1, -4 }, // 0x7A 'z'
|
|
{ 396, 4, 9, 6, 1, -7 }, // 0x7B '{'
|
|
{ 401, 1, 10, 3, 1, -7 }, // 0x7C '|'
|
|
{ 403, 4, 9, 6, 1, -7 }, // 0x7D '}'
|
|
{ 408, 6, 2, 8, 1, -3 } }; // 0x7E '~'
|
|
|
|
const GFXfont dejavusans_9pt7b = {
|
|
(uint8_t *)dejavusans_9pt7bBitmaps,
|
|
(GFXglyph *)dejavusans_9pt7bGlyphs,
|
|
0x20, 0x7E, 9 };//B
|
|
|
|
// Approx. 1082 bytes
|