summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-30 09:21:47 +0000
committerritsuka <[email protected]>2015-01-30 09:21:47 +0000
commita3740ce5c6849989f4e74b8eb06c6bf098b90d59 (patch)
treed04db4c495344477bb341be01007399f416ad506
parent98e54a8b93fc92e9d417375afe746049e54ed78d (diff)
Add a default font directory for fontconfig to use when there isn't a configuration file available. Move the font cache to the user directory.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6828 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--contrib/fontconfig/module.defs4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/fontconfig/module.defs b/contrib/fontconfig/module.defs
index b527731ec..0bf942179 100644
--- a/contrib/fontconfig/module.defs
+++ b/contrib/fontconfig/module.defs
@@ -86,7 +86,9 @@ FONTCONFIG.CONFIGURE.extra += \
LIBXML2_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lxml2" \
LIBXML2_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include/libxml2" \
--with-fcpath=/usr/X11/lib/X11/fontconfig \
- --with-cache-dir=/usr/X11/var/cache/fontconfig
+ --with-cache-dir=~/Library/Caches/fontconfig \
+ --with-default-fonts=/Library/Fonts \
+ --with-add-fonts=/System/Library/Fonts,~/Library/Fonts
else ifeq (linux,$(BUILD.system))
FONTCONFIG.CONFIGURE.extra += \
--with-fcpath=/etc/fonts \