use lucida grande for clocks with all OS X versions

git-svn-id: svn://localhost/ardour2/branches/3.0@14200 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2013-03-09 15:11:04 +00:00
parent 30938c1dcf
commit 4e31d99e10

View File

@@ -514,15 +514,17 @@ def build(bld):
}
if bld.env['build_target'] == 'tiger' or bld.env['build_target'] == 'leopard' :
# There is no acceptable monospace font available on older versions of OS X
# and no API to load TTF files that will work with GTK/fontconfig/pango.
# Fall back on a font that works, even though it is not monospace
# and no API on those versions to load TTF files that will work with
# GTK/fontconfig/pango.
#
# In addition, the ArdourMono font gets clipped for some reason on OS X
#
# Moreover, Lucida Grande just seems to work even though it is not monospace
# so just use it.
#
font_names = {
'MONOSPACE' : 'Lucida Grande',
}
else:
font_names = {
'MONOSPACE' : 'ArdourMono',
}
else: # Linux/X11 fonts
basefont = '' # unspecified - use system defaults
font_sizes = {