From 370fd5443a0a5818c2a92f8e6ef0a342a6c8102f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 25 Nov 2011 01:47:04 +0000 Subject: Add fontconfig configuration file to bundle. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3624 a436a847-0d15-0410-975c-d299462d15a1 --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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) -- cgit v1.2.1