Save ~4% progmem by using a slightly smaller font

This commit is contained in:
Reed Nightingale 2020-01-01 20:49:35 -08:00
parent c8a538511e
commit 2902764d73
4 changed files with 212 additions and 335 deletions

View File

@ -0,0 +1,208 @@
const uint8_t FreeSansBold9pt7bBitmaps[] PROGMEM = {
0xFF, 0xFF, 0xFE, 0x48, 0x7E, 0xEF, 0xDF, 0xBF, 0x74, 0x40, 0x19, 0x86,
0x67, 0xFD, 0xFF, 0x33, 0x0C, 0xC3, 0x33, 0xFE, 0xFF, 0x99, 0x86, 0x61,
0x90, 0x10, 0x1F, 0x1F, 0xDE, 0xFF, 0x3F, 0x83, 0xC0, 0xFC, 0x1F, 0x09,
0xFC, 0xFE, 0xF7, 0xF1, 0xE0, 0x40, 0x38, 0x10, 0x7C, 0x30, 0xC6, 0x20,
0xC6, 0x40, 0xC6, 0x40, 0x7C, 0x80, 0x39, 0x9C, 0x01, 0x3E, 0x03, 0x63,
0x02, 0x63, 0x04, 0x63, 0x0C, 0x3E, 0x08, 0x1C, 0x0E, 0x01, 0xF8, 0x3B,
0x83, 0xB8, 0x3F, 0x01, 0xE0, 0x3E, 0x67, 0x76, 0xE3, 0xEE, 0x1C, 0xF3,
0xC7, 0xFE, 0x3F, 0x70, 0xFF, 0xF4, 0x18, 0x63, 0x1C, 0x73, 0x8E, 0x38,
0xE3, 0x8E, 0x18, 0x70, 0xC3, 0x06, 0x08, 0x61, 0x83, 0x0E, 0x38, 0x71,
0xC7, 0x1C, 0x71, 0xC6, 0x38, 0xE3, 0x18, 0x40, 0x21, 0x3E, 0x45, 0x28,
0x38, 0x70, 0xE7, 0xFF, 0xE7, 0x0E, 0x1C, 0xFC, 0x9C, 0xFF, 0xC0, 0xFC,
0x08, 0xC4, 0x23, 0x10, 0x84, 0x62, 0x11, 0x88, 0x00, 0x3E, 0x3F, 0x9D,
0xDC, 0x7E, 0x3F, 0x1F, 0x8F, 0xC7, 0xE3, 0xF1, 0xDD, 0xCF, 0xE3, 0xE0,
0x08, 0xFF,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t7bGlyphs[] PROGMEM = {
{ 0, 0, 0, 5, 0, 1 }, // 0x20 ' '
{ 0, 3, 13, 6, 2, -12 }, // 0x21 '!'
{ 5, 7, 5, 9, 1, -12 }, // 0x22 '"'
{ 10, 10, 12, 10, 0, -11 }, // 0x23 '#'
{ 25, 9, 15, 10, 1, -13 }, // 0x24 '$'
{ 42, 16, 13, 16, 0, -12 }, // 0x25 '%'
{ 68, 12, 13, 13, 1, -12 }, // 0x26 '&'
{ 88, 3, 5, 5, 1, -12 }, // 0x27 '''
{ 90, 6, 17, 6, 1, -12 }, // 0x28 '('
{ 103, 6, 17, 6, 0, -12 }, // 0x29 ')'
{ 116, 5, 6, 7, 1, -12 }, // 0x2A '*'
{ 120, 7, 8, 11, 2, -7 }, // 0x2B '+'
{ 127, 3, 5, 4, 1, -1 }, // 0x2C ','
{ 129, 5, 2, 6, 0, -5 }, // 0x2D '-'
{ 131, 3, 2, 4, 1, -1 }, // 0x2E '.'
{ 132, 5, 13, 5, 0, -12 }, // 0x2F '/'
{ 141, 9, 13, 10, 1, -12 }, // 0x30 '0'
{ 156, 5, 13, 10, 2, -12 }, // 0x31 '1'
{ 165, 9, 13, 10, 1, -12 }, // 0x32 '2'
{ 180, 8, 13, 10, 1, -12 }, // 0x33 '3'
{ 193, 8, 13, 10, 2, -12 }, // 0x34 '4'
{ 206, 9, 13, 10, 1, -12 }, // 0x35 '5'
{ 221, 9, 13, 10, 1, -12 }, // 0x36 '6'
{ 236, 9, 13, 10, 0, -12 }, // 0x37 '7'
{ 251, 10, 13, 10, 0, -12 }, // 0x38 '8'
{ 268, 9, 13, 10, 1, -12 }, // 0x39 '9'
{ 283, 3, 9, 4, 1, -8 }, // 0x3A ':'
{ 287, 3, 12, 4, 1, -8 }, // 0x3B ';'
{ 292, 9, 9, 11, 1, -8 }, // 0x3C '<'
{ 303, 9, 6, 11, 1, -6 }, // 0x3D '='
{ 310, 9, 9, 11, 1, -8 }, // 0x3E '>'
{ 321, 9, 13, 11, 1, -12 }, // 0x3F '?'
{ 336, 16, 15, 18, 0, -12 }, // 0x40 '@'
{ 366, 12, 13, 13, 0, -12 }, // 0x41 'A'
{ 386, 11, 13, 13, 1, -12 }, // 0x42 'B'
{ 404, 12, 13, 13, 1, -12 }, // 0x43 'C'
{ 424, 12, 13, 13, 1, -12 }, // 0x44 'D'
{ 444, 9, 13, 12, 1, -12 }, // 0x45 'E'
{ 459, 9, 13, 11, 1, -12 }, // 0x46 'F'
{ 474, 11, 13, 14, 1, -12 }, // 0x47 'G'
{ 492, 11, 13, 13, 1, -12 }, // 0x48 'H'
{ 510, 3, 13, 6, 1, -12 }, // 0x49 'I'
{ 515, 8, 13, 10, 1, -12 }, // 0x4A 'J'
{ 528, 12, 13, 13, 1, -12 }, // 0x4B 'K'
{ 548, 8, 13, 11, 1, -12 }, // 0x4C 'L'
{ 561, 14, 13, 16, 1, -12 }, // 0x4D 'M'
{ 584, 11, 13, 14, 1, -12 }, // 0x4E 'N'
{ 602, 13, 13, 14, 1, -12 }, // 0x4F 'O'
{ 624, 11, 13, 12, 1, -12 }, // 0x50 'P'
{ 642, 13, 14, 14, 1, -12 }, // 0x51 'Q'
{ 665, 12, 13, 13, 1, -12 }, // 0x52 'R'
{ 685, 11, 13, 12, 1, -12 }, // 0x53 'S'
{ 703, 9, 13, 12, 2, -12 }, // 0x54 'T'
{ 718, 11, 13, 13, 1, -12 }, // 0x55 'U'
{ 736, 12, 13, 12, 0, -12 }, // 0x56 'V'
{ 756, 17, 13, 17, 0, -12 }, // 0x57 'W'
{ 784, 12, 13, 12, 0, -12 }, // 0x58 'X'
{ 804, 11, 13, 12, 1, -12 }, // 0x59 'Y'
{ 822, 9, 13, 11, 1, -12 }, // 0x5A 'Z'
{ 837, 4, 17, 6, 1, -12 }, // 0x5B '['
{ 846, 5, 13, 5, 0, -12 }, // 0x5C '\'
{ 855, 4, 17, 6, 0, -12 }, // 0x5D ']'
{ 864, 8, 8, 11, 1, -12 }, // 0x5E '^'
{ 872, 10, 1, 10, 0, 4 }, // 0x5F '_'
{ 874, 3, 2, 5, 0, -12 }, // 0x60 '`'
{ 875, 10, 10, 10, 1, -9 }, // 0x61 'a'
{ 888, 10, 13, 11, 1, -12 }, // 0x62 'b'
{ 905, 9, 10, 10, 1, -9 }, // 0x63 'c'
{ 917, 9, 13, 11, 1, -12 }, // 0x64 'd'
{ 932, 9, 10, 10, 1, -9 }, // 0x65 'e'
{ 944, 5, 13, 6, 1, -12 }, // 0x66 'f'
{ 953, 9, 14, 11, 1, -9 }, // 0x67 'g'
{ 969, 9, 13, 11, 1, -12 }, // 0x68 'h'
{ 984, 3, 13, 5, 1, -12 }, // 0x69 'i'
{ 989, 4, 17, 5, 0, -12 }, // 0x6A 'j'
{ 998, 9, 13, 10, 1, -12 }, // 0x6B 'k'
{ 1013, 3, 13, 5, 1, -12 }, // 0x6C 'l'
{ 1018, 14, 10, 16, 1, -9 }, // 0x6D 'm'
{ 1036, 9, 10, 11, 1, -9 }, // 0x6E 'n'
{ 1048, 10, 10, 11, 1, -9 }, // 0x6F 'o'
{ 1061, 10, 14, 11, 1, -9 }, // 0x70 'p'
{ 1079, 9, 14, 11, 1, -9 }, // 0x71 'q'
{ 1095, 6, 10, 7, 1, -9 }, // 0x72 'r'
{ 1103, 9, 10, 10, 1, -9 }, // 0x73 's'
{ 1115, 5, 12, 6, 1, -11 }, // 0x74 't'
{ 1123, 9, 10, 11, 1, -9 }, // 0x75 'u'
{ 1135, 10, 10, 10, 0, -9 }, // 0x76 'v'
{ 1148, 14, 10, 14, 0, -9 }, // 0x77 'w'
{ 1166, 10, 10, 10, 0, -9 }, // 0x78 'x'
{ 1179, 10, 14, 10, 0, -9 }, // 0x79 'y'
{ 1197, 8, 10, 9, 1, -9 }, // 0x7A 'z'
{ 1207, 4, 17, 7, 1, -12 }, // 0x7B '{'
{ 1216, 1, 17, 5, 2, -12 }, // 0x7C '|'
{ 1219, 4, 17, 7, 2, -12 }, // 0x7D '}'
{ 1228, 8, 2, 9, 0, -4 } }; // 0x7E '~'
const GFXfont FreeSansBold9pt7b PROGMEM = {
(uint8_t *)FreeSansBold9pt7bBitmaps,
(GFXglyph *)FreeSansBold9pt7bGlyphs,
0x20, 0x7E, 22 };
// Approx. 1902 bytes

View File

@ -1,337 +1,6 @@
#include "nano_font.h"
#include <avr/pgmspace.h>
const uint8_t ubitxBitmaps[] PROGMEM = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80, 0xFC,
0x07, 0xE0, 0x3F, 0x01, 0xF8, 0x0F, 0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80,
0xFC, 0x07, 0xFF, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0,
0x7E, 0x03, 0xF0, 0x1F, 0x80, 0xFC, 0x07, 0xE0, 0x3F, 0x01, 0xF8, 0x0F,
0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80, 0xFC, 0x07, 0xFF, 0xFF, 0xFF, 0xC0,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80, 0xFC,
0x07, 0xE0, 0x3F, 0x01, 0xF8, 0x0F, 0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80,
0xFC, 0x07, 0xFF, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0,
0x7E, 0x03, 0xF0, 0x1F, 0x80, 0xFC, 0x07, 0xE0, 0x3F, 0x01, 0xF8, 0x0F,
0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80, 0xFC, 0x07, 0xFF, 0xFF, 0xFF, 0xC0,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80, 0xFC,
0x07, 0xE0, 0x3F, 0x01, 0xF8, 0x0F, 0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x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, 0xFF, 0xFF, 0xFF, 0xC0, 0x06, 0x3C, 0xF9, 0xC3,
0x87, 0x0E, 0x1C, 0x38, 0x73, 0xC7, 0x0F, 0x07, 0x0E, 0x1C, 0x38, 0x70,
0xE1, 0xC3, 0xE7, 0xC7, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0xC3,
0xCF, 0x0C, 0x38, 0xE3, 0x8E, 0x38, 0xE3, 0xC7, 0x3C, 0xE3, 0x8E, 0x38,
0xE3, 0x8E, 0xF3, 0xCE, 0x00, 0x10, 0x0F, 0x85, 0xBD, 0xE1, 0xF0, 0x08,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80, 0xFC,
0x07, 0xE0, 0x3F, 0x01, 0xF8, 0x0F, 0xC0, 0x7E, 0x03, 0xF0, 0x1F, 0x80,
0xFC, 0x07, 0xFF, 0xFF, 0xFF, 0xC0 };
#include "PDQ_MinLib/FreeSansBold9pt7b.h"
const GFXglyph ubitxGlyphs[] PROGMEM = {
{ 0, 13, 18, 17, 2, -17 }, // 0x14
{ 30, 13, 18, 17, 2, -17 }, // 0x15
{ 60, 13, 18, 17, 2, -17 }, // 0x16
{ 90, 13, 18, 17, 2, -17 }, // 0x17
{ 120, 13, 18, 17, 2, -17 }, // 0x18
{ 150, 13, 18, 17, 2, -17 }, // 0x19
{ 180, 13, 18, 17, 2, -17 }, // 0x1A
{ 210, 13, 18, 17, 2, -17 }, // 0x1B
{ 240, 13, 18, 17, 2, -17 }, // 0x1C
{ 270, 13, 18, 17, 2, -17 }, // 0x1D
{ 300, 13, 18, 17, 2, -17 }, // 0x1E
{ 330, 13, 18, 17, 2, -17 }, // 0x1F
{ 360, 0, 0, 7, 0, 1 }, // 0x20 ' '
{ 360, 3, 17, 8, 3, -16 }, // 0x21 '!'
{ 367, 9, 7, 11, 1, -17 }, // 0x22 '"'
{ 375, 13, 18, 13, 0, -16 }, // 0x23 '#'
{ 405, 12, 21, 13, 1, -17 }, // 0x24 '$'
{ 437, 20, 17, 21, 1, -16 }, // 0x25 '%'
{ 480, 16, 18, 17, 1, -16 }, // 0x26 '&'
{ 516, 4, 7, 6, 1, -17 }, // 0x27 '''
{ 520, 6, 23, 8, 1, -17 }, // 0x28 '('
{ 538, 6, 23, 8, 1, -17 }, // 0x29 ')'
{ 556, 8, 8, 9, 1, -17 }, // 0x2A '*'
{ 564, 12, 11, 14, 1, -10 }, // 0x2B '+'
{ 581, 3, 8, 7, 2, -3 }, // 0x2C ','
{ 584, 6, 3, 8, 1, -7 }, // 0x2D '-'
{ 587, 3, 4, 7, 2, -3 }, // 0x2E '.'
{ 589, 7, 17, 7, 0, -16 }, // 0x2F '/'
{ 604, 11, 18, 13, 1, -16 }, // 0x30 '0'
{ 629, 7, 17, 13, 2, -16 }, // 0x31 '1'
{ 644, 11, 17, 13, 1, -16 }, // 0x32 '2'
{ 668, 11, 18, 13, 1, -16 }, // 0x33 '3'
{ 693, 12, 17, 13, 1, -16 }, // 0x34 '4'
{ 719, 11, 18, 13, 1, -16 }, // 0x35 '5'
{ 744, 11, 18, 13, 1, -16 }, // 0x36 '6'
{ 769, 12, 17, 13, 1, -16 }, // 0x37 '7'
{ 795, 12, 18, 13, 1, -16 }, // 0x38 '8'
{ 822, 11, 18, 13, 1, -16 }, // 0x39 '9'
{ 847, 3, 12, 8, 3, -11 }, // 0x3A ':'
{ 852, 3, 16, 8, 3, -11 }, // 0x3B ';'
{ 858, 12, 11, 14, 1, -10 }, // 0x3C '<'
{ 875, 12, 9, 14, 1, -9 }, // 0x3D '='
{ 889, 12, 11, 14, 1, -10 }, // 0x3E '>'
{ 906, 11, 18, 15, 2, -17 }, // 0x3F '?'
{ 931, 22, 21, 23, 1, -17 }, // 0x40 '@'
{ 989, 16, 18, 17, 1, -17 }, // 0x41 'A'
{ 1025, 14, 18, 17, 2, -17 }, // 0x42 'B'
{ 1057, 15, 19, 17, 1, -17 }, // 0x43 'C'
{ 1093, 14, 18, 17, 2, -17 }, // 0x44 'D'
{ 1125, 13, 18, 16, 2, -17 }, // 0x45 'E'
{ 1155, 12, 18, 15, 2, -17 }, // 0x46 'F'
{ 1182, 16, 18, 19, 1, -17 }, // 0x47 'G'
{ 1218, 14, 18, 17, 2, -17 }, // 0x48 'H'
{ 1250, 3, 18, 7, 2, -17 }, // 0x49 'I'
{ 1257, 11, 19, 13, 1, -17 }, // 0x4A 'J'
{ 1284, 15, 18, 17, 2, -17 }, // 0x4B 'K'
{ 1318, 12, 18, 15, 2, -17 }, // 0x4C 'L'
{ 1345, 17, 18, 20, 2, -17 }, // 0x4D 'M'
{ 1384, 14, 18, 17, 2, -17 }, // 0x4E 'N'
{ 1416, 17, 19, 19, 1, -17 }, // 0x4F 'O'
{ 1457, 13, 18, 16, 2, -17 }, // 0x50 'P'
{ 1487, 17, 19, 19, 1, -17 }, // 0x51 'Q'
{ 1528, 14, 18, 17, 2, -17 }, // 0x52 'R'
{ 1560, 14, 19, 16, 1, -17 }, // 0x53 'S'
{ 1594, 14, 18, 15, 0, -17 }, // 0x54 'T'
{ 1626, 14, 19, 17, 2, -17 }, // 0x55 'U'
{ 1660, 15, 18, 16, 1, -17 }, // 0x56 'V'
{ 1694, 22, 18, 23, 0, -17 }, // 0x57 'W'
{ 1744, 15, 18, 16, 1, -17 }, // 0x58 'X'
{ 1778, 15, 18, 16, 1, -17 }, // 0x59 'Y'
{ 1812, 13, 18, 15, 1, -17 }, // 0x5A 'Z'
{ 1842, 5, 23, 8, 2, -17 }, // 0x5B '['
{ 1857, 7, 17, 7, 0, -16 }, // 0x5C '\'
{ 1872, 6, 23, 8, 0, -17 }, // 0x5D ']'
{ 1890, 12, 11, 14, 1, -16 }, // 0x5E '^'
{ 1907, 15, 2, 13, -1, 4 }, // 0x5F '_'
{ 1911, 5, 3, 8, 0, -17 }, // 0x60 '`'
{ 1913, 12, 14, 13, 1, -12 }, // 0x61 'a'
{ 1934, 13, 19, 15, 1, -17 }, // 0x62 'b'
{ 1965, 12, 14, 13, 1, -12 }, // 0x63 'c'
{ 1986, 12, 19, 15, 1, -17 }, // 0x64 'd'
{ 2015, 12, 14, 13, 1, -12 }, // 0x65 'e'
{ 2036, 8, 18, 8, 0, -17 }, // 0x66 'f'
{ 2054, 12, 18, 15, 1, -12 }, // 0x67 'g'
{ 2081, 11, 18, 15, 2, -17 }, // 0x68 'h'
{ 2106, 3, 18, 7, 2, -17 }, // 0x69 'i'
{ 2113, 5, 23, 7, 0, -17 }, // 0x6A 'j'
{ 2128, 12, 18, 13, 1, -17 }, // 0x6B 'k'
{ 2155, 3, 18, 7, 2, -17 }, // 0x6C 'l'
{ 2162, 19, 13, 21, 1, -12 }, // 0x6D 'm'
{ 2193, 11, 13, 15, 2, -12 }, // 0x6E 'n'
{ 2211, 13, 14, 15, 1, -12 }, // 0x6F 'o'
{ 2234, 13, 18, 15, 1, -12 }, // 0x70 'p'
{ 2264, 12, 18, 15, 1, -12 }, // 0x71 'q'
{ 2291, 7, 13, 9, 2, -12 }, // 0x72 'r'
{ 2303, 11, 14, 13, 1, -12 }, // 0x73 's'
{ 2323, 7, 17, 8, 0, -15 }, // 0x74 't'
{ 2338, 12, 14, 15, 1, -12 }, // 0x75 'u'
{ 2359, 13, 13, 13, 0, -12 }, // 0x76 'v'
{ 2381, 18, 13, 19, 0, -12 }, // 0x77 'w'
{ 2411, 13, 13, 13, 0, -12 }, // 0x78 'x'
{ 2433, 13, 18, 13, 0, -12 }, // 0x79 'y'
{ 2463, 10, 13, 12, 1, -12 }, // 0x7A 'z'
{ 2480, 7, 23, 9, 1, -17 }, // 0x7B '{'
{ 2501, 2, 23, 7, 2, -17 }, // 0x7C '|'
{ 2507, 6, 23, 9, 2, -17 }, // 0x7D '}'
{ 2525, 11, 5, 14, 1, -7 }, // 0x7E '~'
{ 2532, 13, 18, 17, 2, -17 } }; // 0x7F
const GFXfont ubitx_font PROGMEM = {
(uint8_t *)ubitxBitmaps,
(GFXglyph *)ubitxGlyphs,
0x14,
0x7F,
33};
// Approx. 3325 bytes
const GFXfont* ubitx_font = &FreeSansBold9pt7b;

View File

@ -4,6 +4,6 @@
#include <stdint.h>
#include "PDQ_MinLib/gfxfont.h"
extern const GFXfont ubitx_font;
extern const GFXfont* ubitx_font;
#endif //_NANO_FONT

View File

@ -154,7 +154,7 @@ bool xpt2046_Init(){
void displayInit(void){
tft.begin();
tft.setFont(&ubitx_font);
tft.setFont(ubitx_font);
tft.setTextWrap(false);
tft.setTextColor(DISPLAY_GREEN,DISPLAY_BLACK);
tft.setTextSize(1);