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

@ -1064,7 +1064,7 @@ static void set_langint_from_locale_string(const char *restrict loc)
* @param name Variable to set
* @param value Value to set the variable to
*/
static void mysetenv(const char *name, const char *value)
void mysetenv(const char *name, const char *value)
{
#ifndef HAVE_SETENV
int len;