Merge pull request #6300 from pchote/fix-font-freeze

Disable fontconfig in packaged OSX build.
This commit is contained in:
Matthias Mailänder
2014-08-23 15:29:18 +02:00
2 changed files with 6 additions and 1 deletions

View File

@@ -30,4 +30,5 @@ then
exit 1 exit 1
fi fi
cd "$RESOURCES" && mono --debug OpenRA.Game.exe Graphics.Renderer=Sdl2 # Override fontconfig with our own dummy config that prevents long cache delays
cd "$RESOURCES" && FONTCONFIG_PATH="." mono --debug OpenRA.Game.exe Graphics.Renderer=Sdl2

View File

@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- dummy fonts.conf file that removed unwanted system overhead -->
<fontconfig/>