140 lines
7.7 KiB
C
140 lines
7.7 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t fairlight_8pt7bBitmaps[] = {
|
|
0x00, 0xFF, 0x60, 0x66, 0xD6, 0xC0, 0x79, 0xEF, 0xFF, 0x79, 0xE0, 0x23,
|
|
0xF0, 0xEF, 0x10, 0xCC, 0x63, 0x18, 0xCE, 0x30, 0xF3, 0x6F, 0x37, 0xDB,
|
|
0xF0, 0x33, 0xC0, 0x36, 0xCC, 0x66, 0x30, 0xC3, 0x33, 0x33, 0xC0, 0x7B,
|
|
0xF3, 0x9E, 0x37, 0xCC, 0x60, 0x6F, 0x00, 0xFC, 0xF0, 0x06, 0x30, 0xC3,
|
|
0x0C, 0x00, 0x7B, 0x7E, 0xFB, 0xDD, 0xE0, 0x76, 0x0C, 0x63, 0x1C, 0xF0,
|
|
0xCE, 0xCD, 0xFC, 0xF8, 0x06, 0x7D, 0xBC, 0x18, 0x87, 0xBF, 0x18, 0x70,
|
|
0xFF, 0x0F, 0x83, 0xDD, 0xE0, 0x39, 0xBF, 0xB3, 0xDD, 0xE0, 0xF8, 0x0C,
|
|
0x63, 0x18, 0x7B, 0x37, 0xB3, 0xDD, 0xE0, 0x7B, 0x87, 0xC3, 0xDD, 0xE0,
|
|
0xCC, 0x61, 0xBC, 0x1C, 0xCC, 0x18, 0x30, 0x70, 0xFF, 0xC0, 0xE0, 0xC0,
|
|
0xC6, 0x33, 0x80, 0x76, 0xCC, 0x40, 0x10, 0x76, 0xFF, 0xFC, 0xB8, 0x3D,
|
|
0x8F, 0xF3, 0xCD, 0xB0, 0xFB, 0x7F, 0xB3, 0xDF, 0xE0, 0x3B, 0x31, 0x8D,
|
|
0xB8, 0xF8, 0x3C, 0xF6, 0xFB, 0x80, 0xFC, 0x0F, 0x30, 0xED, 0xE0, 0xFC,
|
|
0x0F, 0x30, 0xC1, 0x80, 0x7B, 0xBD, 0xF3, 0xDD, 0xE0, 0xCC, 0x3F, 0xF3,
|
|
0xCD, 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 7, 1, -2 }, // 0x2D '-'
|
|
{ 44, 2, 2, 7, 2, -1 }, // 0x2E '.'
|
|
{ 45, 7, 5, 7, 0, -4 }, // 0x2F '/'
|
|
{ 50, 6, 6, 7, 1, -5 }, // 0x30 '0'
|
|
{ 55, 5, 6, 7, 1, -5 }, // 0x31 '1'
|
|
{ 59, 5, 6, 7, 1, -5 }, // 0x32 '2'
|
|
{ 63, 5, 6, 7, 1, -5 }, // 0x33 '3'
|
|
{ 67, 6, 6, 7, 1, -5 }, // 0x34 '4'
|
|
{ 72, 6, 6, 7, 1, -5 }, // 0x35 '5'
|
|
{ 77, 6, 6, 7, 1, -5 }, // 0x36 '6'
|
|
{ 82, 5, 6, 7, 1, -5 }, // 0x37 '7'
|
|
{ 86, 6, 6, 7, 1, -5 }, // 0x38 '8'
|
|
{ 91, 6, 6, 7, 1, -5 }, // 0x39 '9'
|
|
{ 96, 2, 3, 7, 2, -3 }, // 0x3A ':'
|
|
{ 97, 3, 5, 7, 2, -3 }, // 0x3B ';'
|
|
{ 99, 6, 6, 7, 1, -5 }, // 0x3C '<'
|
|
{ 104, 5, 2, 7, 1, -3 }, // 0x3D '='
|
|
{ 106, 6, 6, 7, 0, -5 }, // 0x3E '>'
|
|
{ 111, 5, 6, 7, 1, -5 }, // 0x3F '?'
|
|
{ 115, 5, 6, 7, 1, -5 }, // 0x40 '@'
|
|
{ 119, 6, 6, 7, 1, -5 }, // 0x41 'A'
|
|
{ 124, 6, 6, 7, 1, -5 }, // 0x42 'B'
|
|
{ 129, 5, 6, 7, 1, -5 }, // 0x43 'C'
|
|
{ 133, 6, 6, 7, 1, -5 }, // 0x44 'D'
|
|
{ 138, 6, 6, 7, 1, -5 }, // 0x45 'E'
|
|
{ 143, 6, 6, 7, 1, -5 }, // 0x46 'F'
|
|
{ 148, 6, 6, 7, 1, -5 }, // 0x47 'G'
|
|
{ 153, 6, 6, 7, 1, -5 }, // 0x48 'H'
|
|
{ 158, 5, 6, 7, 1, -5 }, // 0x49 'I'
|
|
{ 162, 6, 6, 7, 1, -5 }, // 0x4A 'J'
|
|
{ 167, 6, 6, 7, 1, -5 }, // 0x4B 'K'
|
|
{ 172, 6, 6, 7, 1, -5 }, // 0x4C 'L'
|
|
{ 177, 6, 6, 7, 1, -5 }, // 0x4D 'M'
|
|
{ 182, 6, 6, 7, 1, -5 }, // 0x4E 'N'
|
|
{ 187, 6, 6, 7, 1, -5 }, // 0x4F 'O'
|
|
{ 192, 6, 6, 7, 1, -5 }, // 0x50 'P'
|
|
{ 197, 6, 6, 7, 1, -5 }, // 0x51 'Q'
|
|
{ 202, 7, 6, 7, 1, -5 }, // 0x52 'R'
|
|
{ 208, 6, 6, 7, 1, -5 }, // 0x53 'S'
|
|
{ 213, 6, 6, 7, 1, -5 }, // 0x54 'T'
|
|
{ 218, 6, 6, 7, 1, -5 }, // 0x55 'U'
|
|
{ 223, 6, 6, 7, 1, -5 }, // 0x56 'V'
|
|
{ 228, 6, 6, 7, 1, -5 }, // 0x57 'W'
|
|
{ 233, 7, 6, 7, 0, -5 }, // 0x58 'X'
|
|
{ 239, 6, 6, 7, 1, -5 }, // 0x59 'Y'
|
|
{ 244, 6, 6, 7, 0, -5 }, // 0x5A 'Z'
|
|
{ 249, 3, 6, 7, 2, -5 }, // 0x5B '['
|
|
{ 252, 7, 5, 7, 1, -4 }, // 0x5C '\'
|
|
{ 257, 3, 6, 7, 2, -5 }, // 0x5D ']'
|
|
{ 260, 6, 3, 7, 1, -8 }, // 0x5E '^'
|
|
{ 263, 7, 1, 7, 0, 1 }, // 0x5F '_'
|
|
{ 264, 3, 2, 7, 2, -8 }, // 0x60 '`'
|
|
{ 265, 6, 6, 7, 1, -5 }, // 0x61 'a'
|
|
{ 270, 6, 6, 7, 1, -5 }, // 0x62 'b'
|
|
{ 275, 5, 6, 7, 1, -5 }, // 0x63 'c'
|
|
{ 279, 6, 6, 7, 1, -5 }, // 0x64 'd'
|
|
{ 284, 6, 6, 7, 1, -5 }, // 0x65 'e'
|
|
{ 289, 6, 6, 7, 1, -5 }, // 0x66 'f'
|
|
{ 294, 6, 6, 7, 1, -5 }, // 0x67 'g'
|
|
{ 299, 6, 6, 7, 1, -5 }, // 0x68 'h'
|
|
{ 304, 5, 6, 7, 1, -5 }, // 0x69 'i'
|
|
{ 308, 6, 6, 7, 1, -5 }, // 0x6A 'j'
|
|
{ 313, 6, 6, 7, 1, -5 }, // 0x6B 'k'
|
|
{ 318, 6, 6, 7, 1, -5 }, // 0x6C 'l'
|
|
{ 323, 6, 6, 7, 1, -5 }, // 0x6D 'm'
|
|
{ 328, 6, 6, 7, 1, -5 }, // 0x6E 'n'
|
|
{ 333, 6, 6, 7, 1, -5 }, // 0x6F 'o'
|
|
{ 338, 6, 6, 7, 1, -5 }, // 0x70 'p'
|
|
{ 343, 6, 6, 7, 1, -5 }, // 0x71 'q'
|
|
{ 348, 7, 6, 7, 1, -5 }, // 0x72 'r'
|
|
{ 354, 6, 6, 7, 1, -5 }, // 0x73 's'
|
|
{ 359, 6, 6, 7, 1, -5 }, // 0x74 't'
|
|
{ 364, 6, 6, 7, 1, -5 }, // 0x75 'u'
|
|
{ 369, 6, 6, 7, 1, -5 }, // 0x76 'v'
|
|
{ 374, 6, 6, 7, 1, -5 }, // 0x77 'w'
|
|
{ 379, 7, 6, 7, 0, -5 }, // 0x78 'x'
|
|
{ 385, 6, 6, 7, 1, -5 }, // 0x79 'y'
|
|
{ 390, 6, 6, 7, 0, -5 }, // 0x7A 'z'
|
|
{ 395, 4, 6, 7, 1, -5 }, // 0x7B '{'
|
|
{ 398, 2, 6, 7, 2, -5 }, // 0x7C '|'
|
|
{ 400, 4, 6, 7, 1, -5 }, // 0x7D '}'
|
|
{ 403, 5, 2, 7, 1, -5 } }; // 0x7E '~'
|
|
|
|
const GFXfont fairlight_8pt7b = {
|
|
(uint8_t *)fairlight_8pt7bBitmaps,
|
|
(GFXglyph *)fairlight_8pt7bGlyphs,
|
|
0x20, 0x7E, 8 };//B
|
|
|
|
// Approx. 1077 bytes
|