Add support to different width fonts

This commit is contained in:
Adolfo Reyna
2026-01-18 23:25:31 -05:00
parent 87e06ae249
commit 3491de4650
18 changed files with 163 additions and 41 deletions

View File

@@ -1,4 +1,4 @@
const unsigned char font_7linedigital[96][6] = {
const unsigned char font_7linedigital[96][4] = {
{0x00,0x00,0x00,0x00}, //
{0x36,0x00,0x00,0x00}, // !
{0x06,0x00,0x00,0x06}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_BMSPA[96][6] = {
const unsigned char font_BMSPA[96][8] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0x00,0x5f,0x00,0x00,0x00,0x00,0x00,0x00}, // !
{0x00,0x03,0x00,0x03,0x00,0x00,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_Commo-Monospaced[96][6] = {
const unsigned char font_Commo_Monospaced[96][8] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0x5f,0x5c,0x00,0x00,0x00,0x00,0x00,0x00}, // !
{0x03,0x07,0x00,0x03,0x07,0x00,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_HUNTER[96][6] = {
const unsigned char font_HUNTER[96][8] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0x5f,0x5f,0x00,0x00,0x00,0x00,0x00,0x00}, // !
{0x07,0x07,0x00,0x07,0x07,0x00,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_Minimum+1[96][6] = {
const unsigned char font_Minimum_1[96][7] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0x7f,0x51,0x7f,0x00,0x00,0x00,0x00}, // !
{0x0f,0x09,0x0f,0x09,0x0f,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_Raumsond[96][6] = {
const unsigned char font_Raumsond[96][5] = {
{0x00,0x00,0x00,0x00,0x00}, //
{0x5c,0x00,0x00,0x00,0x00}, // !
{0x0c,0x00,0x0c,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_bubblesstandard[96][6] = {
const unsigned char font_bubblesstandard[96][7] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0xbf,0x00,0x00,0x00,0x00,0x00,0x00}, // !
{0x03,0x00,0x03,0x00,0x00,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_formplex12[96][6] = {
const unsigned char font_formplex12[96][8] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0x00,0x2f,0x2f,0x00,0x00,0x00,0x00,0x00}, // !
{0x03,0x03,0x00,0x03,0x03,0x00,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_homespun[96][6] = {
const unsigned char font_homespun[96][7] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0x5f,0x00,0x00,0x00,0x00,0x00,0x00}, // !
{0x03,0x00,0x03,0x00,0x00,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_m38[96][6] = {
const unsigned char font_m38[96][8] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0xdf,0xdf,0x00,0x00,0x00,0x00,0x00,0x00}, // !
{0x07,0x07,0x00,0x07,0x07,0x00,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_pzim3x5[96][6] = {
const unsigned char font_pzim3x5[96][3] = {
{0x00,0x00,0x00}, //
{0x00,0x2e,0x00}, // !
{0x06,0x00,0x06}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_renew[96][6] = {
const unsigned char font_renew[96][7] = {
{0x00,0x00,0x00,0x00,0x00,0x00,0x00}, //
{0x5e,0x00,0x00,0x00,0x00,0x00,0x00}, // !
{0x0c,0x00,0x0c,0x00,0x00,0x00,0x00}, // "

View File

@@ -1,4 +1,4 @@
const unsigned char font_tama_mini02[96][6] = {
const unsigned char font_tama_mini02[96][5] = {
{0x00,0x00,0x00,0x00,0x00}, //
{0x2f,0x00,0x00,0x00,0x00}, // !
{0x03,0x00,0x03,0x00,0x00}, // "