cache warning.
* lily/tie.cc (print): support dotted ties.
+2005-05-26 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/font-config.cc (init_fontconfig): comment out FontConfig
+ cache warning.
+
+ * lily/tie.cc (print): support dotted ties.
+
2005-05-25 Han-Wen Nienhuys <hanwen@xs4all.nl>
* scm/define-grobs.scm (all-grob-descriptions): switch off
debugging
+ (all-grob-descriptions): Arpeggio has Y-extent.
* scm/define-music-properties.scm (all-music-properties): document
length-callback and start-callback as "read-only".
each staff but replacing it manually using
@code{timeSignatureFraction} to the desired fraction. Then the printed
durations in each staff are scaled to the common time signature.
-The latter is done with @code{\compressmusic}, which is similar to
+The latter is done with @code{\compressMusic}, which is similar to
@code{\times}, but does not create a tuplet bracket.
\new Staff {
\time 3/4
\set Staff.timeSignatureFraction = #'(9 . 8)
- \compressmusic #'(2 . 3)
+ \compressMusic #'(2 . 3)
\repeat unfold 6 { c8[ c c] }
}
\new Staff {
\time 3/4
\set Staff.timeSignatureFraction = #'(10 . 8)
- \compressmusic #'(3 . 5) {
+ \compressMusic #'(3 . 5) {
\repeat unfold 2 { c8[ c c] }
\repeat unfold 2 { c8[ c] }
| c4. c4. \times 2/3 { c8 c c } c4
@subsection Repeats and MIDI
@cindex expanding repeats
-@cindex @code{\unfoldrepeats}
+@cindex @code{\unfoldRepeats}
With a little bit of tweaking, all types of repeats can be present
in the MIDI output. This is achieved by applying the
-@code{\unfoldrepeats} music function. This functions changes all
+@code{\unfoldRepeats} music function. This functions changes all
repeats to unfold repeats.
@lilypond[quote,verbatim,fragment,linewidth=8.0\cm]
-\unfoldrepeats {
+\unfoldRepeats {
\repeat tremolo 8 {c'32 e' }
\repeat percent 4 { c''8 d'' }
\repeat volta 2 {c'4 d' e' f'}
\bar "|."
@end lilypond
-When creating a score file using @code{\unfoldrepeats} for midi, then
+When creating a score file using @code{\unfoldRepeats} for midi, then
it is necessary to make two @code{\score} blocks. One for MIDI (with
unfolded repeats) and one for notation (with volta, tremolo, and
percent repeats). For example,
\layout @{ .. @}
@}
\score @{
- \unfoldrepeats @var{..music..}
+ \unfoldRepeats @var{..music..}
\midi @{ .. @}
@}
@end example
-\version "2.4.0"
+\version "2.5.25"
\header { texidoc = "Volta repeats may be unfolded through the music
- function @code{\unfoldrepeats}."
+ function @code{\unfoldRepeats}."
}
\context Voice {
\nots
\bar "||"
- \unfoldrepeats \nots
+ \unfoldRepeats \nots
}
}
Context *
-Event_chord_iterator::get_req_translator ()
+Event_chord_iterator::get_bottom_context ()
{
assert (get_outlet ());
if (get_outlet ()->is_bottom_context ())
Event_chord_iterator::construct_children ()
{
Simple_music_iterator::construct_children ();
- get_req_translator ();
+ get_bottom_context ();
}
Event_chord *
FcConfig *fcc = FcConfigGetCurrent ();
+
+#if 0
+ /*
+ Hmm. the cache is always out of date??!
+ */
FcChar8 *cache = FcConfigGetCache (fcc);
if (!FcDirCacheValid (cache))
{
warning (_ ("FontConfig cache out of date. Rebuilding may take some time."));
}
+#endif
Array<String> dirs;
struct stat statbuf;
/**
Find a bottom notation context to deliver events to.
*/
- virtual Context *get_req_translator ();
+ virtual Context *get_bottom_context ();
/*
Since Event_chord_iterator has no list-cursor internally, we
i++;
}
- Stencil a = Lookup::slur (b,
- get_grob_direction (me) * staff_thick,
- thick);
+ Stencil a;
+
+ SCM p = me->get_property ("dash-period");
+ SCM f = me->get_property ("dash-fraction");
+ if (scm_is_number (p) && scm_is_number (f))
+ a = Lookup::dashed_slur (b,
+ thick,
+ robust_scm2double (p, 1.0),
+ robust_scm2double (f, 0));
+ else
+ a = Lookup::slur (b,
+ get_grob_direction (me) * staff_thick,
+ thick);
+
return a.smobbed_copy ();
}
-ADD_INTERFACE (Tie, "tie-interface",
+ADD_INTERFACE (Tie,
+ "tie-interface",
"A tie connecting two noteheads.\n",
- "y-offset staffline-clearance control-points head-pair details thickness x-gap direction minimum-length");
+
+ "y-offset dash-period dash-fraction "
+ "staffline-clearance control-points head-pair "
+ "details thickness x-gap direction minimum-length");
(Arpeggio
. (
(X-extent-callback . ,Arpeggio::width_callback)
- (Y-extent-callback . #f)
(print-function . ,Arpeggio::print)
(Y-offset-callbacks . (,Staff_symbol_referencer::callback))
(X-offset-callbacks . (,Side_position_interface::aligned_side))