summaryrefslogtreecommitdiff
path: root/gtk2_ardour/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-12-12 14:50:10 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-12-12 14:50:10 +0000
commit4bc182e7e5e63ff0e7548e1efeca921411c1c831 (patch)
treecf0f214bd2d817b22d1d80ca84dbd2c03c850f25 /gtk2_ardour/wscript
parent0bf7323df3e28f108fea525549ba2f8edbfc432d (diff)
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
Diffstat (limited to 'gtk2_ardour/wscript')
-rw-r--r--gtk2_ardour/wscript12
1 files changed, 11 insertions, 1 deletions
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript
index 3ea6790eaf..25c2769322 100644
--- a/gtk2_ardour/wscript
+++ b/gtk2_ardour/wscript
@@ -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')