From: Maximilian Albert Date: Sun, 11 Feb 2007 17:45:29 +0000 (+0100) Subject: fix overlap of trill-like line spanners and arrowheads X-Git-Tag: release/2.11.19-1~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f1b34989c310857f1c6d2710f3b0ffd0f9e405e8;p=lilypond.git fix overlap of trill-like line spanners and arrowheads --- diff --git a/lily/line-spanner.cc b/lily/line-spanner.cc index d764a3b717..a1fe664c16 100644 --- a/lily/line-spanner.cc +++ b/lily/line-spanner.cc @@ -275,9 +275,10 @@ Line_spanner::print (SCM smob) } while (flip (&d) != LEFT); + Offset adjust = dz.direction() * Staff_symbol_referencer::staff_space (me); line.add_stencil (Line_interface::line (me, - span_points[LEFT], - span_points[RIGHT])); + span_points[LEFT] + (arrows[LEFT] ? adjust*1.4 : Offset(0,0)), + span_points[RIGHT] - (arrows[RIGHT] ? adjust*0.55 : Offset(0,0)))); line.add_stencil (Line_interface::arrows (me, span_points[LEFT],