bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1328 in lilypond: Slurs collides with fermata


From: lilypond
Subject: Re: Issue 1328 in lilypond: Slurs collides with fermata
Date: Thu, 11 Aug 2011 07:31:32 +0000


Comment #3 on issue 1328 by address@hidden: Slurs collides with fermata
http://code.google.com/p/lilypond/issues/detail?id=1328

All of the changes are intentional. The reason that the slur is closer to the bow mark is because the bow mark used to be translated based on a slur coordinate that was higher than it needed to be. Now, the bow mark avoids the slur by 0.2 (which is the blanket slur-padding that I've added to all scripts - this blanket padding seems appropriate given the snug fit that this patch creates between slurs and scripts).

Long story short: the old way this was done was by taking a measurement of the slur/script collision at the beginning, middle, and end of the script along the X-axis and shifting based on the biggest offender. With this patch, the code finds slur/script collisions anywhere along the script (not just beginning/middle/end) and shifts the script just above the highest/lowest point of collision (depending on script direction) + slur-padding (0.2, as hardcoded in this patch).

Cheers,
MS




reply via email to

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