path: root/TOOLS/osxbundle
diff options
authorStefano Pigozzi <>2012-12-15 13:53:59 +0100
committerStefano Pigozzi <>2012-12-15 17:38:00 +0100
commit4c95f545d37d44dc3ec96eaa3192ef7ac5752dbe (patch)
treeb1b1b6f3abd45c48d727dfa71c4f4da58b110151 /TOOLS/osxbundle
parentfab9febdc3a863c157a56cc4de2418cbb9665844 (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')
1 files changed, 9 insertions, 0 deletions
diff --git a/TOOLS/osxbundle/ b/TOOLS/osxbundle/
new file mode 100644
index 0000000000..b2b6478bdd
--- /dev/null
+++ b/TOOLS/osxbundle/
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+ <dir>/System/Library/Fonts</dir>
+ <dir>/Library/Fonts</dir>
+ <dir>~/Library/Fonts</dir>
+ <dir>/Network/Library/Fonts</dir>
+ <cachedir>~/.fontconfig</cachedir>