From: Rudolf Polzer Date: Thu, 9 Dec 2010 05:57:25 +0000 (+0100) Subject: we need a fonts.conf file for fontconfig to work on win32 X-Git-Tag: xonotic-v0.5.0~132 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d5a678f5d08779e649e022a6fec8ee2987e11685;p=xonotic%2Fnetradiant.git we need a fonts.conf file for fontconfig to work on win32 --- diff --git a/install-dlls.sh b/install-dlls.sh index 0776cb7b..311a6f9c 100755 --- a/install-dlls.sh +++ b/install-dlls.sh @@ -37,19 +37,157 @@ for DLL in \ $CP "`$WHICHDLL $DLL`" $INSTALLDIR/ done -# apparently we no longer need this workaround: -# -# $CP "$GTKDIR/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.dll" $INSTALLDIR/libgdk-win32-2.0-0-pixbufloader-bmp.dll -# $MKDIR $INSTALLDIR/etc/gtk-2.0 -# $CAT > $INSTALLDIR/etc/gtk-2.0/gdk-pixbuf.loaders <<'EOF' -# # GdkPixbuf Image Loader Modules file -# # -# # -# -# "libgdk-win32-2.0-0-pixbufloader-bmp.dll" -# "bmp" 5 "gtk20" "The BMP image format" -# "image/bmp" "image/x-bmp" "image/x-MS-bmp" "" -# "bmp" "" -# "BM" "" 100 -# -# EOF +$MKDIR $INSTALLDIR/etc/fonts +$CAT > $INSTALLDIR/etc/fonts/fonts.conf + + + + + + + + + + WINDOWSFONTDIR + + ~/.fonts + + + + + mono + + + monospace + + + + + + + sans serif + + + sans-serif + + + + + + + sans + + + sans-serif + + + + + conf.d + + + + WINDOWSTEMPDIR_FONTCONFIG_CACHE + ~/.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 + + + + +EOF