bug-lilypond
[Top][All Lists]
Advanced

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

Super-correction


From: Han-Wen
Subject: Super-correction
Date: Sun, 16 Jun 2002 23:15:04 +0200

address@hidden writes:
> Without optical correction the horizontal distance between 2nd and 3rd 
> stem is smaller than distance between 1st and 2nd stem. As this is would 
> be a Bad Thing (TM) lilypond tries to correct for this.
> However, in this example, lilypond supercorrects so that the distance 
> now is GREATER than the distance between the other stem.
> This looks rather stupid.
> 
> 
> \score {
>      \context PianoStaff \notes \transpose c''' <
>      \context Staff = up { s1 }
>      \context Staff = down { [c8 c \translator Staff=up <c d> c 
> \translator Staff=down c c c] }
>      >
>      \paper { linewidth = -1 }
> }

yeah, but now you're really getting nit picky: the code also corrects
for the swapped note head, which happens to be irrelevant in this case
(but is in  a  lot of other cases.) The code in question is in 

        void
        Note_spacing::get_spacing (Grob *me, Item* right_col,
                                   Real base_space, Real increment, Real 
*space, Real *fixed)

Patches appreciated.

--
Han-Wen Nienhuys   |   address@hidden   |   http://www.cs.uu.nl/~hanwen 



reply via email to

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