]> git.donarmstrong.com Git - lilypond.git/commit
Fix issue 3868: line-breaking makes short lines
authorKeith OHara <k-ohara5a5a@oco.net>
Sat, 8 Mar 2014 14:45:20 +0000 (15:45 +0100)
committerJanek Warchoł <lemniskata.bernoullego@gmail.com>
Sat, 8 Mar 2014 14:45:20 +0000 (15:45 +0100)
commit34b520c618ed0009f553539bda09093fc154a380
tree4a96a99830d239f4ab72e7cd573c1c142b1ff761
parent553729eb5bb74cc8b45b2ff0bdce181ff72926bf
Fix issue 3868: line-breaking makes short lines

Two simple fixes:
1) Always have some stretchability between notes
2) If there _is_ a completely unstretchable line, shorter than the line-width,
   score it as a bad fit, not as a perfect fit (report large forces for stiff lines).

Either one would fix the problem; both seem to be good to have in the code.
lily/simple-spacer.cc
lily/spacing-basic.cc