]> git.donarmstrong.com Git - lilypond.git/commitdiff
Load default music font for multi-measure rests.
authorPatrick McCarty <pnorcks@gmail.com>
Thu, 21 Jan 2010 06:03:24 +0000 (22:03 -0800)
committerPatrick McCarty <pnorcks@gmail.com>
Thu, 21 Jan 2010 06:15:50 +0000 (22:15 -0800)
Since Font_interface::get_default_font() calls music_font_alist_chain(),
use this function here.

lily/multi-measure-rest.cc

index 6ed8768be1baedf005567c270d2d5e92b54d0847..42078d9b40f75996b7013b99ea53e9d0043de52d 100644 (file)
@@ -132,11 +132,9 @@ Multi_measure_rest::symbol_stencil (Grob *me, Real space)
       return s;
     }
 
-  SCM alist_chain = Font_interface::music_font_alist_chain (me);
-
   Real staff_space = Staff_symbol_referencer::staff_space (me);
-  Font_metric *musfont
-    = select_font (me->layout (), alist_chain);
+
+  Font_metric *musfont = Font_interface::get_default_font (me);
 
   SCM sml = me->get_property ("use-breve-rest");
   if (measures == 1)