]> git.donarmstrong.com Git - lilypond.git/commitdiff
(overdone_heads): enlarge harmonic head.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 20 Jan 2004 02:19:24 +0000 (02:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 20 Jan 2004 02:19:24 +0000 (02:19 +0000)
ChangeLog
lily/ottava-engraver.cc
lily/text-spanner.cc
mf/parmesan-heads.mf
scm/define-music-properties.scm

index 2021565fd6f1ec1be0bdb9f52bb8bc9ae9efbbb6..643b316d6f055ba0cccbc7114e0c1148db2f91cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-20  Han-Wen Nienhuys   <hanwen@xs4all.nl>
+
+       * mf/parmesan-heads.mf (overdone_heads): enlarge harmonic head.
+
 2004-01-19  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
        * lily/include/music-iterator.hh (class Music_iterator): add
index c612e147ff12300afd43bbe2619c536610fdbf5b..042cf9e5ed8cae2cc37349fe5fb26e0805da045a 100644 (file)
@@ -121,7 +121,7 @@ Ottava_spanner_engraver::finalize ()
 
 ENTER_DESCRIPTION(Ottava_spanner_engraver,
 /* descr */       "Create a text spanner when the ottavation property changes..",
-/* creats*/       "OttavaSpanner",
+/* creats*/       "OttavaBracket",
 /* accepts */     "",
 /* acks  */      "note-column-interface",
 /* reads */       "ottavation",
index c1025bd54c9e8c3e01b82a95740193fb3d05fb3f..41aa334d1f2c7351e25f1844300c9f9244d28be2 100644 (file)
@@ -40,7 +40,6 @@ Text_spanner::brew_molecule (SCM smob)
   Spanner *spanner = dynamic_cast<Spanner*> (me);
   
   /* Ugh, must be same as Hairpin::brew_molecule.  */
-  Real padding = robust_scm2double ( me->get_grob_property ("if-text-padding"), 0);
 
   Grob *common = spanner->get_bound (LEFT)->common_refpoint (spanner->get_bound (RIGHT), X_AXIS);
   Paper_def * paper = me->get_paper();
@@ -157,5 +156,5 @@ Text_spanner::brew_molecule (SCM smob)
 
 ADD_INTERFACE (Text_spanner,"text-spanner-interface",
               "generic text spanner",
-              "text-repeat-if-broken dash-period if-text-padding dash-fraction edge-height bracket-flare edge-text shorten-pair style thickness enclose-bounds width-correct");
+              "text-repeat-if-broken dash-period if-text-padding dash-fraction edge-height bracket-flare edge-text shorten-pair style thickness enclose-bounds");
 
index ac4b99d0cd1d3c3ec4c654a185f6bb55cb2b011c..0db8f40c691547ef4ba81cd829b5d340dfd7b3a3 100644 (file)
@@ -140,12 +140,13 @@ fet_beginchar("Brevis notehead", "-1neo_mensural", "mensuralbrevishead")
        draw_neo_brevis(2 staff_space#);
 fet_endchar;
 
-def draw_neo_mensural_black_head (expr wid) =
+def draw_neo_mensural_black_head (expr wid, height) =
        save head_width;
        head_width# = wid;
-       set_char_box (0, head_width#, noteheight#/2, noteheight#/2);
+       set_char_box (0, head_width#, height/2, height/2);
+       
        charwx := head_width# / 2;
-       charwy := noteheight# / 2;
+       charwy := height / 2;
 
        y3 = y1 =0;
        x2 = x4 = (x1 + x3) /2;
@@ -159,8 +160,8 @@ def draw_neo_mensural_black_head (expr wid) =
        filldraw z1 -- z2 -- z3 -- z4 -- cycle;
 enddef;
 
-def draw_neo_mensural_open_head (expr wid)=
-       draw_neo_mensural_black_head (wid);
+def draw_neo_mensural_open_head (expr wid, height)=
+       draw_neo_mensural_black_head (wid, height);
        save diamNW, diamSW;
        diamNW = length (z2 - z1) + blot_diameter;
        diamSW = length (z4 - z1) + blot_diameter;
@@ -180,22 +181,22 @@ def draw_neo_mensural_open_head (expr wid)=
 enddef;
 
 fet_beginchar("Neo-mensural open head","0neo_mensural","neomensuralsemibrevishead")
-      draw_neo_mensural_open_head (staff_space#);
+      draw_neo_mensural_open_head (staff_space#, noteheight#);
 fet_endchar;
 
 fet_beginchar("Harmonic notehead (Neo-mensural open)","0harmonic","harmonichead")
-       draw_neo_mensural_open_head (staff_space#);
+       draw_neo_mensural_open_head (1.3 staff_space#, 1.3 noteheight#);
        charwx := head_width#;
        charwy := 0;
 fet_endchar;
 
 
 fet_beginchar("Neo-mensural open head","1neo_mensural","neomensuralminimahead")
-      draw_neo_mensural_open_head (staff_space#);
+      draw_neo_mensural_open_head (staff_space#, noteheight#);
 fet_endchar;
 
 fet_beginchar("Neo-mensural black head","2neo_mensural","neomensuralsemiminimahead")
-      draw_neo_mensural_black_head (staff_space#);
+      draw_neo_mensural_black_head (staff_space#, noteheight#);
 fet_endchar;
 
 
index c368355c2a143f8fd2a25b1737bdde02545dcf7e..6731047090cb1a64ca84ceb4955933b9c8d46cf0 100644 (file)
@@ -82,6 +82,7 @@ For chord inversions, this is negative.")
 (music-property-description 'types list? "The types of this music object. Determines iteration in some cases.")
 (music-property-description 'repeat-count  integer? "do a @code{\repeat} how ofen?")
 (music-property-description 'span-direction ly:dir? "Does this start or stop a spanner?")
+(music-property-description 'split-list list? "splitting moments for part combiner.")
 
 (music-property-description 'start-moment-function procedure? "Function to compute the negative length of
 starting grace notes.")