diff options
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) |