use lucida grande for clocks with all OS X versions, BUT BETTER

git-svn-id: svn://localhost/ardour2/branches/3.0@14201 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2013-03-09 15:12:27 +00:00
parent 4e31d99e10
commit 25eb9f4069

View File

@@ -512,19 +512,19 @@ def build(bld):
'HUGER' : '36',
'MASSIVE' : '60',
}
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 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',
}
# There is no acceptable monospace font available on older versions of OS X
# 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: # Linux/X11 fonts
basefont = '' # unspecified - use system defaults
font_sizes = {