From 4a9f618d9f3b2d964bcc819426cc3042b8e447f7 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 18 Sep 2013 22:13:18 +0200 Subject: osxbundle: fonts.conf: only look for fonts in ~/.mpv/fonts This is to avoid the 30s hang while mpv caches fonts. In practice all the fonts an average user is going to use are embedded in mkv files so there is no reason to build fontconfig's cache on all of OS X system directories. I might add something similar for terminal usage, but I am highly undecided. --- TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'TOOLS/osxbundle') diff --git a/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf b/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf index 5a2e3d2222..c229cd13c0 100644 --- a/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf +++ b/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf @@ -1,11 +1,8 @@ - /System/Library/Fonts - /Library/Fonts - ~/Library/Fonts - /Network/Library/Fonts - ~/.fontconfig + ~/.mpv/fonts + ~/.mpv/.fontconfig-cache