mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Allow using ArdourSans as optional default font
This commit is contained in:
parent
d8c63568a5
commit
8f31f814b4
4 changed files with 22 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue