Pango loads Tux Paint-supplied fonts on macOS.

Previously Pango loaded system-supplied fonts instead, which could lead
to fonts not rendering in a human-readable text.  This change fixes
https://sourceforge.net/p/tuxpaint/bugs/265/
This commit is contained in:
Mark Kim 2022-12-02 22:56:29 -05:00
parent e00b6b4f4a
commit 3849480fd4
9 changed files with 178 additions and 6 deletions

View file

@ -208,6 +208,7 @@ extern w_langs wished_langs[255];
int get_current_language(void);
int setup_i18n(const char *restrict lang, const char *restrict locale,
int *ptr_num_wished_languages) MUST_CHECK;
void mysetenv(const char *name, const char *value);
#ifdef NO_SDLPANGO
int smash_i18n(void) MUST_CHECK;