From 8b6cdcfae9f6c897ad0205678901aef6a8dba47f Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Tue, 25 Sep 2007 20:45:04 +1000 Subject: [PATCH] Fix 425. --- lily/spacing-spanner.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lily/spacing-spanner.cc b/lily/spacing-spanner.cc index 12ac68d792..53d6ef278b 100644 --- a/lily/spacing-spanner.cc +++ b/lily/spacing-spanner.cc @@ -230,6 +230,11 @@ set_column_rods (vector const &cols, Real padding) Skyline_pair *skys = Skyline_pair::unsmob (r->get_property ("horizontal-skylines")); Real right_stickout = skys ? (*skys)[LEFT].max_height () : 0.0; + /* min rather than max because right-stickout will be negative if the right-hand column + sticks out a lot to the left */ + right_stickout = min (right_stickout, + Separation_item::conditional_skyline (r, cols[i-1]).max_height ()); + Drul_array r_cols (r, rb); Drul_array cur_dist (0.0, 0.0); -- 2.39.2