2002-08-18 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * lily/break-substitution.cc (fast_fubstitute_grob_list): use
+ realloc()
+
+ * lily/dynamic-engraver.cc (process_music): don't use SCM_UNDEFINED
+
* Documentation/user/tutorial.itely: fixes by Graham Percival.
2002-08-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-\version "1.5.68"
-\header {
-texidoc = "
-
-You can tune spacing of individual notes
-by setting @code{space-factor} in @code{NoteSpacing}.
-
-"
-}
-
-\score { \notes {
-\relative c'' {
-c8 c8
-\property Voice.NoteSpacing \set #'space-factor = #0.7
- c8 c8
-\property Voice.NoteSpacing \set #'space-factor = #1.4
- c8 c8
-\property Voice.NoteSpacing \set #'space-factor = #1.0
- c8 c8
-} }
-\paper { linewidth = -1. }
-}
#include <stdio.h>
+#include <stdlib.h>
#include "grob.hh"
#include "item.hh"
if (vec_room < len)
{
- vec = (Substitution_entry*) scm_realloc (vec, sizeof (Substitution_entry) * len);
+ vec = (Substitution_entry*) realloc (vec, sizeof (Substitution_entry) * len);
vec_room = len;
}
cresc_ = new Spanner (get_property ("TextSpanner"));
cresc_->set_grob_property ("type", s);
daddy_trans_->set_property ((start_type
- + "Spanner").to_str0 (), SCM_UNDEFINED);
+ + "Spanner").to_str0 (), SCM_EOL);
s = get_property ((start_type + "Text").to_str0 ());
/*
FIXME: use get_markup () to check type.
{
SCM p = i.grob_->get_grob_property ("script-priority");
+ /*
+ UGH.
+
+ DynamicText doesn't really have a script-priority field.
+ */
if (gh_number_p (p)
&& gh_scm2int (p) < gh_scm2int (script_->get_grob_property ("script-priority")))
{
(font-family . dynamic)
(font-shape . italic)
(self-alignment-Y . 0)
- (meta . ((interfaces . (font-interface text-interface self-alignment-interface dynamic-interface item-interface ))))
+ (meta . ((interfaces . (font-interface text-interface self-alignment-interface dynamic-interface script-interface item-interface ))))
))
(DynamicLineSpanner