else
span_points[d] = ext[d];
+
+ span_points[d] -= d * shorten[d];
}
/*
Y_AXIS, Offset (bracket_span_points.length (), 0),
edge_height,
empty,
- flare, shorten);
+ flare, Drul_array<Real> (0, 0));
/*
- The vertical lines should not take space, for the following scenario:
-
- 8 -----+
- o |
- |
- |
-
-
- Just a small amount, yes. In tight situations, it is even
- possible to center the `8' directly below the note, dropping the
- ottava line completely...
-
+ * The vertical lines should not take space, for the following scenario:
+ *
+ * 8 -----+
+ * o |
+ * |
+ * |
+ *
+ * Just a small amount, yes. In tight situations, it is even
+ * possible to center the `8' directly below the note, dropping the
+ * ottava line completely...
*/
b = Stencil (Box (b.extent (X_AXIS),
}
Stencil m;
- for (LEFT_and_RIGHT (d))
- {
- if (!gap.is_empty ())
- m.add_stencil (Line_interface::line (me, straight_corners[d],
- gap_corners[d]));
-
+ if (!gap.is_empty ())
+ for (LEFT_and_RIGHT (d))
m.add_stencil (Line_interface::line (me, straight_corners[d],
- flare_corners[d]));
- }
-
- if (gap.is_empty ())
+ gap_corners[d]));
+ else
m.add_stencil (Line_interface::line (me, straight_corners[LEFT],
straight_corners[RIGHT]));
+ if (scm_is_number (me->get_property ("dash-fraction")))
+ me->set_property ("dash-fraction", scm_from_double (1.0));
+ for (LEFT_and_RIGHT (d))
+ m.add_stencil (Line_interface::line (me, straight_corners[d],
+ flare_corners[d]));
return m;
}
. (
(dash-fraction . 0.3)
(direction . ,UP)
- (edge-height . (0 . 1.2))
+ (edge-height . (0 . 0.8))
(font-shape . italic)
- (minimum-length . 1.0)
+ (minimum-length . 0.3)
(outside-staff-priority . 400)
(padding . 0.5)
- (shorten-pair . (0.0 . -0.6))
+ (shorten-pair . (-0.8 . -0.6))
(staff-padding . 2.0)
(stencil . ,ly:ottava-bracket::print)
(style . dashed-line)