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
11
src/fonts.c
11
src/fonts.c
|
|
@ -83,6 +83,12 @@ unsigned text_size = 4; // initial text size
|
|||
TTF_OpenFont() with the filename of a font that doesn't exist. This
|
||||
is an old and well documented bug that is fixed in CVS.
|
||||
*/
|
||||
|
||||
/* FIXME: SDL_ttf is up to 2.0.8, so we can probably fully remove this
|
||||
-bjk 2007.06.05 */
|
||||
|
||||
/*
|
||||
|
||||
TTF_Font *BUGFIX_TTF_OpenFont206(const char *const file, int ptsize)
|
||||
{
|
||||
FILE *fp;
|
||||
|
|
@ -98,10 +104,9 @@ TTF_Font *BUGFIX_TTF_OpenFont206(const char *const file, int ptsize)
|
|||
#undef TTF_OpenFont
|
||||
return TTF_OpenFont(file, ptsize);
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
#define TTF_OpenFont BUGFIX_TTF_OpenFont206
|
||||
|
||||
/* #define TTF_OpenFont BUGFIX_TTF_OpenFont206 */
|
||||
|
||||
TTF_Font *try_alternate_font(int size)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue