Disable fontconfig under OSX. Fixes #4785.

This commit is contained in:
Paul Chote
2014-08-22 23:33:23 +12:00
parent 520df8242d
commit aa71f59688
2 changed files with 6 additions and 1 deletions

View File

@@ -30,4 +30,5 @@ then
exit 1
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/>