+2006-10-05 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * lily/beam.cc (set_stem_lengths): do set_stemend for invisible
+ stems too. Fixes #5
+
+ * lily/parenthesis-engraver.cc (acknowledge_grob): set parent of
+ parenthesis item. This fixes premature Y-extent triggering. Fixes
+ issue #95.
+
+ * VERSION (PATCH_LEVEL): bump version.
+
2006-10-04 Graham Percival <gpermus@gmail.com>
* Documentation/user/advanced-notation.itely: added
* VERSION: release 2.9.21
- * Documentation/topdocs/NEWS.tely (Top): simpler, more clearer override.
+ * Documentation/topdocs/NEWS.tely (Top): simpler, more clearer
+ override.
2006-10-04 Mats Bengtsson <mabe@drongo.s3.kth.se>
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=9
-PATCH_LEVEL=21
+PATCH_LEVEL=22
MY_PATCH_LEVEL=
for (vsize i = 0; i < stems.size (); i++)
{
Grob *s = stems[i];
- if (Stem::is_invisible (s))
- continue;
bool french = to_boolean (s->get_property ("french-beaming"));
Real stem_y = calc_stem_y (me, s, common,
Make the stems go up to the end of the beam. This doesn't matter
for normal beams, but for tremolo beams it looks silly otherwise.
*/
- if (gap)
+ if (gap
+ && !Stem::is_invisible (s))
stem_y += thick * 0.5 * get_grob_direction (s);
+ /*
+ Do set_stemend for invisible stems too, so tuplet brackets
+ have a reference point for sloping
+ */
Stem::set_stemend (s, 2 * stem_y / staff_space);
}
{
Engraver *eng = dynamic_cast<Engraver*> (info.origin_translator ());
Item *paren = eng->make_item ("ParenthesesItem", victim->self_scm ());
-
Pointer_group_interface::add_grob (paren, ly_symbol2scm ("elements"), victim);
+
+ paren->set_parent (victim, Y_AXIS);
Real size = robust_scm2double (paren->get_property ("font-size"), 0.0)
+ robust_scm2double (victim->get_property ("font-size"), 0.0);