lilypond-devel
[Top][All Lists]
Advanced

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

Re: skyline vertical spacing


From: Werner LEMBERG
Subject: Re: skyline vertical spacing
Date: Tue, 14 Nov 2006 11:53:12 +0100 (CET)

> It would also deal solve some numerical accuracy issues. If I have 2
> double-sharps a third apart, the bottom of one is _exactly_ at the
> same y-coordinate as the top of the other. Since we currently do
> skylines as boxes with vertical sides, it would only take some
> floating point error to cause the skylines not to collide and the
> double-sharps to end up vertically stacked. With sloped skylines, a
> tiny error would only cause them to move towards each other by a
> proportional amount.

Well, just add some espilon to the values to avoid completely
identical values.  Knuth uses similar strategies for Metafont.


    Werner




reply via email to

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