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

161 lines
9.2 KiB
C

#include "../include/driver_framebuffer.h"
const uint8_t ocra_12pt7bBitmaps[] = {
0x00, 0xAA, 0xA0, 0x30, 0xFE, 0xDD, 0x92, 0x20, 0x49, 0x2F, 0xD2, 0x4B,
0xF4, 0x92, 0x10, 0x23, 0xFE, 0x0F, 0xE0, 0xDF, 0x88, 0x10, 0xE1, 0xCC,
0x10, 0x61, 0x86, 0x18, 0x20, 0xCE, 0x1C, 0x7A, 0x28, 0x9C, 0x62, 0x58,
0xBD, 0xFF, 0x6C, 0x2B, 0x49, 0x26, 0x44, 0x99, 0x92, 0x4B, 0x50, 0x10,
0xA8, 0xE1, 0xC7, 0xCA, 0x84, 0x00, 0x10, 0x20, 0x47, 0xF1, 0x02, 0x00,
0xF1, 0x11, 0xFF, 0xFC, 0xFC, 0x00, 0x0C, 0x30, 0x41, 0x82, 0x0C, 0x30,
0x41, 0x80, 0xFE, 0x18, 0x61, 0x86, 0x18, 0x61, 0x87, 0xF0, 0xF0, 0x20,
0x40, 0x81, 0x02, 0x04, 0x89, 0x13, 0xFC, 0xFC, 0x10, 0x41, 0x07, 0xF8,
0x20, 0x83, 0xF0, 0xFC, 0x10, 0x41, 0x05, 0xF0, 0x41, 0x07, 0xF0, 0x82,
0x28, 0xA2, 0x8B, 0xF0, 0x82, 0x08, 0x7D, 0x04, 0x10, 0x41, 0xF0, 0x41,
0x87, 0xF0, 0xC2, 0x08, 0x20, 0x82, 0x0F, 0xE1, 0x87, 0xF0, 0xFE, 0x04,
0x08, 0x10, 0xC3, 0x04, 0x08, 0x10, 0x79, 0x24, 0x92, 0x4B, 0xF8, 0x61,
0x87, 0xF0, 0xFE, 0x18, 0x61, 0xFC, 0x10, 0x41, 0x04, 0x30, 0xFC, 0x0F,
0xC0, 0xEE, 0x00, 0xF1, 0x11, 0x0E, 0x71, 0x86, 0x03, 0x03, 0x81, 0x80,
0xFE, 0x03, 0xF8, 0x60, 0x70, 0x30, 0x31, 0xCE, 0x30, 0x00, 0x18, 0xD6,
0xE6, 0x31, 0x04, 0x00, 0x40, 0x7D, 0x04, 0x08, 0x17, 0x32, 0x64, 0xC9,
0x92, 0xF8, 0x10, 0x30, 0xE1, 0x42, 0x8D, 0x9F, 0x22, 0xC6, 0xF9, 0x0A,
0x1C, 0x38, 0x5F, 0xA1, 0x42, 0x85, 0xF0, 0x3E, 0x41, 0x82, 0x0C, 0x18,
0x10, 0x30, 0x20, 0x7C, 0xF1, 0x64, 0x93, 0x45, 0x14, 0xD2, 0x5B, 0xC0,
0xFE, 0x08, 0x20, 0x83, 0xC8, 0x20, 0x83, 0xF0, 0xFE, 0x08, 0x3E, 0x82,
0x08, 0x20, 0x80, 0x3C, 0x84, 0x30, 0x82, 0x09, 0xE1, 0x87, 0xE0, 0x86,
0x18, 0x61, 0xFE, 0x18, 0x61, 0x84, 0xFE, 0x20, 0x40, 0x81, 0x02, 0x04,
0x08, 0x10, 0xFC, 0x08, 0x42, 0x10, 0x86, 0x31, 0x8F, 0xC0, 0x86, 0x6B,
0x38, 0xC3, 0x0E, 0x26, 0x8E, 0x10, 0x82, 0x08, 0x20, 0x82, 0x08, 0x20,
0x83, 0xF0, 0xCF, 0x3B, 0x6D, 0x86, 0x18, 0x61, 0x86, 0x10, 0xC7, 0x1E,
0x69, 0xB6, 0xD9, 0x67, 0x8E, 0x30, 0x38, 0x51, 0xB2, 0x2C, 0x68, 0xD1,
0x36, 0x38, 0x20, 0xFA, 0x18, 0x61, 0x87, 0xE8, 0x20, 0x82, 0x00, 0x1C,
0xD6, 0x61, 0x86, 0xD9, 0xAE, 0xEC, 0xFA, 0x18, 0x7E, 0xB2, 0x48, 0xA3,
0x84, 0x7D, 0x8D, 0x81, 0x03, 0x03, 0x03, 0x06, 0xC6, 0xF8, 0xFE, 0xA4,
0x40, 0x81, 0x02, 0x04, 0x08, 0x10, 0x86, 0x18, 0x61, 0x86, 0x18, 0x61,
0x85, 0xF0, 0x86, 0x18, 0x61, 0x49, 0x27, 0x8C, 0x30, 0x00, 0x83, 0x06,
0x0C, 0x99, 0x32, 0x64, 0xC9, 0x93, 0xFC, 0x00, 0x8D, 0xB1, 0x43, 0x82,
0x0E, 0x36, 0x45, 0x8C, 0x83, 0x05, 0x11, 0x41, 0x02, 0x04, 0x08, 0x10,
0x20, 0xFE, 0x08, 0x30, 0x41, 0x82, 0x0C, 0x30, 0x41, 0xFC, 0xFE, 0x8A,
0x28, 0xA2, 0x8A, 0x28, 0xA3, 0xF0, 0x00, 0x81, 0x81, 0x03, 0x02, 0x02,
0x06, 0x04, 0x0C, 0xFC, 0x51, 0x45, 0x14, 0x51, 0x45, 0x17, 0xF0, 0x10,
0x70, 0xE3, 0x64, 0x58, 0xC0, 0xFE, 0x07, 0x1C, 0x70, 0x80, 0x78, 0x10,
0x7F, 0x86, 0x37, 0xC0, 0x82, 0x08, 0x3E, 0xC6, 0x18, 0x61, 0xC7, 0xE0,
0x7F, 0x08, 0x20, 0x83, 0x03, 0xC0, 0x04, 0x10, 0x5F, 0x8E, 0x18, 0x61,
0x8D, 0xD0, 0x7A, 0x18, 0x7F, 0x82, 0x07, 0xC0, 0x3A, 0x11, 0xE4, 0x21,
0x08, 0x42, 0x00, 0x7E, 0x38, 0x61, 0x86, 0x37, 0xC1, 0x07, 0xE0, 0x82,
0x08, 0x2F, 0xC6, 0x18, 0x61, 0x86, 0x10, 0x60, 0x01, 0xC2, 0x10, 0x84,
0x27, 0xC0, 0x18, 0x00, 0x70, 0x84, 0x21, 0x08, 0x43, 0x97, 0x80, 0x82,
0x08, 0x22, 0x9B, 0x8E, 0x2C, 0x9A, 0x10, 0xE1, 0x08, 0x42, 0x10, 0x84,
0x27, 0xC0, 0xFF, 0xB6, 0x4C, 0x99, 0x32, 0x64, 0x80, 0xBF, 0x18, 0x61,
0x86, 0x18, 0x40, 0x7A, 0x18, 0x61, 0x86, 0x17, 0x80, 0xFB, 0x38, 0x61,
0x87, 0x3F, 0x20, 0x82, 0x00, 0x7E, 0x38, 0x61, 0x86, 0x37, 0xC1, 0x04,
0x10, 0xBF, 0x18, 0x20, 0x82, 0x08, 0x00, 0x7C, 0x81, 0xC1, 0xE0, 0x60,
0xDF, 0x00, 0x41, 0x0F, 0x90, 0x41, 0x04, 0x13, 0x38, 0x86, 0x18, 0x61,
0x86, 0x3F, 0x40, 0x86, 0x18, 0x52, 0x48, 0xC3, 0x00, 0x83, 0x06, 0x4C,
0x99, 0x3F, 0xDB, 0x00, 0x46, 0xD8, 0xE0, 0x82, 0x8C, 0xB1, 0x80, 0x86,
0x18, 0x52, 0x49, 0xE3, 0x0C, 0x23, 0x80, 0x7E, 0x08, 0x20, 0x83, 0x0C,
0x3F, 0x80, 0x1E, 0x20, 0x40, 0x81, 0x1E, 0x04, 0x08, 0x10, 0x3C, 0xF7,
0x80, 0xF0, 0x41, 0x04, 0x10, 0x71, 0x04, 0x11, 0xC0, 0xF3, 0x26, 0x4C,
0x60 };
const GFXglyph ocra_12pt7bGlyphs[] = {
{ 0, 1, 1, 10, 0, 0 }, // 0x20 ' '
{ 1, 2, 10, 10, 4, -9 }, // 0x21 '!'
{ 4, 7, 4, 10, 1, -9 }, // 0x22 '"'
{ 8, 6, 8, 10, 1, -9 }, // 0x23 '#'
{ 14, 7, 9, 10, 1, -9 }, // 0x24 '$'
{ 22, 7, 10, 10, 1, -9 }, // 0x25 '%'
{ 31, 6, 8, 10, 1, -7 }, // 0x26 '&'
{ 37, 3, 5, 10, 3, -9 }, // 0x27 '''
{ 39, 3, 10, 10, 3, -9 }, // 0x28 '('
{ 43, 3, 10, 10, 3, -9 }, // 0x29 ')'
{ 47, 7, 7, 10, 1, -7 }, // 0x2A '*'
{ 54, 7, 6, 10, 1, -7 }, // 0x2B '+'
{ 60, 4, 4, 10, 2, -3 }, // 0x2C ','
{ 62, 7, 2, 10, 1, -5 }, // 0x2D '-'
{ 64, 3, 2, 10, 3, -3 }, // 0x2E '.'
{ 65, 7, 10, 10, 1, -9 }, // 0x2F '/'
{ 74, 6, 10, 10, 1, -9 }, // 0x30 '0'
{ 82, 7, 10, 10, 1, -9 }, // 0x31 '1'
{ 91, 6, 10, 10, 1, -9 }, // 0x32 '2'
{ 99, 6, 10, 10, 1, -9 }, // 0x33 '3'
{ 107, 6, 9, 10, 2, -9 }, // 0x34 '4'
{ 114, 6, 10, 10, 2, -9 }, // 0x35 '5'
{ 122, 6, 10, 10, 1, -9 }, // 0x36 '6'
{ 130, 7, 9, 10, 1, -9 }, // 0x37 '7'
{ 138, 6, 10, 10, 1, -9 }, // 0x38 '8'
{ 146, 6, 10, 10, 1, -9 }, // 0x39 '9'
{ 154, 3, 6, 10, 3, -7 }, // 0x3A ':'
{ 157, 4, 8, 10, 3, -7 }, // 0x3B ';'
{ 161, 7, 7, 10, 1, -7 }, // 0x3C '<'
{ 168, 7, 3, 10, 1, -6 }, // 0x3D '='
{ 171, 7, 7, 10, 1, -7 }, // 0x3E '>'
{ 178, 6, 9, 10, 2, -8 }, // 0x3F '?'
{ 185, 7, 10, 10, 1, -9 }, // 0x40 '@'
{ 194, 7, 9, 10, 1, -9 }, // 0x41 'A'
{ 202, 7, 10, 10, 1, -9 }, // 0x42 'B'
{ 211, 7, 10, 10, 1, -9 }, // 0x43 'C'
{ 220, 6, 10, 10, 1, -9 }, // 0x44 'D'
{ 228, 6, 10, 10, 1, -9 }, // 0x45 'E'
{ 236, 6, 9, 10, 1, -9 }, // 0x46 'F'
{ 243, 6, 10, 10, 1, -9 }, // 0x47 'G'
{ 251, 6, 9, 10, 1, -9 }, // 0x48 'H'
{ 258, 7, 10, 10, 1, -9 }, // 0x49 'I'
{ 267, 5, 10, 10, 2, -9 }, // 0x4A 'J'
{ 274, 6, 10, 10, 1, -9 }, // 0x4B 'K'
{ 282, 6, 10, 10, 1, -9 }, // 0x4C 'L'
{ 290, 6, 10, 10, 1, -9 }, // 0x4D 'M'
{ 298, 6, 10, 10, 1, -9 }, // 0x4E 'N'
{ 306, 7, 10, 10, 1, -9 }, // 0x4F 'O'
{ 315, 6, 10, 10, 1, -9 }, // 0x50 'P'
{ 323, 6, 9, 10, 1, -8 }, // 0x51 'Q'
{ 330, 6, 9, 10, 1, -9 }, // 0x52 'R'
{ 337, 7, 10, 10, 1, -9 }, // 0x53 'S'
{ 346, 7, 9, 10, 1, -9 }, // 0x54 'T'
{ 354, 6, 10, 10, 1, -9 }, // 0x55 'U'
{ 362, 6, 10, 10, 1, -9 }, // 0x56 'V'
{ 370, 7, 10, 10, 1, -9 }, // 0x57 'W'
{ 379, 7, 10, 10, 1, -9 }, // 0x58 'X'
{ 388, 7, 10, 10, 1, -9 }, // 0x59 'Y'
{ 397, 7, 10, 10, 1, -9 }, // 0x5A 'Z'
{ 406, 6, 10, 10, 1, -9 }, // 0x5B '['
{ 414, 7, 10, 10, 1, -9 }, // 0x5C '\'
{ 423, 6, 10, 10, 2, -9 }, // 0x5D ']'
{ 431, 7, 6, 10, 1, -7 }, // 0x5E '^'
{ 437, 7, 1, 10, 1, 1 }, // 0x5F '_'
{ 438, 5, 5, 10, 2, -9 }, // 0x60 '`'
{ 442, 6, 7, 10, 1, -6 }, // 0x61 'a'
{ 448, 6, 10, 10, 1, -9 }, // 0x62 'b'
{ 456, 6, 7, 10, 1, -6 }, // 0x63 'c'
{ 462, 6, 10, 10, 1, -9 }, // 0x64 'd'
{ 470, 6, 7, 10, 1, -6 }, // 0x65 'e'
{ 476, 5, 10, 10, 2, -9 }, // 0x66 'f'
{ 483, 6, 10, 10, 1, -6 }, // 0x67 'g'
{ 491, 6, 10, 10, 1, -9 }, // 0x68 'h'
{ 499, 5, 10, 10, 2, -9 }, // 0x69 'i'
{ 506, 5, 13, 10, 2, -9 }, // 0x6A 'j'
{ 515, 6, 10, 10, 1, -9 }, // 0x6B 'k'
{ 523, 5, 10, 10, 2, -9 }, // 0x6C 'l'
{ 530, 7, 7, 10, 1, -6 }, // 0x6D 'm'
{ 537, 6, 7, 10, 1, -6 }, // 0x6E 'n'
{ 543, 6, 7, 10, 1, -6 }, // 0x6F 'o'
{ 549, 6, 10, 10, 1, -6 }, // 0x70 'p'
{ 557, 6, 10, 10, 1, -6 }, // 0x71 'q'
{ 565, 6, 7, 10, 1, -6 }, // 0x72 'r'
{ 571, 7, 7, 10, 1, -6 }, // 0x73 's'
{ 578, 6, 9, 10, 1, -8 }, // 0x74 't'
{ 585, 6, 7, 10, 1, -6 }, // 0x75 'u'
{ 591, 6, 7, 10, 1, -6 }, // 0x76 'v'
{ 597, 7, 7, 10, 1, -6 }, // 0x77 'w'
{ 604, 7, 7, 10, 1, -6 }, // 0x78 'x'
{ 611, 6, 10, 10, 1, -6 }, // 0x79 'y'
{ 619, 7, 7, 10, 1, -6 }, // 0x7A 'z'
{ 626, 7, 10, 10, 1, -9 }, // 0x7B '{'
{ 635, 1, 9, 10, 4, -9 }, // 0x7C '|'
{ 637, 6, 10, 10, 1, -9 }, // 0x7D '}'
{ 645, 7, 4, 10, 1, -8 } }; // 0x7E '~'
const GFXfont ocra_12pt7b = {
(uint8_t *)ocra_12pt7bBitmaps,
(GFXglyph *)ocra_12pt7bGlyphs,
0x20, 0x7E, 12 };//B
// Approx. 1321 bytes