From 6780373a501b0334e6128c66918a5833a5cc8f64 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 3 Dec 2015 11:44:57 -0800 Subject: [PATCH] Remove fontconfig config files from the OS X package --- .../Contents/Resources/etc/fonts/fonts.conf | 153 ------------ .../Contents/Resources/etc/fonts/fonts.dtd | 224 ------------------ tools/osx-bundle.sh | 6 - 3 files changed, 383 deletions(-) delete mode 100644 packages/osx_bundle/Contents/Resources/etc/fonts/fonts.conf delete mode 100644 packages/osx_bundle/Contents/Resources/etc/fonts/fonts.dtd diff --git a/packages/osx_bundle/Contents/Resources/etc/fonts/fonts.conf b/packages/osx_bundle/Contents/Resources/etc/fonts/fonts.conf deleted file mode 100644 index 171bf6f3e..000000000 --- a/packages/osx_bundle/Contents/Resources/etc/fonts/fonts.conf +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - /Library/Fonts - /Network/Library/Fonts - /System/Library/Fonts - ~/Library/Application Support/Aegisub/fonts - ~/Library/Fonts - - - - - mono - - - monospace - - - - - - - sans serif - - - sans-serif - - - - - - - sans - - - sans-serif - - - - - conf.d - - - - ~/Library/Application Support/Aegisub/font_cache - - - - - - 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/packages/osx_bundle/Contents/Resources/etc/fonts/fonts.dtd b/packages/osx_bundle/Contents/Resources/etc/fonts/fonts.dtd deleted file mode 100644 index cbdfdab3f..000000000 --- a/packages/osx_bundle/Contents/Resources/etc/fonts/fonts.dtd +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tools/osx-bundle.sh b/tools/osx-bundle.sh index b400d4a51..eb82b554f 100755 --- a/tools/osx-bundle.sh +++ b/tools/osx-bundle.sh @@ -26,9 +26,6 @@ mkdir -v "${PKG_DIR}" mkdir -v "${PKG_DIR}/Contents" mkdir -v "${PKG_DIR}/Contents/MacOS" mkdir -v "${PKG_DIR}/Contents/Resources" -mkdir -v "${PKG_DIR}/Contents/Resources/etc" -mkdir -v "${PKG_DIR}/Contents/Resources/etc/fonts" -mkdir -v "${PKG_DIR}/Contents/Resources/etc/fonts/conf.d" mkdir -v "${PKG_DIR}/Contents/SharedSupport" mkdir -v "${PKG_DIR}/Contents/SharedSupport/dictionaries" @@ -45,9 +42,6 @@ find po -name *.po | sed 's/.*\/\(.*\)\.po/ \1<\/string>/; s/RS/Y find ${SKEL_DIR} -type f -not -regex ".*.svn.*" cp ${SKEL_DIR}/Contents/Resources/*.icns "${PKG_DIR}/Contents/Resources" -cp ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.dtd "${PKG_DIR}/Contents/Resources/etc/fonts" -cat ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.conf | sed -f tools/osx-bundle.sed > "${PKG_DIR}/Contents/Resources/etc/fonts/fonts.conf" -cp ${FONTCONFIG_CONF_DIR}/conf.d/*.conf "${PKG_DIR}/Contents/Resources/etc/fonts/conf.d" cat ${SKEL_DIR}/Contents/Info.plist | sed -f tools/osx-bundle.sed > "${PKG_DIR}/Contents/Info.plist" rm languages