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

@ -4,7 +4,7 @@ BUNDLE=TuxPaint.app
BINARY="$BUNDLE/Contents/MacOS/tuxpaint"
LIBS=`find $BUNDLE/Contents/Resources/lib -type f`
LIBDIR="$BUNDLE/Contents/lib"
CONF_FILES="/opt/local/etc/fonts/fonts.conf"
CONF_FILES="macos/fonts.conf"
CONFDIR="$BUNDLE/Contents/Resources/etc"