make "bold monospace" font spec platform specific, since OS X doesn't seem to like/provide such a thing

git-svn-id: svn://localhost/ardour2/branches/3.0@13637 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2012-12-11 01:43:25 +00:00
parent a66b020331
commit 9fcd72d8bb
2 changed files with 7 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ style "large_bold_text"
style "large_bold_mono_text"
{
font_name = "bold monospace @FONT_BIGGER@"
font_name = "@BOLD_MONOSPACE@ @FONT_BIGGER@"
}
style "larger_text"
@@ -72,7 +72,7 @@ style "massive_text"
style "monospace massive_text"
{
font_name = "bold monospace @FONT_MASSIVE@"
font_name = "@BOLD_MONOSPACE@ @FONT_MASSIVE@"
}
style "larger_bold_text"

View File

@@ -511,7 +511,8 @@ def build(bld):
'LARGE' : '18',
'LARGER' : '28',
'HUGER' : '36',
'MASSIVE' : '60'
'MASSIVE' : '60',
'BOLD_MONOSPACE' : 'monospace'
}
else: # Linux/X11 fonts
basefont = '' # unspecified - use system defaults
@@ -525,8 +526,9 @@ def build(bld):
'LARGE' : '18',
'LARGER' : '24',
'HUGER' : '34',
'MASSIVE' : '60'
}
'MASSIVE' : '60',
'BOLD_MONOSPACE' : 'bold monospace'
}
# Set up font substitution dictionary
# @FONT_XXXX@