Merge pull request #6300 from pchote/fix-font-freeze
Disable fontconfig in packaged OSX build.
This commit is contained in:
@@ -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
|
||||||
4
packaging/osx/template.app/Contents/Resources/fonts.conf
Normal file
4
packaging/osx/template.app/Contents/Resources/fonts.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<!-- dummy fonts.conf file that removed unwanted system overhead -->
|
||||||
|
<fontconfig/>
|
||||||
Reference in New Issue
Block a user