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'
|
|
{ 46, 5, 5, 7, 1, -6 }, // 0x2A '*'
|
|
{ 50, 6, 5, 7, 0, -6 }, // 0x2B '+'
|
|
{ 54, 2, 4, 3, 0, -1 }, // 0x2C ','
|
|
{ 55, 7, 2, 8, 0, -4 }, // 0x2D '-'
|
|
{ 57, 2, 2, 3, 0, -1 }, // 0x2E '.'
|
|
{ 58, 8, 8, 10, 1, -7 }, // 0x2F '/'
|
|
{ 66, 8, 8, 10, 1, -7 }, // 0x30 '0'
|
|
{ 74, 2, 8, 3, 0, -7 }, // 0x31 '1'
|
|
{ 76, 8, 8, 10, 1, -7 }, // 0x32 '2'
|
|
{ 84, 8, 8, 10, 1, -7 }, // 0x33 '3'
|
|
{ 92, 8, 8, 10, 1, -7 }, // 0x34 '4'
|
|
{ 100, 8, 8, 10, 1, -7 }, // 0x35 '5'
|
|
{ 108, 8, 8, 10, 1, -7 }, // 0x36 '6'
|
|
{ 116, 8, 8, 10, 1, -7 }, // 0x37 '7'
|
|
{ 124, 8, 8, 10, 1, -7 }, // 0x38 '8'
|
|
{ 132, 8, 8, 10, 1, -7 }, // 0x39 '9'
|
|
{ 140, 2, 7, 3, 0, -6 }, // 0x3A ':'
|
|
{ 142, 2, 7, 3, 0, -6 }, // 0x3B ';'
|
|
{ 144, 6, 8, 7, 0, -7 }, // 0x3C '<'
|
|
{ 150, 7, 5, 8, 0, -6 }, // 0x3D '='
|
|
{ 155, 5, 8, 7, 1, -7 }, // 0x3E '>'
|
|
{ 160, 8, 8, 10, 1, -7 }, // 0x3F '?'
|
|
{ 168, 8, 8, 10, 1, -7 }, // 0x40 '@'
|
|
{ 176, 8, 8, 10, 1, -7 }, // 0x41 'A'
|
|
{ 184, 8, 8, 10, 1, -7 }, // 0x42 'B'
|
|
{ 192, 8, 8, 10, 1, -7 }, // 0x43 'C'
|
|
{ 200, 8, 8, 10, 1, -7 }, // 0x44 'D'
|
|
{ 208, 8, 8, 10, 1, -7 }, // 0x45 'E'
|
|
{ 216, 8, 8, 10, 1, -7 }, // 0x46 'F'
|
|
{ 224, 8, 8, 10, 1, -7 }, // 0x47 'G'
|
|
{ 232, 8, 8, 10, 1, -7 }, // 0x48 'H'
|
|
{ 240, 8, 8, 10, 1, -7 }, // 0x49 'I'
|
|
{ 248, 8, 8, 10, 1, -7 }, // 0x4A 'J'
|
|
{ 256, 8, 8, 10, 1, -7 }, // 0x4B 'K'
|
|
{ 264, 8, 8, 10, 1, -7 }, // 0x4C 'L'
|
|
{ 272, 8, 8, 10, 1, -7 }, // 0x4D 'M'
|
|
{ 280, 8, 8, 10, 1, -7 }, // 0x4E 'N'
|
|
{ 288, 8, 8, 10, 1, -7 }, // 0x4F 'O'
|
|
{ 296, 8, 8, 10, 1, -7 }, // 0x50 'P'
|
|
{ 304, 8, 8, 10, 1, -7 }, // 0x51 'Q'
|
|
{ 312, 9, 8, 10, 0, -7 }, // 0x52 'R'
|
|
{ 321, 8, 8, 10, 1, -7 }, // 0x53 'S'
|
|
{ 329, 8, 8, 10, 1, -7 }, // 0x54 'T'
|
|
{ 337, 8, 8, 10, 1, -7 }, // 0x55 'U'
|
|
{ 345, 8, 8, 10, 1, -7 }, // 0x56 'V'
|
|
{ 353, 8, 8, 10, 1, -7 }, // 0x57 'W'
|
|
{ 361, 8, 8, 10, 1, -7 }, // 0x58 'X'
|
|
{ 369, 8, 8, 10, 1, -7 }, // 0x59 'Y'
|
|
{ 377, 8, 8, 10, 1, -7 }, // 0x5A 'Z'
|
|
{ 385, 3, 8, 5, 1, -7 }, // 0x5B '['
|
|
{ 388, 8, 8, 10, 1, -7 }, // 0x5C '\'
|
|
{ 396, 3, 8, 5, 1, -7 }, // 0x5D ']'
|
|
{ 399, 6, 3, 7, 0, -7 }, // 0x5E '^'
|
|
{ 402, 8, 2, 10, 1, 1 }, // 0x5F '_'
|
|
{ 404, 2, 1, 3, 0, -7 }, // 0x60 '`'
|
|
{ 405, 7, 7, 8, 0, -6 }, // 0x61 'a'
|
|
{ 412, 7, 8, 8, 0, -7 }, // 0x62 'b'
|
|
{ 419, 7, 7, 8, 0, -6 }, // 0x63 'c'
|
|
{ 426, 7, 8, 8, 0, -7 }, // 0x64 'd'
|
|
{ 433, 7, 7, 8, 0, -6 }, // 0x65 'e'
|
|
{ 440, 5, 8, 7, 1, -7 }, // 0x66 'f'
|
|
{ 445, 7, 9, 8, 0, -6 }, // 0x67 'g'
|
|
{ 453, 7, 8, 8, 0, -7 }, // 0x68 'h'
|
|
{ 460, 2, 7, 3, 0, -6 }, // 0x69 'i'
|
|
{ 462, 3, 9, 5, 1, -6 }, // 0x6A 'j'
|
|
{ 466, 7, 8, 8, 0, -7 }, // 0x6B 'k'
|
|
{ 473, 2, 8, 3, 0, -7 }, // 0x6C 'l'
|
|
{ 475, 8, 7, 10, 1, -6 }, // 0x6D 'm'
|
|
{ 482, 7, 7, 8, 0, -6 }, // 0x6E 'n'
|
|
{ 489, 7, 7, 8, 0, -6 }, // 0x6F 'o'
|
|
{ 496, 7, 9, 8, 0, -6 }, // 0x70 'p'
|
|
{ 504, 7, 9, 8, 0, -6 }, // 0x71 'q'
|
|
{ 512, 7, 7, 8, 0, -6 }, // 0x72 'r'
|
|
{ 519, 7, 7, 8, 0, -6 }, // 0x73 's'
|
|
{ 526, 8, 8, 10, 1, -7 }, // 0x74 't'
|
|
{ 534, 7, 7, 8, 0, -6 }, // 0x75 'u'
|
|
{ 541, 7, 7, 8, 0, -6 }, // 0x76 'v'
|
|
{ 548, 8, 7, 10, 1, -6 }, // 0x77 'w'
|
|
{ 555, 7, 7, 8, 0, -6 }, // 0x78 'x'
|
|
{ 562, 7, 9, 8, 0, -6 }, // 0x79 'y'
|
|
{ 570, 7, 7, 8, 0, -6 }, // 0x7A 'z'
|
|
{ 577, 5, 8, 7, 1, -7 }, // 0x7B '{'
|
|
{ 582, 2, 8, 3, 0, -7 }, // 0x7C '|'
|
|
{ 584, 5, 8, 7, 1, -7 }, // 0x7D '}'
|
|
{ 589, 8, 5, 10, 1, -6 } }; // 0x7E '~'
|
|
|
|
const GFXfont org_01_12pt7b = {
|
|
(uint8_t *)org_01_12pt7bBitmaps,
|
|
(GFXglyph *)org_01_12pt7bGlyphs,
|
|
0x20, 0x7E, 12 };//B
|
|
|
|
// Approx. 1266 bytes
|