diff options
author | David Robillard <d@drobilla.net> | 2011-11-25 01:47:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-25 01:47:04 +0000 |
commit | 370fd5443a0a5818c2a92f8e6ef0a342a6c8102f (patch) | |
tree | 2e5d7cb60e189c04c3afc2ba4fad1ccf142c5024 /src | |
parent | f74dcad595e7fb87eee318836de32962dab78598 (diff) | |
download | patchage-370fd5443a0a5818c2a92f8e6ef0a342a6c8102f.tar.gz patchage-370fd5443a0a5818c2a92f8e6ef0a342a6c8102f.tar.bz2 patchage-370fd5443a0a5818c2a92f8e6ef0a342a6c8102f.zip |
Add fontconfig configuration file to bundle.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3624 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3c3f64f..2bbf322 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,6 +49,9 @@ set_bundle_environment() const std::string pangorc_path(bundle_path + "/Resources/pangorc"); setenv("PANGO_RC_FILE", pangorc_path.c_str(), 1); + const std::string pangorc_path(bundle_path + "/Resources/fonts.conf"); + setenv("FONTCONFIG_FILE", pangorc_path.c_str(), 1); + const char* path_c = getenv("PATH"); std::string path = "/opt/local/bin"; if (path_c) |