From 6e79035cc304df99dcfc115a85e13f22e2ab0d67 Mon Sep 17 00:00:00 2001 From: Brett Bergstrom Date: Tue, 22 Sep 2026 14:37:56 -0500 Subject: [PATCH] signing off. todo in commit description todo: fix 0-wide chars minimum of 1px, minimum of some other px for spaces. chars with no width cause the base allegro_font addon to fail. new optional param in load call to specify ranges from within the game --- allegro_schrift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allegro_schrift.c b/allegro_schrift.c index b97e811..dddd860 100644 --- a/allegro_schrift.c +++ b/allegro_schrift.c @@ -65,7 +65,7 @@ ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file, al_get_config_value(system_cfg, "ttf", "cache_text"); if (!cache_text_str) { ALLEGRO_ERROR("No characters defined in cache_text! Using defaults\n"); - cache_text_str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 "; + cache_text_str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?/()@#$%^&*-_=+<>~`\u007F "; } // read font file