New starters: 10x10 grid & 20x20 grid
Reordered font-loading to happen after locale switch occurs, to pick up font-organizing string translations (e.g., "Aa", "qx", etc.). Attempting to help address issue of Latin-only fonts being available in non-Latin locales -- seemed to help with Norwegian. Czech translation update. Russian README documentation
This commit is contained in:
parent
7b1c031283
commit
bccb269062
10 changed files with 971 additions and 65 deletions
|
|
@ -1392,14 +1392,17 @@ int main(int argc, char *argv[])
|
|||
|
||||
CLOCK_ASM(time1);
|
||||
|
||||
#ifdef FORKED_FONTS
|
||||
run_font_scanner(screen);
|
||||
#endif
|
||||
|
||||
/* Set up locale support */
|
||||
setlocale(LC_ALL, "");
|
||||
ctype_utf8();
|
||||
|
||||
|
||||
/* NOTE: Moved run_font_scanner() call from here, to right after
|
||||
setup_language(), so that the gettext() calls used while testing fonts
|
||||
actually DO something (per tuxpaint-devel discussion, April 2007)
|
||||
-bjk 2007.06.05 */
|
||||
|
||||
|
||||
/* Set up! */
|
||||
setup(argc, argv);
|
||||
|
||||
|
|
@ -6656,10 +6659,20 @@ static void setup(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
setup_language(getfilename(argv[0]));
|
||||
im_init(&im_data, get_current_language());
|
||||
|
||||
|
||||
/* NOTE: Moved run_font_scanner() call from main(), to here,
|
||||
so that the gettext() calls used while testing fonts
|
||||
actually DO something (per tuxpaint-devel discussion, April 2007)
|
||||
-bjk 2007.06.05 */
|
||||
|
||||
#ifdef FORKED_FONTS
|
||||
run_font_scanner(screen);
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef WIN32
|
||||
putenv((char *) "SDL_VIDEO_X11_WMCLASS=TuxPaint.TuxPaint");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue