]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/system.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / system.cc
index 2fba41a49e9f6e04b92f6a66cf428ea2338273a6..dda8fdf1321182e7c8d2dd56e934ac9eb44d6a46 100644 (file)
@@ -23,6 +23,7 @@
 #include "staff-symbol-referencer.hh"
 #include "tweak-registration.hh"
 #include "warn.hh"
+#include "warn.hh"
 
 System::System (System const &src, int count)
   : Spanner (src, count)
@@ -184,7 +185,6 @@ System::get_paper_systems ()
        progress_indication ("[");
 
       System *system = dynamic_cast<System *> (broken_intos_[i]);
-
       system->post_processing ();
       scm_vector_set_x (lines, scm_from_int (i),
                        system->get_paper_system ());
@@ -206,11 +206,6 @@ System::break_into_pieces (vector<Column_x_positions> const &breaking)
       vector<Grob*> c (breaking[i].cols_);
       pscore_->typeset_system (system);
 
-      int st = Paper_column::get_rank (c[0]);
-      int end = Paper_column::get_rank (c.back ());
-      Interval iv (pure_height (this, st, end));
-      system->set_property ("pure-Y-extent", ly_interval2scm (iv));
-
       system->set_bound (LEFT, c[0]);
       system->set_bound (RIGHT, c.back ());
       for (vsize j = 0; j < c.size (); j++)
@@ -218,7 +213,6 @@ System::break_into_pieces (vector<Column_x_positions> const &breaking)
          c[j]->translate_axis (breaking[i].config_[j], X_AXIS);
          dynamic_cast<Paper_column *> (c[j])->system_ = system;
        }
-      
       set_loose_columns (system, &breaking[i]);
       broken_intos_.push_back (system);
     }
@@ -510,6 +504,5 @@ ADD_INTERFACE (System, "system-interface",
               /* properties */
               "all-elements "
               "columns "
-              "pure-Y-extent "
               "spaceable-staves "
               )