]> git.donarmstrong.com Git - lilypond.git/commitdiff
(process_music): only set rehearsalMark if
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 30 Dec 2003 15:58:59 +0000 (15:58 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 30 Dec 2003 15:58:59 +0000 (15:58 +0000)
it is a string or number.

ChangeLog
Documentation/topdocs/NEWS.texi
lily/mark-engraver.cc

index e93695117bf5d41a1cb07827551381f2bacd3bc5..d57f00960cd715b71b92f4f82a1665c929c35208 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-12-30  Han-Wen Nienhuys   <hanwen@cs.uu.nl>
 
+       * lily/mark-engraver.cc (process_music): only set rehearsalMark if
+       it is a string or number.
+
        * scm/output-lib.scm (note-head-style->attachment-coordinates):
        change calling convention of stem-attachment function. 
 
index f4d34e8f2c26b5866cea571886bfec3347749cc5..325bdd18960460dfd0304bc43452a0520855b2e4 100644 (file)
@@ -10,9 +10,8 @@
 @itemize
 @item
 The weight of the stafflines is now heavier at smaller staff sizes.
-To match this, the font has been revamped completely for looking: the
-font is now much heavier for smaller sizes, and the note heads are
-more rounded in smaller sizes.
+The font has been modified to match this look: at smaller sizes, the
+font is heavier and the note heads are more rounded.
 
 @item Processing scores is now done while parsing the file. New
 Scheme functions give more flexibility: for example, it is now possible
index de66bca0ec3c71120a7d0b548a80b848d8403d0c..dc75369fc7aedfc5bbd2d82179a62d82143f82df 100644 (file)
@@ -111,6 +111,8 @@ Mark_engraver::try_music (Music* r)
 
   TODO: make the increment function in Scheme.
 
+
+  TODO: junk the number type for rehearsalMark
 */
 void
 Mark_engraver::process_music ()
@@ -186,7 +188,8 @@ Mark_engraver::process_music ()
            text_->set_grob_property ("font-family",  family);
        }
 
-      daddy_trans_->set_property ("rehearsalMark", m);
+      if (gh_number_p (m) || gh_string_p (m))
+       daddy_trans_->set_property ("rehearsalMark", m);
     }
 }