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
This commit is contained in:
2026-09-22 14:37:56 -05:00
parent 5181f163e8
commit 6e79035cc3

View File

@@ -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