]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scm/define-markup-commands.scm (note-by-number): remove debug display.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 5 May 2006 12:19:12 +0000 (12:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 5 May 2006 12:19:12 +0000 (12:19 +0000)
(note-by-number): further attachment fixes.

* scm/define-markup-commands.scm (note-by-number): read 'style
property.

* mf/feta-bolletjes.mf (overdone_heads): fix attachment points for
triangle head.

ChangeLog
VERSION
mf/feta-autometric.mf
mf/feta-bolletjes.mf
scm/define-markup-commands.scm

index 0312d9dfb94f6dbcdc91827a0cb82977c304b32e..9965de0e1b64d4c2606943030cc26af440a15c0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2006-05-05  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
        * scm/define-markup-commands.scm (note-by-number): remove debug display.
+       (note-by-number): further attachment fixes.
 
        * scm/lily-library.scm (ordered-cons): new function.
        (interval-index): new function
@@ -11,7 +12,6 @@
 
        * scm/define-markup-commands.scm (note-by-number): read 'style
        property. 
-       
 
        * input/regression/markup-note.ly: show note-head style option.
 
diff --git a/VERSION b/VERSION
index c6046fa0f2226167e2961ce9ff5215e77e8c473c..ff852b3e82a871129ff109601133a1423b4f13e0 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,6 +1,6 @@
 PACKAGE_NAME=LilyPond
 MAJOR_VERSION=2
 MINOR_VERSION=9
-PATCH_LEVEL=3
+PATCH_LEVEL=4
 MY_PATCH_LEVEL=
 
index e500999ec48633ed9fd34eb1d64c3f77afe47986..50648f13c0bcd2f9f20ede6d7490ce6ac205dcc7 100644 (file)
@@ -14,7 +14,8 @@
 
 message "******************************************************";
 message "Using feta Autometric macros.";
-message "Do not worry about the @ signs in the output, they are not errors.";
+message "order of messages: ";
+message " NAME/CODE/BP/WD/DP/HT/WX/WY";
 message "******************************************************";
 message "";
 
index 7eda902975292ef242ee9811ee850dc92b695efb..c09c3d2df9c4bba4d55194b66350f3778315b142 100644 (file)
@@ -443,6 +443,7 @@ def define_triangle_shape (expr stemdir) =
                       & {direction infinity of triangle_out_c}z1'l
                       .. cycle;
 
+
        labels (0, 10, 20, 30);
        penlabels (1, 1', 2, 2', 3, 3', 12, 23, 31);
 
@@ -452,7 +453,7 @@ def define_triangle_shape (expr stemdir) =
                charwx := xpart exact_right_point + .5 pen_thick# * xs;
        else:
                charwy := -ypart exact_down_point;
-               charwx := (width# - xpart exact_down_point + xs * pen_thick#);
+               charwx := (width# - (xpart exact_down_point - 0.5 * xs * pen_thick#));
        fi
 enddef;
 
index c5ee47382fd03768df660358db9ec6efd4f4ac80..7f7b964d94325804b38c366d9754c472178253d6 100644 (file)
@@ -1169,21 +1169,20 @@ figured bass notation"
          (stem-length (*  size-factor (max 3 (- log 1))))
          (head-glyph-name (get-glyph-name font (get-glyph-name-candidates dir log style)))
          (head-glyph (ly:font-get-glyph font head-glyph-name))
-        (attach-indices (offset-scale
-                         (ly:note-head::stem-attachment font head-glyph-name) dir))
-        
+        (attach-indices (ly:note-head::stem-attachment font head-glyph-name))
          (stem-thickness (* size-factor 0.13))
          (stemy (* dir stem-length))
          (attach-off (cons (interval-index
                            (ly:stencil-extent head-glyph X)
-                           (car attach-indices))
-                          (interval-index
-                           (ly:stencil-extent head-glyph Y)
-                           (cdr attach-indices))))
-
+                           (* dir (car attach-indices)))
+                          (* dir       ; fixme, this is inconsistent between X & Y.
+                             (interval-index
+                              (ly:stencil-extent head-glyph Y)
+                              (cdr attach-indices)))))
          (stem-glyph (and (> log 0)
                          (ly:round-filled-box
-                          (ordered-cons (car attach-off) (+ (car attach-off)  (* (- dir) stem-thickness)))
+                          (ordered-cons (car attach-off)
+                                        (+ (car attach-off)  (* (- dir) stem-thickness)))
                           (cons (min stemy (cdr attach-off))
                                 (max stemy (cdr attach-off)))
                           (/ stem-thickness 3))))