]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 12 Dec 2004 22:48:14 +0000 (22:48 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 12 Dec 2004 22:48:14 +0000 (22:48 +0000)
lily/score-engraver.cc

index 3dea667878e96f8bb71528eeaa163f03978c29d2..eb95c8be07b0ad6a5abea0edf17c365f6dec43ad 100644 (file)
@@ -85,21 +85,23 @@ Score_engraver::prepare (Moment m)
 void
 Score_engraver::finish ()
 {
-  if ((breaks_%8))
+  if ((breaks_ % 8))
     progress_indication ("[" + to_string (breaks_) + "]");
 
   recurse_over_translators (context (), &Translator::finalize, UP);
 }
 
+#define MUSIC_FONT "bigcheese20"
+
 /*
   use start/finish?
  */
 void
 Score_engraver::initialize ()
 {
-  Font_metric *fm = all_fonts_global->find_afm ("feta20");
+  Font_metric *fm = all_fonts_global->find_otf (MUSIC_FONT);
   if (!fm)
-    error (_f ("cannot find `%s'", "feta20.afm")
+    error (_f ("cannot find `%s'", MUSIC_FONT ".otf")
           + "\n"
           + _ ("Music font has not been installed properly.")
           + _ ("Aborting"));