From 70fbf9888b0bcb132926c87ccf1c26356bc0fae2 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Thu, 7 Jan 2010 12:10:00 +1100 Subject: [PATCH] Fix 883. Fix Stem::pure_height to include the whole chord. --- lily/stem.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lily/stem.cc b/lily/stem.cc index 77c53006f0..890a320b24 100644 --- a/lily/stem.cc +++ b/lily/stem.cc @@ -265,7 +265,10 @@ Stem::pure_height (SCM smob, iv = Interval (-len, 0); if (!hp.is_empty ()) - iv.translate (hp[dir] * ss / 2); + { + iv.translate (hp[dir] * ss / 2); + iv.add_point (hp[-dir] * ss / 2); + } /* extend the stem (away from the head) to cover the staff */ if (dir == UP) -- 2.39.5