property so brackets above the stave point downwards.
* scm/define-grobs.scm (all-grob-descriptions): Set staff-padding
for HorizontalBracket so it doesn't end up within the stave.
+2005-05-16 Mats Bengtsson <mabe@drongo.s3.kth.se>
+
+ * lily/horizontal-bracket.cc (print): Take care of the direction
+ property so brackets above the stave point downwards.
+
+ * scm/define-grobs.scm (all-grob-descriptions): Set staff-padding
+ for HorizontalBracket so it doesn't end up within the stave.
+
2005-05-16 Jan Nieuwenhuizen <janneke@gnu.org>
* lily/GNUmakefile (default): Typo.
Drul_array<Real> shorten = robust_scm2interval (me->get_property ("shorten-pair"),
Interval (0, 0));
+ // Make sure that it points in the correct direction:
+ Real dir = get_grob_direction (me);
+ scale_drul (&edge_height, -dir);
+
Interval empty;
Stencil b
= Tuplet_bracket::make_bracket (me, Y_AXIS, Offset (ext.length (), 0),
(print-function . ,Horizontal_bracket::print)
(Y-offset-callbacks . (,Side_position_interface::aligned_side))
(padding . 0.2)
+ (staff-padding . 0.2)
(direction . -1)
(bracket-flare . (0.5 . 0.5))
(meta . ((interfaces . (horizontal-bracket-interface