124 lines
6.5 KiB
C
124 lines
6.5 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t roboto_6pt7bBitmaps[] = {
|
|
0x00, 0xF8, 0xC0, 0x57, 0x6F, 0x60, 0x46, 0x96, 0x1E, 0x40, 0xC7, 0x88,
|
|
0xF7, 0x80, 0x6A, 0x4B, 0x70, 0x80, 0x5A, 0xA5, 0xA5, 0x5A, 0x5F, 0x80,
|
|
0x4F, 0x44, 0xC0, 0xC0, 0x80, 0x29, 0x48, 0x69, 0x9A, 0x60, 0xF8, 0x6A,
|
|
0x24, 0xF0, 0x75, 0x9E, 0x26, 0xAF, 0x20, 0xF3, 0x1C, 0x68, 0xE9, 0x60,
|
|
0xF2, 0x24, 0x40, 0x6A, 0x69, 0x60, 0x76, 0xB6, 0x90, 0x98, 0x39, 0x80,
|
|
0xF0, 0x8F, 0x00, 0xE5, 0x24, 0x3B, 0x1B, 0x75, 0xB5, 0x23, 0x00, 0x26,
|
|
0x57, 0x90, 0xF7, 0x5E, 0x79, 0x89, 0x70, 0xD6, 0xDC, 0xF3, 0x4E, 0xF3,
|
|
0x48, 0x78, 0x8B, 0x70, 0xB7, 0xDA, 0xF8, 0x24, 0x9E, 0xBA, 0x6A, 0x92,
|
|
0x4E, 0x9C, 0xEB, 0xDA, 0x80, 0xB7, 0xDA, 0x79, 0x99, 0x70, 0xF6, 0xE8,
|
|
0x79, 0x99, 0x53, 0xF7, 0xEA, 0x78, 0x61, 0xF0, 0xF4, 0x44, 0x40, 0x99,
|
|
0x99, 0x70, 0x99, 0x66, 0x20, 0x96, 0xDB, 0x96, 0x48, 0x96, 0x26, 0x90,
|
|
0x96, 0x64, 0x40, 0xF2, 0x44, 0xF0, 0xEA, 0xAC, 0x91, 0x26, 0xFE, 0x5A,
|
|
0x80, 0xE0, 0xC0, 0x77, 0xB0, 0x8E, 0x99, 0xE0, 0x76, 0x30, 0x2E, 0xD6,
|
|
0x77, 0x30, 0x7A, 0x80, 0x76, 0xBE, 0x9E, 0xDA, 0xF8, 0xFE, 0x8A, 0xCC,
|
|
0xB0, 0xF8, 0xEA, 0xDA, 0x69, 0xF6, 0xD0, 0x69, 0x96, 0xE9, 0x9E, 0x80,
|
|
0x76, 0xB2, 0xEA, 0x71, 0xF0, 0xBA, 0x40, 0xB6, 0xB0, 0xB7, 0x20, 0xAD,
|
|
0x74, 0xA0, 0xA9, 0x50, 0xB7, 0x25, 0x00, 0xE5, 0x70, 0x59, 0x50, 0xFC,
|
|
0xA5, 0xA0, 0x5B };
|
|
|
|
const GFXglyph roboto_6pt7bGlyphs[] = {
|
|
{ 0, 1, 1, 2, 0, 0 }, // 0x20 ' '
|
|
{ 1, 1, 5, 2, 0, -4 }, // 0x21 '!'
|
|
{ 2, 2, 1, 2, 0, -4 }, // 0x22 '"'
|
|
{ 3, 4, 5, 4, 0, -4 }, // 0x23 '#'
|
|
{ 6, 4, 7, 4, 0, -5 }, // 0x24 '$'
|
|
{ 10, 5, 5, 5, 0, -4 }, // 0x25 '%'
|
|
{ 14, 4, 5, 4, 0, -4 }, // 0x26 '&'
|
|
{ 17, 1, 1, 1, 0, -4 }, // 0x27 '''
|
|
{ 18, 2, 8, 2, 0, -5 }, // 0x28 '('
|
|
{ 20, 2, 8, 2, 0, -5 }, // 0x29 ')'
|
|
{ 22, 3, 3, 3, 0, -4 }, // 0x2A '*'
|
|
{ 24, 4, 4, 4, 0, -3 }, // 0x2B '+'
|
|
{ 26, 1, 2, 1, 0, 0 }, // 0x2C ','
|
|
{ 27, 2, 1, 2, 0, -2 }, // 0x2D '-'
|
|
{ 28, 1, 1, 2, 0, 0 }, // 0x2E '.'
|
|
{ 29, 3, 5, 3, 0, -4 }, // 0x2F '/'
|
|
{ 31, 4, 5, 4, 0, -4 }, // 0x30 '0'
|
|
{ 34, 1, 5, 4, 1, -4 }, // 0x31 '1'
|
|
{ 35, 4, 5, 4, 0, -4 }, // 0x32 '2'
|
|
{ 38, 3, 5, 4, 0, -4 }, // 0x33 '3'
|
|
{ 40, 4, 5, 4, 0, -4 }, // 0x34 '4'
|
|
{ 43, 3, 5, 4, 1, -4 }, // 0x35 '5'
|
|
{ 45, 4, 5, 4, 0, -4 }, // 0x36 '6'
|
|
{ 48, 4, 5, 4, 0, -4 }, // 0x37 '7'
|
|
{ 51, 4, 5, 4, 0, -4 }, // 0x38 '8'
|
|
{ 54, 3, 5, 4, 0, -4 }, // 0x39 '9'
|
|
{ 56, 1, 4, 2, 0, -3 }, // 0x3A ':'
|
|
{ 57, 1, 5, 1, 0, -3 }, // 0x3B ';'
|
|
{ 58, 3, 3, 4, 0, -3 }, // 0x3C '<'
|
|
{ 60, 2, 2, 4, 1, -2 }, // 0x3D '='
|
|
{ 61, 3, 3, 4, 0, -3 }, // 0x3E '>'
|
|
{ 63, 3, 5, 3, 0, -4 }, // 0x3F '?'
|
|
{ 65, 6, 7, 6, 0, -4 }, // 0x40 '@'
|
|
{ 71, 4, 5, 5, 0, -4 }, // 0x41 'A'
|
|
{ 74, 3, 5, 4, 1, -4 }, // 0x42 'B'
|
|
{ 76, 4, 5, 5, 0, -4 }, // 0x43 'C'
|
|
{ 79, 3, 5, 5, 1, -4 }, // 0x44 'D'
|
|
{ 81, 3, 5, 4, 1, -4 }, // 0x45 'E'
|
|
{ 83, 3, 5, 4, 1, -4 }, // 0x46 'F'
|
|
{ 85, 4, 5, 5, 0, -4 }, // 0x47 'G'
|
|
{ 88, 3, 5, 5, 1, -4 }, // 0x48 'H'
|
|
{ 90, 1, 5, 2, 0, -4 }, // 0x49 'I'
|
|
{ 91, 3, 5, 4, 0, -4 }, // 0x4A 'J'
|
|
{ 93, 3, 5, 4, 1, -4 }, // 0x4B 'K'
|
|
{ 95, 3, 5, 4, 1, -4 }, // 0x4C 'L'
|
|
{ 97, 5, 5, 6, 1, -4 }, // 0x4D 'M'
|
|
{ 101, 3, 5, 5, 1, -4 }, // 0x4E 'N'
|
|
{ 103, 4, 5, 5, 0, -4 }, // 0x4F 'O'
|
|
{ 106, 3, 5, 4, 1, -4 }, // 0x50 'P'
|
|
{ 108, 4, 6, 5, 0, -4 }, // 0x51 'Q'
|
|
{ 111, 3, 5, 4, 1, -4 }, // 0x52 'R'
|
|
{ 113, 4, 5, 4, 0, -4 }, // 0x53 'S'
|
|
{ 116, 4, 5, 4, 0, -4 }, // 0x54 'T'
|
|
{ 119, 4, 5, 5, 0, -4 }, // 0x55 'U'
|
|
{ 122, 4, 5, 4, 0, -4 }, // 0x56 'V'
|
|
{ 125, 6, 5, 6, 0, -4 }, // 0x57 'W'
|
|
{ 129, 4, 5, 4, 0, -4 }, // 0x58 'X'
|
|
{ 132, 4, 5, 4, 0, -4 }, // 0x59 'Y'
|
|
{ 135, 4, 5, 4, 0, -4 }, // 0x5A 'Z'
|
|
{ 138, 2, 7, 2, 0, -5 }, // 0x5B '['
|
|
{ 140, 3, 5, 3, 0, -4 }, // 0x5C '\'
|
|
{ 142, 1, 7, 2, 0, -5 }, // 0x5D ']'
|
|
{ 143, 3, 3, 3, 0, -4 }, // 0x5E '^'
|
|
{ 145, 3, 1, 3, 0, 1 }, // 0x5F '_'
|
|
{ 146, 2, 1, 2, 0, -4 }, // 0x60 '`'
|
|
{ 147, 3, 4, 4, 0, -3 }, // 0x61 'a'
|
|
{ 149, 4, 5, 4, 0, -4 }, // 0x62 'b'
|
|
{ 152, 3, 4, 4, 0, -3 }, // 0x63 'c'
|
|
{ 154, 3, 5, 4, 0, -4 }, // 0x64 'd'
|
|
{ 156, 3, 4, 4, 0, -3 }, // 0x65 'e'
|
|
{ 158, 2, 5, 2, 0, -4 }, // 0x66 'f'
|
|
{ 160, 3, 5, 4, 0, -3 }, // 0x67 'g'
|
|
{ 162, 3, 5, 4, 0, -4 }, // 0x68 'h'
|
|
{ 164, 1, 5, 2, 0, -4 }, // 0x69 'i'
|
|
{ 165, 1, 7, 2, 0, -4 }, // 0x6A 'j'
|
|
{ 166, 4, 5, 4, 0, -4 }, // 0x6B 'k'
|
|
{ 169, 1, 5, 2, 0, -4 }, // 0x6C 'l'
|
|
{ 170, 6, 4, 6, 0, -3 }, // 0x6D 'm'
|
|
{ 173, 3, 4, 4, 0, -3 }, // 0x6E 'n'
|
|
{ 175, 4, 4, 4, 0, -3 }, // 0x6F 'o'
|
|
{ 177, 4, 5, 4, 0, -3 }, // 0x70 'p'
|
|
{ 180, 3, 5, 4, 0, -3 }, // 0x71 'q'
|
|
{ 182, 2, 4, 2, 0, -3 }, // 0x72 'r'
|
|
{ 183, 3, 4, 4, 0, -3 }, // 0x73 's'
|
|
{ 185, 2, 5, 2, 0, -4 }, // 0x74 't'
|
|
{ 187, 3, 4, 4, 0, -3 }, // 0x75 'u'
|
|
{ 189, 3, 4, 3, 0, -3 }, // 0x76 'v'
|
|
{ 191, 5, 4, 5, 0, -3 }, // 0x77 'w'
|
|
{ 194, 3, 4, 3, 0, -3 }, // 0x78 'x'
|
|
{ 196, 3, 6, 3, 0, -3 }, // 0x79 'y'
|
|
{ 199, 3, 4, 3, 0, -3 }, // 0x7A 'z'
|
|
{ 201, 2, 6, 2, 0, -4 }, // 0x7B '{'
|
|
{ 203, 1, 6, 2, 0, -4 }, // 0x7C '|'
|
|
{ 204, 2, 6, 2, 0, -4 }, // 0x7D '}'
|
|
{ 206, 4, 2, 5, 0, -2 } }; // 0x7E '~'
|
|
|
|
const GFXfont roboto_6pt7b = {
|
|
(uint8_t *)roboto_6pt7bBitmaps,
|
|
(GFXglyph *)roboto_6pt7bGlyphs,
|
|
0x20, 0x7E, 6 };//B
|
|
|
|
// Approx. 879 bytes
|