diff options
author | ritsuka <[email protected]> | 2015-01-30 09:21:47 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-01-30 09:21:47 +0000 |
commit | a3740ce5c6849989f4e74b8eb06c6bf098b90d59 (patch) | |
tree | d04db4c495344477bb341be01007399f416ad506 /contrib/fontconfig | |
parent | 98e54a8b93fc92e9d417375afe746049e54ed78d (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
Diffstat (limited to 'contrib/fontconfig')
-rw-r--r-- | contrib/fontconfig/module.defs | 4 |
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 \ |