From 430bad24a2d15ec6600e0e780348a0caff29799b Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Sun, 1 Nov 2009 12:46:30 -0800 Subject: [PATCH] Load only the default font for System_start_delimiter Now that we have Gonville-Brace as an alternative font for System_start_delimiter, we need to find the default font instead. --- lily/system-start-delimiter.cc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lily/system-start-delimiter.cc b/lily/system-start-delimiter.cc index 62c2bb5271..7f8d93eaa9 100644 --- a/lily/system-start-delimiter.cc +++ b/lily/system-start-delimiter.cc @@ -137,15 +137,11 @@ Stencil System_start_delimiter::staff_brace (Grob *me, Real y) { Font_metric *fm = 0; - /* We go through the style sheet to lookup the font file - name. This is better than using find_font directly, - esp. because that triggers mktextfm for non-existent - fonts. */ - SCM fam = scm_cons (ly_symbol2scm ("font-encoding"), - ly_symbol2scm ("fetaBraces")); - SCM alist = scm_list_n (fam, SCM_UNDEFINED); - fm = select_font (me->layout (), scm_list_n (alist, SCM_UNDEFINED)); + /* + Find the default brace font if the user overrides it. + */ + fm = Font_interface::get_default_font (me); int lo = 0; -- 2.39.5