]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/score-engraver.cc
* lily/kpath.cc:
[lilypond.git] / lily / score-engraver.cc
index 37c60dd94fc90800f9591bb252544649e753a05c..514f800c94677d0c5338554bf640622be32cb8de 100644 (file)
@@ -104,10 +104,12 @@ Score_engraver::initialize ()
   if (!fm)
     {
       error (_f ("cannot find `%s'", MUSIC_FONT ".otf")
-              + "\n"
-              + _ ("Music font has not been installed properly.\n")
-              + _f ("Search path `%s'\n", global_path.to_string ().to_str0())
-              + _ ("Aborting"));       
+            + "\n"
+            + _ ("Music font has not been installed properly.")
+            + "\n"
+            + _f ("Search path `%s'", global_path.to_string ().to_str0())
+            + "\n"
+            + _ ("Aborting"));       
     }
   
   if (!scm_is_string (ly_kpathsea_find_file (scm_makfrom0str ("ecrm10.pfa")))
@@ -129,8 +131,8 @@ Score_engraver::initialize ()
   Object_key const *sys_key = context()->get_grob_key ("System");
   pscore_->typeset_line (new System (props, sys_key));
   
-  make_columns ();
   system_ = pscore_->system_;
+  make_columns ();
   system_->set_bound (LEFT, command_column_);
   command_column_->set_property ("breakable", SCM_BOOL_T);
 
@@ -215,9 +217,6 @@ Score_engraver::stop_translation_timestep ()
        progress_indication ("[" + to_string (breaks_) + "]");
     }
 
-
-  system_->add_column (command_column_);
-  system_->add_column (musical_column_);
   
   command_column_ = 0;
   musical_column_ = 0;
@@ -240,6 +239,9 @@ Score_engraver::set_columns (Paper_column *new_command,
     {
       context ()->set_property ("currentMusicalColumn", new_musical->self_scm ());
     }
+
+  system_->add_column (command_column_);
+  system_->add_column (musical_column_);
 }
 
 Music_output*