diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-12-15 13:53:59 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-12-15 17:38:00 +0100 |
commit | 4c95f545d37d44dc3ec96eaa3192ef7ac5752dbe (patch) | |
tree | b1b1b6f3abd45c48d727dfa71c4f4da58b110151 /TOOLS/osxbundle/mpv.app/Contents/Resources | |
parent | fab9febdc3a863c157a56cc4de2418cbb9665844 (diff) |
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/osxbundle/mpv.app/Contents/Resources')
-rw-r--r-- | TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf | 9 |
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> |