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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user