summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-12-15 13:53:59 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-12-15 17:38:00 +0100
commit4c95f545d37d44dc3ec96eaa3192ef7ac5752dbe (patch)
treeb1b1b6f3abd45c48d727dfa71c4f4da58b110151 /TOOLS
parentfab9febdc3a863c157a56cc4de2418cbb9665844 (diff)
downloadmpv-4c95f545d37d44dc3ec96eaa3192ef7ac5752dbe.tar.bz2
mpv-4c95f545d37d44dc3ec96eaa3192ef7ac5752dbe.tar.xz
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
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf9
1 files changed, 9 insertions, 0 deletions
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 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <dir>/System/Library/Fonts</dir>
+ <dir>/Library/Fonts</dir>
+ <dir>~/Library/Fonts</dir>
+ <dir>/Network/Library/Fonts</dir>
+ <cachedir>~/.fontconfig</cachedir>
+</fontconfig>