163 lines
9.5 KiB
C
163 lines
9.5 KiB
C
#include "font.h"
|
|
|
|
const uint8_t plat_nomor_8pt_bitmaps[] = {
|
|
0x00, 0xFF, 0x90, 0xB6, 0x80, 0x12, 0xFF, 0xFF, 0x24, 0xFF, 0x48, 0x48,
|
|
0x38, 0xF9, 0x52, 0x87, 0x06, 0x06, 0x0E, 0x14, 0x2D, 0x53, 0xC1, 0x00,
|
|
0xC4, 0x12, 0x09, 0x05, 0x02, 0x87, 0x40, 0x4C, 0x29, 0x14, 0x92, 0x49,
|
|
0x24, 0x60, 0x79, 0x9A, 0x34, 0x08, 0x0F, 0x3E, 0x40, 0x8F, 0x1B, 0x33,
|
|
0xC0, 0xE0, 0x7A, 0x49, 0x24, 0x92, 0x4C, 0xC0, 0xCC, 0x92, 0x49, 0x24,
|
|
0x93, 0xC0, 0x21, 0x3E, 0xCD, 0x08, 0x21, 0x3E, 0x42, 0x00, 0xC0, 0xF8,
|
|
0x80, 0x08, 0x42, 0x21, 0x08, 0x84, 0x22, 0x10, 0x80, 0x7B, 0x3C, 0x69,
|
|
0xA6, 0x99, 0x65, 0x96, 0x3C, 0xDE, 0x6C, 0x92, 0x49, 0x24, 0x90, 0x76,
|
|
0xE2, 0x10, 0x8C, 0xC4, 0x66, 0x21, 0xF0, 0x7B, 0x38, 0xC3, 0x0D, 0xE7,
|
|
0x83, 0x04, 0x1C, 0xDE, 0x08, 0x61, 0x0C, 0x21, 0x84, 0x32, 0x8B, 0xF0,
|
|
0x82, 0xFF, 0xF8, 0x20, 0xFB, 0x38, 0x41, 0x04, 0x1C, 0xDE, 0x7B, 0x38,
|
|
0x60, 0x83, 0xEC, 0xE1, 0x86, 0x1C, 0xDE, 0xFF, 0xF0, 0xC2, 0x18, 0x41,
|
|
0x0C, 0x20, 0x82, 0x08, 0x7B, 0x38, 0x61, 0xC5, 0xE7, 0xE1, 0x86, 0x1C,
|
|
0xDE, 0x7B, 0x38, 0x61, 0x86, 0x3F, 0xC1, 0x04, 0x1C,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0x04,
|
|
0x10, 0x41, 0x04, 0xFF, 0xC6, 0x23, 0x18, 0x8C, 0x46, 0x31, 0xF0, 0x7B,
|
|
0x5E, 0xDF, 0xD0, 0xFF, 0xFE, 0xB7, 0xAD, 0xEF, 0xE0, 0xE6, 0xF0 };
|
|
|
|
const glyph_t plat_nomor_8pt_glyphs[] = {
|
|
{ 0, 1, 1, 4, 0, 0 }, // 0x20 ' '
|
|
{ 1, 1, 12, 3, 1, -11 }, // 0x21 '!'
|
|
{ 3, 3, 3, 5, 1, -11 }, // 0x22 '"'
|
|
{ 5, 8, 7, 10, 1, -7 }, // 0x23 '#'
|
|
{ 12, 7, 13, 7, 0, -11 }, // 0x24 '$'
|
|
{ 24, 9, 12, 10, 1, -11 }, // 0x25 '%'
|
|
{ 38, 7, 12, 8, 1, -11 }, // 0x26 '&'
|
|
{ 49, 1, 3, 3, 1, -11 }, // 0x27 '''
|
|
{ 50, 3, 14, 4, 1, -11 }, // 0x28 '('
|
|
{ 56, 3, 14, 4, 0, -11 }, // 0x29 ')'
|
|
{ 62, 5, 6, 7, 1, -11 }, // 0x2A '*'
|
|
{ 66, 5, 5, 7, 1, -6 }, // 0x2B '+'
|
|
{ 70, 1, 2, 3, 1, 0 }, // 0x2C ','
|
|
{ 71, 5, 1, 7, 1, -3 }, // 0x2D '-'
|
|
{ 72, 1, 1, 3, 1, 0 }, // 0x2E '.'
|
|
{ 73, 5, 12, 6, 0, -11 }, // 0x2F '/'
|
|
{ 81, 6, 12, 8, 1, -11 }, // 0x30 '0'
|
|
{ 90, 3, 12, 4, 0, -11 }, // 0x31 '1'
|
|
{ 95, 5, 12, 7, 1, -11 }, // 0x32 '2'
|
|
{ 103, 6, 12, 8, 1, -11 }, // 0x33 '3'
|
|
{ 112, 6, 12, 7, 1, -11 }, // 0x34 '4'
|
|
{ 121, 6, 12, 8, 1, -11 }, // 0x35 '5'
|
|
{ 130, 6, 12, 8, 1, -11 }, // 0x36 '6'
|
|
{ 139, 6, 12, 6, 0, -11 }, // 0x37 '7'
|
|
{ 148, 6, 12, 8, 1, -11 }, // 0x38 '8'
|
|
{ 157, 6, 12, 8, 1, -11 }, // 0x39 '9'
|
|
{ 166, 1, 6, 3, 1, -5 }, // 0x3A ':'
|
|
{ 167, 1, 7, 3, 1, -5 }, // 0x3B ';'
|
|
{ 168, 5, 4, 6, 1, -6 }, // 0x3C '<'
|
|
{ 171, 5, 4, 7, 1, -6 }, // 0x3D '='
|
|
{ 174, 5, 4, 6, 1, -6 }, // 0x3E '>'
|
|
{ 177, 6, 12, 7, 0, -11 }, // 0x3F '?'
|
|
{ 186, 10, 11, 12, 1, -9 }, // 0x40 '@'
|
|
{ 200, 7, 12, 7, 0, -11 }, // 0x41 'A'
|
|
{ 211, 6, 12, 8, 1, -11 }, // 0x42 'B'
|
|
{ 220, 6, 12, 7, 1, -11 }, // 0x43 'C'
|
|
{ 229, 6, 12, 8, 1, -11 }, // 0x44 'D'
|
|
{ 238, 6, 12, 7, 1, -11 }, // 0x45 'E'
|
|
{ 247, 6, 12, 7, 1, -11 }, // 0x46 'F'
|
|
{ 256, 6, 12, 8, 1, -11 }, // 0x47 'G'
|
|
{ 265, 6, 12, 8, 1, -11 }, // 0x48 'H'
|
|
{ 274, 1, 12, 3, 1, -11 }, // 0x49 'I'
|
|
{ 276, 6, 12, 7, 0, -11 }, // 0x4A 'J'
|
|
{ 285, 6, 12, 8, 1, -11 }, // 0x4B 'K'
|
|
{ 294, 6, 12, 7, 1, -11 }, // 0x4C 'L'
|
|
{ 303, 7, 12, 9, 1, -11 }, // 0x4D 'M'
|
|
{ 314, 6, 12, 8, 1, -11 }, // 0x4E 'N'
|
|
{ 323, 6, 12, 8, 1, -11 }, // 0x4F 'O'
|
|
{ 332, 6, 12, 8, 1, -11 }, // 0x50 'P'
|
|
{ 341, 6, 14, 8, 1, -11 }, // 0x51 'Q'
|
|
{ 352, 6, 12, 8, 1, -11 }, // 0x52 'R'
|
|
{ 361, 6, 12, 7, 1, -11 }, // 0x53 'S'
|
|
{ 370, 7, 12, 7, 0, -11 }, // 0x54 'T'
|
|
{ 381, 6, 12, 8, 1, -11 }, // 0x55 'U'
|
|
{ 390, 7, 12, 8, 0, -11 }, // 0x56 'V'
|
|
{ 401, 8, 12, 9, 1, -11 }, // 0x57 'W'
|
|
{ 413, 7, 12, 7, 0, -11 }, // 0x58 'X'
|
|
{ 424, 6, 12, 7, 0, -11 }, // 0x59 'Y'
|
|
{ 433, 5, 12, 7, 1, -11 }, // 0x5A 'Z'
|
|
{ 441, 3, 14, 4, 1, -11 }, // 0x5B '['
|
|
{ 447, 5, 12, 6, 0, -11 }, // 0x5C '\'
|
|
{ 455, 3, 14, 4, 0, -11 }, // 0x5D ']'
|
|
{ 461, 4, 5, 6, 1, -11 }, // 0x5E '^'
|
|
{ 464, 5, 1, 7, 1, 2 }, // 0x5F '_'
|
|
{ 465, 2, 4, 4, 1, -11 }, // 0x60 '`'
|
|
{ 466, 7, 12, 7, 0, -11 }, // 0x61 'a'
|
|
{ 477, 6, 12, 8, 1, -11 }, // 0x62 'b'
|
|
{ 486, 6, 12, 7, 1, -11 }, // 0x63 'c'
|
|
{ 495, 6, 12, 8, 1, -11 }, // 0x64 'd'
|
|
{ 504, 6, 12, 7, 1, -11 }, // 0x65 'e'
|
|
{ 513, 6, 12, 7, 1, -11 }, // 0x66 'f'
|
|
{ 522, 6, 12, 8, 1, -11 }, // 0x67 'g'
|
|
{ 531, 6, 12, 8, 1, -11 }, // 0x68 'h'
|
|
{ 540, 1, 12, 3, 1, -11 }, // 0x69 'i'
|
|
{ 542, 6, 12, 7, 0, -11 }, // 0x6A 'j'
|
|
{ 551, 6, 12, 8, 1, -11 }, // 0x6B 'k'
|
|
{ 560, 6, 12, 7, 1, -11 }, // 0x6C 'l'
|
|
{ 569, 7, 12, 9, 1, -11 }, // 0x6D 'm'
|
|
{ 580, 6, 12, 8, 1, -11 }, // 0x6E 'n'
|
|
{ 589, 6, 12, 8, 1, -11 }, // 0x6F 'o'
|
|
{ 598, 6, 12, 8, 1, -11 }, // 0x70 'p'
|
|
{ 607, 6, 14, 8, 1, -11 }, // 0x71 'q'
|
|
{ 618, 6, 12, 8, 1, -11 }, // 0x72 'r'
|
|
{ 627, 6, 12, 7, 1, -11 }, // 0x73 's'
|
|
{ 636, 7, 12, 7, 0, -11 }, // 0x74 't'
|
|
{ 647, 6, 12, 8, 1, -11 }, // 0x75 'u'
|
|
{ 656, 7, 12, 8, 0, -11 }, // 0x76 'v'
|
|
{ 667, 8, 12, 9, 1, -11 }, // 0x77 'w'
|
|
{ 679, 7, 12, 7, 0, -11 }, // 0x78 'x'
|
|
{ 690, 6, 12, 7, 0, -11 }, // 0x79 'y'
|
|
{ 699, 5, 12, 7, 1, -11 }, // 0x7A 'z'
|
|
{ 707, 2, 14, 4, 1, -11 }, // 0x7B '{'
|
|
{ 711, 1, 15, 3, 1, -11 }, // 0x7C '|'
|
|
{ 713, 2, 14, 4, 1, -11 }, // 0x7D '}'
|
|
{ 717, 6, 2, 8, 1, -4 } }; // 0x7E '~'
|
|
|
|
const font_t plat_nomor_8pt = { plat_nomor_8pt_bitmaps, plat_nomor_8pt_glyphs, 0x20, 0x7e, 15, 17 };
|