13
0

fix incorrect change that substituted (or tried to) BOLD_MONOSPACE in font specs

git-svn-id: svn://localhost/ardour2/branches/3.0@13647 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-12-12 14:50:10 +00:00
parent 0bf7323df3
commit 4bc182e7e5

View File

@ -511,6 +511,8 @@ def build(bld):
'LARGER' : '28',
'HUGER' : '36',
'MASSIVE' : '60',
}
font_names = {
'BOLD_MONOSPACE' : 'monospace'
}
else: # Linux/X11 fonts
@ -525,8 +527,10 @@ def build(bld):
'LARGER' : '24',
'HUGER' : '34',
'MASSIVE' : '60',
}
font_names = {
'BOLD_MONOSPACE' : 'bold monospace'
}
}
# Set up font substitution dictionary
# @FONT_XXXX@
@ -548,6 +552,12 @@ def build(bld):
dark_rc_subst_dict[key] = points
light_rc_subst_dict[key] = points
# various font names, eg @BOLD_MONOSPACE@
for font_sym,text in iter(font_names.items()):
key = font_sym
dark_rc_subst_dict[key] = text
light_rc_subst_dict[key] = text
# RC files
dark_rc_subst_dict['COLOR_SCHEME'] = build_color_scheme(
'gtk2_ardour/ardour3_ui_dark.rc.in', 'ARDOUR_DARK')