From 4bc182e7e5e63ff0e7548e1efeca921411c1c831 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 12 Dec 2012 14:50:10 +0000 Subject: [PATCH] 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 --- gtk2_ardour/wscript | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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')