From 00b1557797ebea1fe55145163bf9d6b02eaa9e10 Mon Sep 17 00:00:00 2001 From: jdolan Date: Fri, 28 Jun 2013 09:07:02 -0400 Subject: [PATCH] Add FontConfig configuration file and turn on FC_DEBUG. --- apple/GtkRadiant.app/Contents/MacOS/radiant | 3 + .../Contents/Resources/etc/fonts/fonts.conf | 133 ++++++++++++++++++ apple/Makefile | 3 +- 3 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 apple/GtkRadiant.app/Contents/Resources/etc/fonts/fonts.conf diff --git a/apple/GtkRadiant.app/Contents/MacOS/radiant b/apple/GtkRadiant.app/Contents/MacOS/radiant index 0ef3a975..64f07358 100755 --- a/apple/GtkRadiant.app/Contents/MacOS/radiant +++ b/apple/GtkRadiant.app/Contents/MacOS/radiant @@ -11,6 +11,9 @@ set -x resources="${RADIANT_HOME}/Contents/Resources" +export FONTCONFIG_PATH="${resources}/etc/fonts" +export FC_DEBUG=1024 + export GDK_GL_LIBGL_PATH="${resources}/lib/libGL.1.dylib" export GDK_GL_LIBGLU_PATH="${resources}/lib/libGLU.1.dylib" diff --git a/apple/GtkRadiant.app/Contents/Resources/etc/fonts/fonts.conf b/apple/GtkRadiant.app/Contents/Resources/etc/fonts/fonts.conf new file mode 100644 index 00000000..7183a4be --- /dev/null +++ b/apple/GtkRadiant.app/Contents/Resources/etc/fonts/fonts.conf @@ -0,0 +1,133 @@ + + + + + + + + /usr/X11/lib/X11/fonts + /Library/Fonts + /System/Library/Fonts + fonts + + + + + mono + + + monospace + + + + + + + sans serif + + + sans-serif + + + + + + + sans + + + sans-serif + + + + + fontconfig + + + + + 0x0020 + 0x00A0 + 0x00AD + 0x034F + 0x0600 + 0x0601 + 0x0602 + 0x0603 + 0x06DD + 0x070F + 0x115F + 0x1160 + 0x1680 + 0x17B4 + 0x17B5 + 0x180E + 0x2000 + 0x2001 + 0x2002 + 0x2003 + 0x2004 + 0x2005 + 0x2006 + 0x2007 + 0x2008 + 0x2009 + 0x200A + 0x200B + 0x200C + 0x200D + 0x200E + 0x200F + 0x2028 + 0x2029 + 0x202A + 0x202B + 0x202C + 0x202D + 0x202E + 0x202F + 0x205F + 0x2060 + 0x2061 + 0x2062 + 0x2063 + 0x206A + 0x206B + 0x206C + 0x206D + 0x206E + 0x206F + 0x2800 + 0x3000 + 0x3164 + 0xFEFF + 0xFFA0 + 0xFFF9 + 0xFFFA + 0xFFFB + + + + 30 + + + + + diff --git a/apple/Makefile b/apple/Makefile index b706c837..31081dd9 100644 --- a/apple/Makefile +++ b/apple/Makefile @@ -68,8 +68,9 @@ bundle: rm -f build image: + find $(TARGET) -name .DS_Store -delete ln -f -s /Applications $(TARGET)/Applications - hdiutil create $(DMG) -srcfolder $(TARGET) -volname $(VOLUME_NAME) + hdiutil create -ov $(DMG) -srcfolder $(TARGET) -volname $(VOLUME_NAME) rm $(TARGET)/Applications clean: