From: David Kastrup Date: Thu, 23 May 2013 20:03:10 +0000 (+0200) Subject: Don't admit purely horizontal spacing into the page layout X-Git-Tag: release/2.17.19-1~5^2~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e30a837e32061005cc4a8d620be594938537a82b;p=lilypond.git Don't admit purely horizontal spacing into the page layout Its extents confuse the spacing engine. --- diff --git a/lily/constrained-breaking.cc b/lily/constrained-breaking.cc index 8d3b6967e4..f8d4b0f5b2 100644 --- a/lily/constrained-breaking.cc +++ b/lily/constrained-breaking.cc @@ -572,7 +572,7 @@ Line_details::Line_details (Prob *pb, Output_def *paper) last_column_ = 0; force_ = 0; Stencil *st = unsmob_stencil (pb->get_property ("stencil")); - Interval stencil_extent = st->is_empty () ? Interval (0, 0) + Interval stencil_extent = st->is_empty (Y_AXIS) ? Interval (0, 0) : st->extent (Y_AXIS); shape_ = Line_shape (stencil_extent, stencil_extent); // pretend it goes all the way across tallness_ = 0;