diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-30 12:55:59 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-30 12:55:59 +0000 |
commit | d1c9bc0e725e4c6984aa2fa72b0ed43e2a18d4f6 (patch) | |
tree | 4ef323ef8e45f623818026b9474d20248b69ab9a /gtk2_ardour | |
parent | aff8612b58e0aa127a9c9ca1558fb7c59b0fe0a2 (diff) |
don't bother trying to set FONTCONFIG_FILE on linux if /etc/fonts stuff doesn't exist - we don't include any data to make this useful
git-svn-id: svn://localhost/ardour2/branches/3.0@14035 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/main.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index a0639b1f5a..381f97d82f 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -276,11 +276,7 @@ fixup_bundle_environment (int /*argc*/, char* argv[]) setenv ("FONTCONFIG_FILE", "/etc/fonts/fonts.conf", 1); setenv ("FONTCONFIG_PATH", "/etc/fonts", 1); } else { - /* use the one included in the bundle */ - - path = Glib::build_filename (dir_path, "etc/fonts/fonts.conf"); - setenv ("FONTCONFIG_FILE", path.c_str(), 1); - export_search_path (dir_path, "FONTCONFIG_PATH", "/etc/fonts"); + error << _("No fontconfig file found on your system. Things may looked very odd or ugly") << endmsg; } /* write a pango.rc file and tell pango to use it. we'd love |