diff options
author | Robin Gareus <robin@gareus.org> | 2019-12-04 22:59:51 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-12-04 22:59:51 +0100 |
commit | 8f31f814b49a0129997da3f8ff66f34bb7b9865c (patch) | |
tree | 703cbc3ecc8c5e92c5a2ac217b05b7ff1e17cc5e /gtk2_ardour/utils.cc | |
parent | d8c63568a52c2277eba294cc3ed71f117c5d170a (diff) |
Allow using ArdourSans as optional default font
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r-- | gtk2_ardour/utils.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index 7489b2e08b..25196a62dd 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -277,7 +277,8 @@ ARDOUR_UI_UTILS::sanitized_font (std::string const& name) Pango::FontDescription fd (name); if (fd.get_family().empty()) { - fd.set_family ("Sans"); + /* default: "Sans" or "ArdourSans" */ + fd.set_family (UIConfiguration::instance ().get_ui_font_family ()); } return fd; |