+2004-08-25 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/ottava-bracket.cc (print): always start from right edge of
+ a broken bound. This fixes ottava-clef.ps
+
2004-08-24 Han-Wen Nienhuys <hanwen@xs4all.nl>
* input/regression/slur-script-inside.ly: new file.
\header
{
-texidoc = "At line breaks, ottava brackets have no vertical line and
-their horizontal line does not stick out."
-
+texidoc = "At line breaks, ottava brackets have no vertical line and
+their horizontal line does not stick out. The dashed line runs until
+the end of the line (regardless of prefatory matter).
+"
}
+
\version "2.3.4"
-\paper { raggedright = ##t}
-\score {
- \relative c''' {
- a2 b
- #(set-octavation 1)
- a2 b \break c''1 \break
- a
- #(set-octavation 0)
- g,,2 b c a
-}
+\paper { raggedright = ##t }
+\relative c''' {
+ a2 b
+ #(set-octavation 1)
+ a2 b \time 3/4 \break c''2. \break
+ a
+ #(set-octavation 0)
+ g,,2 b4 c2 a4
}
}
}
}
-
+
if (ext.is_empty ())
{
- Real x = b->relative_coordinate (common, X_AXIS);
- ext = Interval (x,x);
+ ext = robust_relative_extent (b, common, X_AXIS);
}
- span_points[d] = (broken [d]) ? b->extent (common, X_AXIS)[-d] : ext[d];
if (broken[d])
- shorten [d] = 0.0;
+ {
+ span_points[d] = b->extent (common, X_AXIS)[RIGHT];
+ shorten[d] = 0.;
+ }
+
+ else
+ span_points[d] = ext[d];
}
while (flip (&d) != LEFT);
for (SCM s = art ; ly_c_pair_p (s); s = ly_cdr (s))
{
SCM sym = ly_caar (s);
+ SCM type = scm_object_property (sym, ly_symbol2scm ("backend-type?"));
+ if (!ly_c_procedure_p (type))
+ continue;
+
SCM val = ly_cdar (s);
if (sym == ly_symbol2scm ("script-priority"))
(horizontal-shift ,integer? "An integer that identifies ranking
of note-column for horizontal shifting. This is used by
@internalsref{note-collision-interface}.")
- (inside-slur ,boolean? "If set, this object should be inside the slur")
+ (inside-slur ,boolean? "If set, this script should be inside the
+slur. If set to false, the script places itself around the slur. If
+unset, script and slur ignore each other ")
(inspect-quants ,number-pair? "If debugging is set,
set beam quant to this position, and print the respective scores.")
(interfaces ,list? "list of symbols indicating the interfaces supported by this object. Is initialized from the @code{meta} field.")
(shorten ,ly:dimension? "The amount of space that a
stem. Internally used to distribute beam shortening over stems. ")
-
+ (slur ,ly:grob? "A pointer to a slur object")
(use-breve-rest ,boolean? "Use breve rests for measures longer
than a whole rest.")
(direction . 1)))
("fermata" .
((script-stencil . (feta . ("dfermata" . "ufermata")))
+ (inside-slur . #f)
(direction . 1)))
("shortfermata" .
((script-stencil . (feta . ("dshortfermata" . "ushortfermata")))
("tenuto" .
((script-stencil . (feta . ("tenuto" . "tenuto")))
(follow-into-staff . #t)
+ (inside-slur . #t)
(side-relative-direction . -1)))
("comma" .
((script-stencil . (feta . ("lcomma" . "rcomma")))