13
0

load custom mono font on OS X too

git-svn-id: svn://localhost/ardour2/branches/3.0@14140 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-03-05 03:45:44 +00:00
parent d40c2f9d7c
commit 959eec5cc2
2 changed files with 1 additions and 3 deletions

View File

@ -222,7 +222,6 @@ fixup_bundle_environment (int, char* [])
}
static void load_custom_fonts() {
#ifdef OSX_CUSTOM_FONT
std::string ardour_mono_file;
if (!find_file_in_search_path (ardour_data_search_path(), "ArdourMono.ttf", ardour_mono_file)) {
@ -240,7 +239,6 @@ static void load_custom_fonts() {
if (CTFontManagerRegisterFontsForURL(fontURL, kCTFontManagerScopeProcess, &error) != true) {
cerr << _("Cannot load ArdourMono TrueType font.") << endl;
}
#endif
}
#else

View File

@ -513,7 +513,7 @@ def build(bld):
'MASSIVE' : '60',
}
font_names = {
'MONOSPACE' : 'monospace',
'MONOSPACE' : 'ArdourMono',
}
else: # Linux/X11 fonts
basefont = '' # unspecified - use system defaults