mch2022-talktopics/components/renze-graphics/fonts/font_roboto_8pt7b.c
2022-01-24 22:32:33 +01:00

134 lines
7.3 KiB
C

#include "../include/driver_framebuffer.h"
const uint8_t roboto_8pt7bBitmaps[] = {
0x00, 0xFA, 0xC0, 0x55, 0xFA, 0xFA, 0xA0, 0x23, 0x94, 0x93, 0x06, 0x2E,
0x20, 0x62, 0xA7, 0x04, 0x2D, 0x50, 0xC0, 0x71, 0x45, 0x18, 0x9A, 0x27,
0xC0, 0xC0, 0x6A, 0xAA, 0x40, 0x95, 0x55, 0x80, 0x4D, 0x6A, 0x21, 0x3E,
0x42, 0x00, 0xC0, 0xC0, 0x80, 0x24, 0xA4, 0xA4, 0x72, 0xA3, 0x18, 0xA9,
0xC0, 0x75, 0x54, 0x74, 0x84, 0x22, 0x21, 0xE0, 0x79, 0x12, 0x19, 0x70,
0x11, 0x94, 0xA9, 0x7C, 0x40, 0xF8, 0xE1, 0x19, 0xE0, 0x68, 0xE9, 0x9A,
0xE0, 0xF8, 0x84, 0x42, 0x11, 0x00, 0x72, 0x94, 0x4D, 0x45, 0xC0, 0x75,
0x99, 0x71, 0x60, 0x88, 0x40, 0xA0, 0x16, 0xC3, 0xE3, 0x80, 0x8D, 0xC0,
0x69, 0x12, 0x40, 0x60, 0x3C, 0x42, 0x5D, 0xA9, 0xA9, 0x9E, 0x40, 0x3C,
0x30, 0xC5, 0x12, 0x79, 0x28, 0x40, 0xE9, 0x9E, 0x99, 0xF0, 0x79, 0x88,
0x89, 0x70, 0xE9, 0x99, 0x99, 0xE0, 0xF8, 0x8E, 0x88, 0xF0, 0xF8, 0x8E,
0x88, 0x80, 0x79, 0x8B, 0x99, 0x70, 0x8C, 0x63, 0xF8, 0xC6, 0x20, 0xFE,
0x11, 0x11, 0x19, 0x70, 0x95, 0x31, 0x8A, 0x4A, 0x60, 0x88, 0x88, 0x88,
0xF0, 0x86, 0x3C, 0xF3, 0xD6, 0xDA, 0x40, 0xCE, 0x6B, 0x59, 0xC6, 0x20,
0x74, 0xA3, 0x18, 0xC9, 0xC0, 0xF4, 0xA7, 0xE8, 0x42, 0x00, 0x71, 0x28,
0xA1, 0x89, 0x27, 0x03, 0xF4, 0xA5, 0xEA, 0x4A, 0x60, 0x74, 0x70, 0x60,
0xC5, 0xC0, 0xF9, 0x08, 0x42, 0x10, 0x80, 0x99, 0x99, 0x99, 0xF0, 0x85,
0x24, 0x92, 0x30, 0xC3, 0x00, 0x89, 0x9A, 0x5A, 0x5A, 0x66, 0x66, 0x24,
0xCA, 0x8C, 0x43, 0x27, 0x20, 0x8A, 0x54, 0x62, 0x10, 0x80, 0xF8, 0x84,
0x44, 0x23, 0xE0, 0xFF, 0x88, 0x44, 0x42, 0x23, 0xD5, 0x57, 0x46, 0xB0,
0xF0, 0xD0, 0xE7, 0xDE, 0x88, 0xE9, 0x99, 0xE0, 0xE9, 0x89, 0xE0, 0x11,
0x79, 0x99, 0x70, 0xEA, 0xF8, 0xF0, 0x6B, 0xA4, 0x90, 0x79, 0x99, 0x71,
0x70, 0x93, 0xDB, 0x68, 0xBE, 0xBF, 0x80, 0x88, 0xAC, 0xCC, 0xB0, 0xFE,
0xFE, 0xDA, 0x69, 0xA4, 0xF6, 0xDA, 0x74, 0x63, 0x17, 0x00, 0xEA, 0x9A,
0xE8, 0x80, 0x79, 0x99, 0x71, 0x10, 0xEA, 0x80, 0xF1, 0xDE, 0x5D, 0x24,
0xC0, 0xB6, 0xDE, 0x9A, 0x66, 0x40, 0x93, 0x69, 0xB3, 0x64, 0x80, 0x96,
0x26, 0x90, 0x99, 0x66, 0x24, 0xC0, 0xF2, 0x24, 0xF0, 0x29, 0x28, 0x92,
0x20, 0xFF, 0x89, 0x22, 0x92, 0x80, 0xDD, 0x80 };
const GFXglyph roboto_8pt7bGlyphs[] = {
{ 0, 1, 1, 2, 0, 0 }, // 0x20 ' '
{ 1, 1, 7, 2, 1, -6 }, // 0x21 '!'
{ 2, 1, 2, 3, 1, -6 }, // 0x22 '"'
{ 3, 4, 7, 6, 1, -6 }, // 0x23 '#'
{ 7, 5, 9, 5, 0, -7 }, // 0x24 '$'
{ 13, 6, 7, 7, 0, -6 }, // 0x25 '%'
{ 19, 6, 7, 6, 0, -6 }, // 0x26 '&'
{ 25, 1, 2, 2, 0, -6 }, // 0x27 '''
{ 26, 2, 9, 3, 1, -6 }, // 0x28 '('
{ 29, 2, 9, 3, 0, -6 }, // 0x29 ')'
{ 32, 4, 4, 4, 0, -6 }, // 0x2A '*'
{ 34, 5, 5, 5, 0, -4 }, // 0x2B '+'
{ 38, 1, 2, 2, 0, 0 }, // 0x2C ','
{ 39, 2, 1, 2, 0, -2 }, // 0x2D '-'
{ 40, 1, 1, 2, 1, 0 }, // 0x2E '.'
{ 41, 3, 8, 4, 0, -6 }, // 0x2F '/'
{ 44, 5, 7, 5, 0, -6 }, // 0x30 '0'
{ 49, 2, 7, 5, 1, -6 }, // 0x31 '1'
{ 51, 5, 7, 5, 0, -6 }, // 0x32 '2'
{ 56, 4, 7, 5, 0, -6 }, // 0x33 '3'
{ 60, 5, 7, 5, 0, -6 }, // 0x34 '4'
{ 65, 4, 7, 5, 1, -6 }, // 0x35 '5'
{ 69, 4, 7, 5, 1, -6 }, // 0x36 '6'
{ 73, 5, 7, 5, 0, -6 }, // 0x37 '7'
{ 78, 5, 7, 5, 0, -6 }, // 0x38 '8'
{ 83, 4, 7, 5, 0, -6 }, // 0x39 '9'
{ 87, 1, 5, 2, 1, -4 }, // 0x3A ':'
{ 88, 2, 6, 2, 0, -4 }, // 0x3B ';'
{ 90, 4, 4, 5, 0, -4 }, // 0x3C '<'
{ 92, 3, 3, 5, 1, -3 }, // 0x3D '='
{ 94, 3, 4, 5, 1, -4 }, // 0x3E '>'
{ 96, 4, 7, 4, 0, -6 }, // 0x3F '?'
{ 100, 8, 8, 8, 0, -5 }, // 0x40 '@'
{ 108, 6, 7, 6, 0, -6 }, // 0x41 'A'
{ 114, 4, 7, 6, 1, -6 }, // 0x42 'B'
{ 118, 4, 7, 6, 1, -6 }, // 0x43 'C'
{ 122, 4, 7, 6, 1, -6 }, // 0x44 'D'
{ 126, 4, 7, 5, 1, -6 }, // 0x45 'E'
{ 130, 4, 7, 5, 1, -6 }, // 0x46 'F'
{ 134, 4, 7, 6, 1, -6 }, // 0x47 'G'
{ 138, 5, 7, 6, 1, -6 }, // 0x48 'H'
{ 143, 1, 7, 2, 1, -6 }, // 0x49 'I'
{ 144, 4, 7, 5, 0, -6 }, // 0x4A 'J'
{ 148, 5, 7, 6, 1, -6 }, // 0x4B 'K'
{ 153, 4, 7, 5, 1, -6 }, // 0x4C 'L'
{ 157, 6, 7, 8, 1, -6 }, // 0x4D 'M'
{ 163, 5, 7, 6, 0, -6 }, // 0x4E 'N'
{ 168, 5, 7, 6, 1, -6 }, // 0x4F 'O'
{ 173, 5, 7, 6, 1, -6 }, // 0x50 'P'
{ 178, 6, 8, 6, 0, -6 }, // 0x51 'Q'
{ 184, 5, 7, 6, 1, -6 }, // 0x52 'R'
{ 189, 5, 7, 5, 0, -6 }, // 0x53 'S'
{ 194, 5, 7, 5, 0, -6 }, // 0x54 'T'
{ 199, 4, 7, 6, 1, -6 }, // 0x55 'U'
{ 203, 6, 7, 6, 0, -6 }, // 0x56 'V'
{ 209, 8, 7, 8, 0, -6 }, // 0x57 'W'
{ 216, 5, 7, 6, 0, -6 }, // 0x58 'X'
{ 221, 5, 7, 5, 0, -6 }, // 0x59 'Y'
{ 226, 5, 7, 5, 0, -6 }, // 0x5A 'Z'
{ 231, 1, 8, 2, 1, -6 }, // 0x5B '['
{ 232, 4, 8, 4, 0, -6 }, // 0x5C '\'
{ 236, 2, 8, 2, 0, -6 }, // 0x5D ']'
{ 238, 4, 3, 4, 0, -6 }, // 0x5E '^'
{ 240, 4, 1, 4, 0, 1 }, // 0x5F '_'
{ 241, 2, 2, 3, 0, -7 }, // 0x60 '`'
{ 242, 3, 5, 5, 1, -4 }, // 0x61 'a'
{ 244, 4, 7, 5, 1, -6 }, // 0x62 'b'
{ 248, 4, 5, 5, 1, -4 }, // 0x63 'c'
{ 251, 4, 7, 5, 0, -6 }, // 0x64 'd'
{ 255, 4, 5, 5, 1, -4 }, // 0x65 'e'
{ 258, 3, 7, 3, 0, -6 }, // 0x66 'f'
{ 261, 4, 7, 5, 0, -4 }, // 0x67 'g'
{ 265, 3, 7, 5, 1, -6 }, // 0x68 'h'
{ 268, 1, 7, 2, 1, -6 }, // 0x69 'i'
{ 269, 1, 9, 2, 0, -6 }, // 0x6A 'j'
{ 271, 4, 7, 5, 1, -6 }, // 0x6B 'k'
{ 275, 1, 7, 2, 1, -6 }, // 0x6C 'l'
{ 276, 6, 5, 8, 1, -4 }, // 0x6D 'm'
{ 280, 3, 5, 5, 1, -4 }, // 0x6E 'n'
{ 282, 5, 5, 5, 0, -4 }, // 0x6F 'o'
{ 286, 4, 7, 5, 1, -4 }, // 0x70 'p'
{ 290, 4, 7, 5, 0, -4 }, // 0x71 'q'
{ 294, 2, 5, 3, 1, -4 }, // 0x72 'r'
{ 296, 3, 5, 5, 1, -4 }, // 0x73 's'
{ 298, 3, 6, 3, 0, -5 }, // 0x74 't'
{ 301, 3, 5, 5, 1, -4 }, // 0x75 'u'
{ 303, 4, 5, 4, 0, -4 }, // 0x76 'v'
{ 306, 7, 5, 7, 0, -4 }, // 0x77 'w'
{ 311, 4, 5, 4, 0, -4 }, // 0x78 'x'
{ 314, 4, 7, 4, 0, -4 }, // 0x79 'y'
{ 318, 4, 5, 4, 0, -4 }, // 0x7A 'z'
{ 321, 3, 9, 3, 0, -6 }, // 0x7B '{'
{ 325, 1, 8, 2, 1, -6 }, // 0x7C '|'
{ 326, 3, 9, 3, 0, -6 }, // 0x7D '}'
{ 330, 5, 2, 6, 1, -3 } }; // 0x7E '~'
const GFXfont roboto_8pt7b = {
(uint8_t *)roboto_8pt7bBitmaps,
(GFXglyph *)roboto_8pt7bGlyphs,
0x20, 0x7E, 8 };//B
// Approx. 1004 bytes