X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=telegps%2FTeleGPS.app%2FContents%2FMacOS%2FJavaApplicationStub;fp=telegps%2FTeleGPS.app%2FContents%2FMacOS%2FJavaApplicationStub;h=145a260ba76c07cfcb7dffb469b6191049f4d556;hp=16966918da4e3f715b18f4e71db0714ebb17f56e;hb=7fc37f145a6ec3f913e908b6500d1e2c6dd405c8;hpb=075999e274dd1815b15c0d717d1af4e7717e5da9 diff --git a/telegps/TeleGPS.app/Contents/MacOS/JavaApplicationStub b/telegps/TeleGPS.app/Contents/MacOS/JavaApplicationStub index 16966918..145a260b 100755 --- a/telegps/TeleGPS.app/Contents/MacOS/JavaApplicationStub +++ b/telegps/TeleGPS.app/Contents/MacOS/JavaApplicationStub @@ -1,4 +1,16 @@ #!/bin/bash +# +# Fix fonts. I don't know why the getting the +# basename of the app set to . matters, but it does +# +case "$0" in + /*) + cd `dirname "$0"` + ./`basename "$0"` "$@" + exit $? + ;; +esac +export FREETYPE_PROPERTIES=truetype:interpreter-version=35 ################################################################################## # # # universalJavaApplicationStub #