]> granicus.if.org Git - handbrake/commitdiff
[merged] Add a default font directory for fontconfig to use when there isn't a config...
authorritsuka <damiog@gmail.com>
Sun, 1 Feb 2015 16:55:58 +0000 (16:55 +0000)
committerritsuka <damiog@gmail.com>
Sun, 1 Feb 2015 16:55:58 +0000 (16:55 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.10.x@6859 b64f7644-9d1e-0410-96f1-a4d463321fa5

contrib/fontconfig/module.defs

index b527731ecf0d02b4631ca5e783717560421c4144..0bf942179a8c76b99d56f82c6d9eeaf34d152cfa 100644 (file)
@@ -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 \