]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 2 Jul 2003 13:33:11 +0000 (13:33 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 2 Jul 2003 13:33:11 +0000 (13:33 +0000)
input/regression/chord-tremolo.ly
lily/mark-engraver.cc
scm/define-grobs.scm

index 2c79ae02682b30a9c509c8f5c8801721a7b19902..4a7cddf3ff19fe593e44c49da0f6dcd0caf00224 100644 (file)
@@ -15,6 +15,7 @@ stems.
 \score { 
   \context Voice \notes\relative c' {
         % huh -> one beam missing!
+       \repeat "tremolo" 16 { d16 e }
        \repeat "tremolo" 8 { d16 e }
        \repeat "tremolo" 4 { d e }
        \repeat "tremolo" 2 { d e }
index bdd968df6093b318de155154cd377a8e42938f9e..e0c459684e7d2a5e27e71825f439cc139c72168c 100644 (file)
@@ -166,19 +166,22 @@ Mark_engraver::process_music ()
          text_->set_grob_property ("text",
                                      scm_makfrom0str (t.to_str0 ()));
 
-         String style = "mark-number";
+         SCM series = SCM_EOL;
+         SCM family = ly_symbol2scm ("number");
          for (int i=0; i < t.length (); i++)
            {
              if (!isdigit (t[i])) 
                {
-                 style = "mark-letter";
+                 series = ly_symbol2scm ("bold");
+                 family = ly_symbol2scm ("roman");
                  break;
                }
            }
-         SCM st = ly_symbol2scm (style.to_str0 ());
-         text_->set_grob_property ("font-style",  st);
+         if (gh_symbol_p (series))
+           text_->set_grob_property ("font-series",  series);
+         if (gh_symbol_p (family))
+           text_->set_grob_property ("font-family",  family);
        }
-
     }
 }
 
index 55ec5bd4282135a80da2401ffd7b3a3bbb504a8a..ee4e6777de28e16861d0ef949f806b425169a341 100644 (file)
        (break-align-symbol . time-signature)
        (direction . 1)
        (breakable . #t)
+       (font-relative-size . 1)
        (font-family . roman)
        (baseline-skip . 2)
        (break-visibility . ,end-of-line-invisible)