From: Patrick McCarty Date: Sun, 1 Nov 2009 20:46:30 +0000 (-0800) Subject: Load only the default font for System_start_delimiter X-Git-Tag: release/2.13.7-0~7 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=430bad24a2d15ec6600e0e780348a0caff29799b;p=lilypond.git 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. --- 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;