(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.
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
* scm/define-markup-commands.scm (note-by-number): read 'style
property.
-
* input/regression/markup-note.ly: show note-head style option.
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=9
-PATCH_LEVEL=3
+PATCH_LEVEL=4
MY_PATCH_LEVEL=
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 "";
& {direction infinity of triangle_out_c}z1'l
.. cycle;
+
labels (0, 10, 20, 30);
penlabels (1, 1', 2, 2', 3, 3', 12, 23, 31);
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;
(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))))