source file of the GNU LilyPond music typesetter
- (c) 2006 Joe Neeman <joeneeman@gmail.com>
+ (c) 2006--2007 Joe Neeman <joeneeman@gmail.com>
*/
#include "page-breaking.hh"
{
if (all_[i].pscore_)
{
- vector<Grob*> cols = all_[i].pscore_->root_system ()->columns ();
+ vector<Grob*> cols = all_[i].pscore_->root_system ()->used_columns ();
vector<vsize> line_breaker_columns;
line_breaker_columns.push_back (0);
if ((break_point || chunk_end) && !last)
line_breaker_columns.push_back (j);
}
- line_breaking_.push_back (Constrained_breaking (line_breaker_columns));
- line_breaking_.back ().set_pscore (all_[i].pscore_);
+ line_breaking_.push_back (Constrained_breaking (all_[i].pscore_, line_breaker_columns));
}
else
{
breaks_.push_back (Break_position (i));
chunks_.push_back (Break_position (i));
- line_breaking_.push_back (Constrained_breaking ());
+ line_breaking_.push_back (Constrained_breaking (NULL));
}
}
}