* lily/tie-formatting-problem.cc (set_column_chord_outline): don't
cross center of note head in case of invisible stem.
+2006-06-17 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * input/regression/tie-whole.ly: new file.
+
+ * lily/tie-formatting-problem.cc (set_column_chord_outline): don't
+ cross center of note head in case of invisible stem.
+
2006-06-16 Graham Percival <gpermus@gmail.com>
* Documentation/user/ various: small fixes from mailist.
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=9
-PATCH_LEVEL=9
+PATCH_LEVEL=10
MY_PATCH_LEVEL=
--- /dev/null
+\header {
+
+ texidoc = "For whole notes, the inside ties do not cross the center
+ of the note head, horizontally. "
+
+
+ }
+\version "2.9.10"
+
+\paper { ragged-right = ##t }
+\relative
+{
+ <f d a>1~
+ <f d a>1~
+ <f d a>1~
+}
Y_AXIS, -dir);
}
}
+ else if (stem)
+ {
+ Grob *head = Stem::support_head (stem);
+
+ /*
+ In case of invisible stem, don't pass x-center of heads.
+ */
+ Real x_center = head->extent (x_refpoint_, X_AXIS).center ();
+ Interval x_ext;
+ x_ext[-dir] = x_center;
+ Interval y_ext;
+ for (vsize j = 0; j < head_boxes.size (); j++)
+ y_ext.unite (head_boxes[j][Y_AXIS]);
+
+ insert_extent_into_skyline (&chord_outlines_[key],
+ Box (x_ext, y_ext),
+ Y_AXIS, -dir);
+ }
Direction updowndir = DOWN;
do