bug-gnu-music
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: neutral direction


From: Mats Bengtsson
Subject: Re: neutral direction
Date: Thu, 21 Jun 2001 00:41:40 +0200

> Interesting bug in 1.4.2 (don't know whether this has been fixed in 1.4.3):
> 
> The property for whether notes in the middle of staves get stems and beams
> up or down is supposed to be called "default-neutral-direction".  The
> property type-checker realizes this, but the internals do not.  So using
> "default-neutral-direction" generates no warnings, but doesn't do anything;
> while using "neutral-direction" dumps out warnings, but actually works.

And here's the corresponding patch for 1.4.3:

  /Mats


diff -u scm/interface-description.scm~ scm/interface-description.scm
--- scm/interface-description.scm~      Sun May  6 03:10:11 2001
+++ scm/interface-description.scm       Thu Jun 21 00:36:48 2001
@@ -75,7 +75,7 @@
    height
    flag-width-function 
    damping 
-   default-neutral-direction 
+   neutral-direction 
    thickness 
    space-function 
    beamed-stem-shorten 
@@ -129,7 +129,7 @@
    stem-shorten 
    duration-log 
    beaming 
-   default-neutral-direction 
+   neutral-direction 
    stem-end-position 
    support-head 
    heads 
diff -u scm/grob-property-description.scm~ scm/grob-property-description.scm
--- scm/grob-property-description.scm~  Wed Jun 13 16:29:19 2001
+++ scm/grob-property-description.scm   Thu Jun 21 00:36:48 2001
@@ -101,7 +101,7 @@
 (grob-property-description 'dash-period number? "the length of one dash + 
white space.")
 (grob-property-description 'dashed number? "[FIXME: use dash-period/dash 
length; see text-spanner] number representing the length of the dashes.")
 (grob-property-description 'de-uglify-parameters list? "list of 3 real 
constants. They define the valid areas for the middle control points. Used in 
de_uglyfy. They are a bit empirical.")
-(grob-property-description 'default-neutral-direction dir? "Where to go if 
we're in the middle of the staff.")
+(grob-property-description 'neutral-direction dir? "Where to go if we're in 
the middle of the staff.")
 (grob-property-description 'delta-y number? "amount of ascension.")
 (grob-property-description 'dependencies list? "list of score-grob pointers 
that indicate who to compute first for certain global passes.")
 (grob-property-description 'details list? "alist of parameters for detailed 
grob behavior.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]