system-extents.ly.
* ly/engraver-init.ly: decrease minimumVerticalExtent to (-5,5).
* scm/define-grobs.scm (all-grob-descriptions): decrease padding
for MultiMeasureRestNumber
2004-08-29 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/system.cc (get_line): add System stencil to exprs. Fixes
+ system-extents.ly.
+
+ * ly/engraver-init.ly: decrease minimumVerticalExtent to (-5,5).
+
+ * scm/define-grobs.scm (all-grob-descriptions): decrease padding
+ for MultiMeasureRestNumber
+
* VERSION (PACKAGE_NAME): release 2.3.13
2004-08-29 Nicolas Sceaux <nicolas.sceaux@free.fr>
}
-\score {
-\context Voice
-{ \unset Staff.minimumVerticalExtent
- \slurDown c4 ( g4 c''4)
+\paper {
+ \context {
+ \Score
+ \override System #'print-function = #box-grob-stencil
+ }
}
- \paper {
- \context {
- \Score
- \override System #'print-function = #box-grob-stencil
- }
- }
+\new Voice
+{
+ \unset Staff.minimumVerticalExtent
+ \slurDown c4 ( g4 c''4)
}
{
static int const LAYER_COUNT = 3;
- SCM stencils = SCM_EOL;
- if (Stencil *me = get_stencil ())
- stencils = scm_cons (me->smobbed_copy (), stencils);
+ SCM exprs = SCM_EOL;
+ SCM *tail = &exprs;
/* Output stencils in three layers: 0, 1, 2. Default layer: 1.
Start with layer 3, since scm_cons prepends to list. */
SCM all = get_property ("all-elements");
- SCM exprs = SCM_EOL;
- SCM *tail = &exprs;
-
for (int i = LAYER_COUNT; i--;)
for (SCM s = all; ly_c_pair_p (s); s = ly_cdr (s))
{
}
-
+ if (Stencil *me = get_stencil ())
+ exprs = scm_cons (me->expr (), exprs);
Interval x (extent (this, X_AXIS));
Interval y (extent (this, Y_AXIS));
\consists "String_number_engraver"
\consists "Axis_group_engraver"
- minimumVerticalExtent = #'(-6 . 6)
+ minimumVerticalExtent = #'(-5 . 5)
extraVerticalExtent = ##f
verticalExtent = ##f
localKeySignature = #'()
(Y-offset-callbacks . (,Side_position_interface::aligned_side))
(self-alignment-X . 0)
(direction . 1)
- (padding . 1.3)
- (staff-padding . 1.3)
+ (padding . 0.4)
+ (staff-padding . 0.4)
(font-encoding . fetaNumber)
(meta . ((interfaces . (side-position-interface multi-measure-interface self-alignment-interface font-interface spanner-interface text-interface))))
))
(grace-space-factor . 0.6)
(shortest-duration-space . 2.0)
(spacing-increment . 1.2)
- (base-shortest-duration . ,(ly:make-moment 1 8))
+ (base-shortest-duration . ,(ly:make-moment 3 16))
(meta . ((interfaces . (spacing-interface spacing-spanner-interface spanner-interface))))
))
(let* ((xext (ly:grob-extent grob grob 0))
(yext (ly:grob-extent grob grob 1))
(thick 0.1))
-
+
(ly:stencil-add
(make-filled-box-stencil xext (cons (- (car yext) thick) (car yext)))
(make-filled-box-stencil xext (cons (cdr yext) (+ (cdr yext) thick)))