Now the default font is loaded from the skin (skins/default_skin_font.pcx).

This commit is contained in:
David Capello 2010-03-08 23:34:48 -02:00
parent f0cb918717
commit 3e1f0e1a63

View File

@ -575,8 +575,8 @@ void reload_default_font()
if ((user_font) && (*user_font)) if ((user_font) && (*user_font))
dirs_add_path(dirs, user_font); dirs_add_path(dirs, user_font);
usprintf(buf, "fonts/ase%d.pcx", jguiscale()); // TODO This should be in SkinneableTheme class
dirs_cat_dirs(dirs, filename_in_datadir(buf)); dirs_cat_dirs(dirs, filename_in_datadir("skins/default_skin_font.pcx"));
// Try to load the font // Try to load the font
for (dir=dirs; dir; dir=dir->next) { for (dir=dirs; dir; dir=dir->next) {