source file of the GNU LilyPond music typesetter
- (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
TODO:
- add support for different stretch/shrink constants?
*/
}
+ /*
+ For raggedright, we must have a measure of music density: this is
+ to prevent lots of short lines (which all have force = 0).
+ */
if (ragged && line_len_ > 0)
{
Real len = positions->config_.top ();
positions->cols_ = spaced_cols_;
positions->loose_cols_ = loose_cols_;
-
positions->satisfies_constraints_b_ = (line_len_ < 0) || active_b ();
-
/*
Check if breaking constraints are met.
*/