+2005-04-05 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scm/define-grob-properties.scm (all-user-grob-properties): add
+ same-direction-correction
+
+ * VERSION: release 2.5.18
+
2005-04-05 Jan Nieuwenhuizen <janneke@gnu.org>
* lily/midi-stream.cc: Handle unwritable midi file.
= (head_posns[LEFT][DOWN] > head_posns[RIGHT][UP]) ? RIGHT : LEFT;
Real delta = head_posns[-lowest][DOWN] - head_posns[lowest][UP];
- Real corr = robust_scm2double (me->get_property ("stem-spacing-correction"), 0);
- corr = (delta <= 1) ? 0.0 : 0.25;
-
- correction = -lowest * corr;
+ Real corr = robust_scm2double (me->get_property ("same-direction-correction"), 0);
+
+ if (delta > 1)
+ correction = -lowest * corr;
}
*space += correction;
directions, this amount is the correction for two normal sized stems
that overlap completely.")
-
+ (same-direction-correction ,number? "Optical correction amount
+for stems that are placed in tight configurations. This amount is used
+for stems with the same direction to compensate for note-head to stem distance.")
(string-count ,integer? "The number of strings in a fret diagram.")
(stroke-style ,string? "set to \"grace\" to turn stroke through flag on.")
(NoteSpacing
. (
(stem-spacing-correction . 0.5)
-
+ (same-direction-correction . 0.25)
;; Changed this from 0.75.
;; If you ever change this back, please document! --hwn
(knee-spacing-correction . 1.0)