projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow using ArdourSans as optional default font
[ardour.git]
/
gtk2_ardour
/
utils.cc
diff --git
a/gtk2_ardour/utils.cc
b/gtk2_ardour/utils.cc
index 7489b2e08b89ecbd34beb6750d024def23f78556..25196a62dd927d592c6089814a87c6b4465611f4 100644
(file)
--- 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;