141 lines
7.7 KiB
C
141 lines
7.7 KiB
C
|
#include "../include/driver_framebuffer.h"
|
||
|
const uint8_t ocra_9pt7bBitmaps[] = {
|
||
|
0x00, 0xF9, 0xFE, 0xF4, 0x00, 0x52, 0xBE, 0xAF, 0xA9, 0x40, 0x21, 0x3F,
|
||
|
0x0F, 0xFC, 0x84, 0xC6, 0x44, 0x66, 0x22, 0x63, 0xF4, 0xAC, 0xCE, 0xCB,
|
||
|
0xA0, 0xFA, 0x80, 0x5A, 0xA5, 0xB5, 0x5A, 0x25, 0x7C, 0x47, 0x54, 0x80,
|
||
|
0x21, 0x3E, 0x42, 0x00, 0xE4, 0x90, 0xF8, 0xF0, 0x08, 0x84, 0x42, 0x23,
|
||
|
0x10, 0xFC, 0x63, 0x18, 0xC6, 0x3F, 0xE1, 0x08, 0x42, 0x94, 0xBF, 0xF8,
|
||
|
0x43, 0xF8, 0x42, 0x1F, 0xF8, 0x42, 0xF0, 0x84, 0x3F, 0x89, 0x99, 0xF1,
|
||
|
0x11, 0x7A, 0x10, 0xF0, 0x86, 0x3F, 0x84, 0x21, 0x0F, 0xC6, 0x3F, 0xF8,
|
||
|
0x42, 0x33, 0x10, 0x84, 0x72, 0x95, 0xF8, 0xC6, 0x3F, 0xFC, 0x63, 0xF0,
|
||
|
0x84, 0x21, 0xF0, 0xF0, 0xD8, 0x0E, 0x49, 0x1B, 0x31, 0x83, 0x0C, 0xF8,
|
||
|
0x3E, 0xC1, 0x86, 0x36, 0x40, 0x11, 0x57, 0x66, 0x20, 0x08, 0x74, 0x43,
|
||
|
0xDA, 0xD6, 0xBF, 0x21, 0x18, 0xA5, 0x3A, 0x31, 0xF4, 0xA5, 0xE9, 0x46,
|
||
|
0x5E, 0x7A, 0x31, 0x08, 0x61, 0x0F, 0xE2, 0x94, 0x94, 0xA9, 0x5C, 0xFC,
|
||
|
0x21, 0xC8, 0x42, 0x1F, 0xFC, 0x21, 0xE8, 0x42, 0x10, 0x32, 0x21, 0x0B,
|
||
|
0xCA, 0x5E, 0x8C, 0x63, 0x1F, 0xC6, 0x31, 0x88, 0xF9, 0x08, 0x42, 0x10,
|
||
|
0x9F, 0x11, 0x11, 0x99, 0x9F, 0x8D, 0xB9, 0x8C, 0x72, 0xD3, 0x84, 0x21,
|
||
|
0x08, 0x42, 0x1F, 0xDE, 0xEB, 0x18, 0xC6, 0x31, 0xCE, 0x73, 0x5A, 0xCE,
|
||
|
0x73, 0x62, 0x95, 0x18, 0xC9, 0x4E, 0xFC, 0x63, 0x1F, 0xC2, 0x10, 0x1B,
|
||
|
0x73, 0x1A, 0xDE, 0xDB, 0xF4, 0x65, 0xEA, 0x52, 0x52, 0x00, 0xF4, 0x50,
|
||
|
0xC2, 0x0A, 0x3F, 0xFD, 0x48, 0x42, 0x10, 0x84, 0x8C, 0x63, 0x18, 0xC6,
|
||
|
0x3F, 0x8C, 0x63, 0x35, 0x28, 0x84, 0x8C, 0x63, 0x5A, 0xD6, 0xBF, 0x8A,
|
||
|
0x94, 0x42, 0x2B, 0x51, 0x8C, 0x54, 0xE2, 0x10, 0x84, 0xF8, 0x84, 0x42,
|
||
|
0x23, 0x1F, 0xFC, 0xCC, 0xCC, 0xCF, 0x82, 0x10, 0x42, 0x08, 0x41, 0xF3,
|
||
|
0x33, 0x33, 0x3F, 0x23, 0x15, 0xA8, 0x80, 0xF8, 0x19, 0x90, 0x78, 0x5F,
|
||
|
0x18, 0xBC, 0x84, 0x3D, 0x98, 0xC7, 0x3E, 0x7E, 0x21, 0x0C, 0x3C, 0x08,
|
||
|
0x5F, 0x38, 0xC6, 0x6F, 0x74, 0xA5, 0xE8, 0x3C, 0x74, 0xE4, 0x44, 0x44,
|
||
|
0x7C, 0xE3, 0x37, 0x84, 0x3E, 0x84, 0x2F, 0x98, 0xC6, 0x31, 0x43, 0x24,
|
||
|
0x97, 0x10, 0x71, 0x11, 0x11, 0x97, 0x84, 0x25, 0x6C, 0x52, 0x51, 0xC9,
|
||
|
0x24, 0x97, 0xFD, 0x6B, 0x5A, 0xD4, 0xBE, 0x63, 0x18, 0xC4, 0x74, 0x63,
|
||
|
0x18, 0xB8, 0xF6, 0xE3, 0x1D, 0xFA, 0x10, 0x7C, 0xE3, 0x19, 0xBC, 0x21,
|
||
|
0xB6, 0x61, 0x08, 0x40, 0xF4, 0x18, 0x30, 0xF8, 0x42, 0x3C, 0x84, 0x21,
|
||
|
0x2E, 0x8C, 0x63, 0x19, 0xF4, 0x8C, 0x62, 0xA5, 0x10, 0x8C, 0x6B, 0x5A,
|
||
|
0xEC, 0x8A, 0x98, 0xE5, 0x44, 0x8C, 0x54, 0xA7, 0x10, 0x98, 0xF8, 0x8C,
|
||
|
0xCC, 0x7C, 0x39, 0x09, 0xC2, 0x10, 0x87, 0xEF, 0xE1, 0x08, 0x72, 0x10,
|
||
|
0x9C, 0x4F, 0x6B, 0x70 };
|
||
|
|
||
|
const GFXglyph ocra_9pt7bGlyphs[] = {
|
||
|
{ 0, 1, 1, 7, 0, 0 }, // 0x20 ' '
|
||
|
{ 1, 1, 8, 7, 3, -7 }, // 0x21 '!'
|
||
|
{ 2, 5, 4, 7, 1, -7 }, // 0x22 '"'
|
||
|
{ 5, 5, 7, 7, 1, -7 }, // 0x23 '#'
|
||
|
{ 10, 5, 8, 7, 1, -7 }, // 0x24 '$'
|
||
|
{ 15, 5, 8, 7, 1, -7 }, // 0x25 '%'
|
||
|
{ 20, 5, 7, 7, 1, -6 }, // 0x26 '&'
|
||
|
{ 25, 2, 5, 7, 2, -7 }, // 0x27 '''
|
||
|
{ 27, 2, 8, 7, 2, -7 }, // 0x28 '('
|
||
|
{ 29, 2, 8, 7, 2, -7 }, // 0x29 ')'
|
||
|
{ 31, 5, 7, 7, 1, -7 }, // 0x2A '*'
|
||
|
{ 36, 5, 5, 7, 1, -6 }, // 0x2B '+'
|
||
|
{ 40, 3, 4, 7, 2, -3 }, // 0x2C ','
|
||
|
{ 42, 5, 1, 7, 1, -3 }, // 0x2D '-'
|
||
|
{ 43, 2, 2, 7, 2, -2 }, // 0x2E '.'
|
||
|
{ 44, 5, 8, 7, 1, -7 }, // 0x2F '/'
|
||
|
{ 49, 5, 8, 7, 1, -7 }, // 0x30 '0'
|
||
|
{ 54, 5, 8, 7, 1, -7 }, // 0x31 '1'
|
||
|
{ 59, 5, 8, 7, 1, -7 }, // 0x32 '2'
|
||
|
{ 64, 5, 8, 7, 1, -7 }, // 0x33 '3'
|
||
|
{ 69, 4, 8, 7, 1, -7 }, // 0x34 '4'
|
||
|
{ 73, 5, 8, 7, 1, -7 }, // 0x35 '5'
|
||
|
{ 78, 5, 8, 7, 1, -7 }, // 0x36 '6'
|
||
|
{ 83, 5, 8, 7, 1, -7 }, // 0x37 '7'
|
||
|
{ 88, 5, 8, 7, 1, -7 }, // 0x38 '8'
|
||
|
{ 93, 5, 8, 7, 1, -7 }, // 0x39 '9'
|
||
|
{ 98, 2, 6, 7, 2, -6 }, // 0x3A ':'
|
||
|
{ 100, 3, 8, 7, 2, -7 }, // 0x3B ';'
|
||
|
{ 103, 5, 6, 7, 1, -6 }, // 0x3C '<'
|
||
|
{ 107, 5, 3, 7, 1, -5 }, // 0x3D '='
|
||
|
{ 109, 5, 6, 7, 1, -6 }, // 0x3E '>'
|
||
|
{ 113, 5, 8, 7, 1, -7 }, // 0x3F '?'
|
||
|
{ 118, 5, 8, 7, 1, -7 }, // 0x40 '@'
|
||
|
{ 123, 5, 8, 7, 1, -7 }, // 0x41 'A'
|
||
|
{ 128, 5, 8, 7, 1, -7 }, // 0x42 'B'
|
||
|
{ 133, 5, 8, 7, 1, -7 }, // 0x43 'C'
|
||
|
{ 138, 5, 8, 7, 1, -7 }, // 0x44 'D'
|
||
|
{ 143, 5, 8, 7, 1, -7 }, // 0x45 'E'
|
||
|
{ 148, 5, 8, 7, 1, -7 }, // 0x46 'F'
|
||
|
{ 153, 5, 8, 7, 1, -7 }, // 0x47 'G'
|
||
|
{ 158, 5, 9, 7, 1, -7 }, // 0x48 'H'
|
||
|
{ 164, 5, 8, 7, 1, -7 }, // 0x49 'I'
|
||
|
{ 169, 4, 8, 7, 2, -7 }, // 0x4A 'J'
|
||
|
{ 173, 5, 8, 7, 1, -7 }, // 0x4B 'K'
|
||
|
{ 178, 5, 8, 7, 1, -7 }, // 0x4C 'L'
|
||
|
{ 183, 5, 8, 7, 1, -7 }, // 0x4D 'M'
|
||
|
{ 188, 5, 8, 7, 1, -7 }, // 0x4E 'N'
|
||
|
{ 193, 5, 8, 7, 1, -7 }, // 0x4F 'O'
|
||
|
{ 198, 5, 8, 7, 1, -7 }, // 0x50 'P'
|
||
|
{ 203, 5, 8, 7, 1, -7 }, // 0x51 'Q'
|
||
|
{ 208, 5, 9, 7, 1, -7 }, // 0x52 'R'
|
||
|
{ 214, 5, 8, 7, 1, -7 }, // 0x53 'S'
|
||
|
{ 219, 5, 8, 7, 1, -7 }, // 0x54 'T'
|
||
|
{ 224, 5, 8, 7, 1, -7 }, // 0x55 'U'
|
||
|
{ 229, 5, 8, 7, 1, -7 }, // 0x56 'V'
|
||
|
{ 234, 5, 8, 7, 1, -7 }, // 0x57 'W'
|
||
|
{ 239, 5, 8, 7, 1, -7 }, // 0x58 'X'
|
||
|
{ 244, 5, 8, 7, 1, -7 }, // 0x59 'Y'
|
||
|
{ 249, 5, 8, 7, 1, -7 }, // 0x5A 'Z'
|
||
|
{ 254, 4, 8, 7, 1, -7 }, // 0x5B '['
|
||
|
{ 258, 5, 8, 7, 1, -7 }, // 0x5C '\'
|
||
|
{ 263, 4, 8, 7, 1, -7 }, // 0x5D ']'
|
||
|
{ 267, 5, 5, 7, 1, -5 }, // 0x5E '^'
|
||
|
{ 271, 5, 1, 7, 1, 1 }, // 0x5F '_'
|
||
|
{ 272, 3, 4, 7, 2, -7 }, // 0x60 '`'
|
||
|
{ 274, 5, 6, 7, 1, -5 }, // 0x61 'a'
|
||
|
{ 278, 5, 8, 7, 1, -7 }, // 0x62 'b'
|
||
|
{ 283, 5, 6, 7, 1, -5 }, // 0x63 'c'
|
||
|
{ 287, 5, 8, 7, 1, -7 }, // 0x64 'd'
|
||
|
{ 292, 5, 6, 7, 1, -5 }, // 0x65 'e'
|
||
|
{ 296, 4, 8, 7, 1, -7 }, // 0x66 'f'
|
||
|
{ 300, 5, 8, 7, 1, -5 }, // 0x67 'g'
|
||
|
{ 305, 5, 8, 7, 1, -7 }, // 0x68 'h'
|
||
|
{ 310, 3, 8, 7, 2, -7 }, // 0x69 'i'
|
||
|
{ 313, 4, 10, 7, 1, -7 }, // 0x6A 'j'
|
||
|
{ 318, 5, 8, 7, 1, -7 }, // 0x6B 'k'
|
||
|
{ 323, 3, 8, 7, 2, -7 }, // 0x6C 'l'
|
||
|
{ 326, 5, 6, 7, 1, -5 }, // 0x6D 'm'
|
||
|
{ 330, 5, 6, 7, 1, -5 }, // 0x6E 'n'
|
||
|
{ 334, 5, 6, 7, 1, -5 }, // 0x6F 'o'
|
||
|
{ 338, 5, 8, 7, 1, -5 }, // 0x70 'p'
|
||
|
{ 343, 5, 8, 7, 1, -5 }, // 0x71 'q'
|
||
|
{ 348, 5, 6, 7, 1, -5 }, // 0x72 'r'
|
||
|
{ 352, 5, 6, 7, 1, -5 }, // 0x73 's'
|
||
|
{ 356, 5, 8, 7, 1, -7 }, // 0x74 't'
|
||
|
{ 361, 5, 6, 7, 1, -5 }, // 0x75 'u'
|
||
|
{ 365, 5, 6, 7, 1, -5 }, // 0x76 'v'
|
||
|
{ 369, 5, 6, 7, 1, -5 }, // 0x77 'w'
|
||
|
{ 373, 5, 6, 7, 1, -5 }, // 0x78 'x'
|
||
|
{ 377, 5, 8, 7, 1, -5 }, // 0x79 'y'
|
||
|
{ 382, 5, 6, 7, 1, -5 }, // 0x7A 'z'
|
||
|
{ 386, 5, 8, 7, 1, -7 }, // 0x7B '{'
|
||
|
{ 391, 1, 8, 7, 3, -7 }, // 0x7C '|'
|
||
|
{ 392, 5, 8, 7, 1, -7 }, // 0x7D '}'
|
||
|
{ 397, 5, 4, 7, 1, -7 } }; // 0x7E '~'
|
||
|
|
||
|
const GFXfont ocra_9pt7b = {
|
||
|
(uint8_t *)ocra_9pt7bBitmaps,
|
||
|
(GFXglyph *)ocra_9pt7bGlyphs,
|
||
|
0x20, 0x7E, 9 };//B
|
||
|
|
||
|
// Approx. 1072 bytes
|