From 7801babeb37b4cbd7f56598629925c34f5304078 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 15 Sep 2014 18:04:33 +0200 Subject: [PATCH] Issue 4102: misaligned composer in LP 2.19.14 This problem surfaced in the wake of the fix for issue 3855. It is due to Stencil::translate not moving an empty expression even if it has non-empty extents so that \markup fill-line { "" "" "composer" } which assembles a line piece by piece and determining the offset of the next piece by looking at the end of the assemblage so far lost the offset between the first and second "" in the line. --- lily/stencil.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lily/stencil.cc b/lily/stencil.cc index 20c81bedfd..331dde2831 100644 --- a/lily/stencil.cc +++ b/lily/stencil.cc @@ -179,8 +179,7 @@ Stencil::translate (Offset o) expr_ = scm_list_n (ly_symbol2scm ("translate-stencil"), ly_offset2scm (o), expr_, SCM_UNDEFINED); - if (!is_empty ()) - dim_.translate (o); + dim_.translate (o); } void -- 2.39.2