macosx: Hack JavaApplicationStub to set freetype properties
[fw/altos] / telegps / TeleGPS.app / Contents / MacOS / JavaApplicationStub
index 16966918da4e3f715b18f4e71db0714ebb17f56e..145a260ba76c07cfcb7dffb469b6191049f4d556 100755 (executable)
@@ -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                                                   #