From 4c95f545d37d44dc3ec96eaa3192ef7ac5752dbe Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 15 Dec 2012 13:53:59 +0100 Subject: [PATCH] osxbundle: add fonts.conf to distributed bundle The osxbundle target creates a bundle that is supposed to be distributable to third parties. As they may not have fontconfig installed they miss a fonts.conf pointing to the usual fonts directories in OSX. For people installing from source and using from the terminal this commit changes nothing. You just have to make sure that your fontconfig is installed with a sane configuration (XQuartz does). If you are installing fontconfig from source you can force a sane OSX default using `--with-add-fonts`. For example: `./configure --with-add-fonts=/Library/Fonts,~/Library/Fonts` Homebrew already addressed this with mxcl/homebrew@b242883 --- TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf diff --git a/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf b/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf new file mode 100644 index 0000000000..b2b6478bdd --- /dev/null +++ b/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf @@ -0,0 +1,9 @@ + + + + /System/Library/Fonts + /Library/Fonts + ~/Library/Fonts + /Network/Library/Fonts + ~/.fontconfig +