lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 3915 in lilypond: Patch: Fix calculation of X-


From: lilypond
Subject: Re: [Lilypond-auto] Issue 3915 in lilypond: Patch: Fix calculation of X-extent of AccidentalPlacement.
Date: Sat, 03 May 2014 19:21:48 +0000


Comment #1 on issue 3915 by address@hidden: Patch: Fix calculation of X-extent of AccidentalPlacement.
http://code.google.com/p/lilypond/issues/detail?id=3915

This is a bug described by Thomas Morley here:
http://www.mail-archive.com/lilypond-user%40gnu.org/msg90755.html

In this message he provides the following code:

info =
\override Staff.AccidentalPlacement #'after-line-breaking =
 #(lambda (grob)
   (display (interval-length (ly:grob-extent grob grob X)))
   (newline))

\relative c' {
    \info
    <c d>
    <cis d>1
    <cis dis>
    <cis dis eis>
    <cis dis eis fis>
    <cis dis eis fis gis>
}

In 2.19.6, this produces 1.1 for each AccidentalPlacement grob. With the patch, we get this for output:

1.1
2.4
3.7
5.0
5.828

(Note: one or other of these values is different for pre-skyline-overhaul versions (< 2.17.3?) The accidentals nestle closer in some cases as a result of skyline work.)


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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