lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 3504 in lilypond: \hspace isn't aligned proper


From: lilypond
Subject: Re: [Lilypond-auto] Issue 3504 in lilypond: \hspace isn't aligned properly by \fill-line (caused by fix to issue 3330)
Date: Thu, 10 Oct 2013 17:05:25 +0000


Comment #12 on issue 3504 by address@hidden: \hspace isn't aligned properly by \fill-line (caused by fix to issue 3330)
http://code.google.com/p/lilypond/issues/detail?id=3504

Phil, \fill-line does subtract the extent of the text from the line-width to figure the total space between words, but does /not/ distribute that space evenly. See the image from the manual, where the underlying \fill-line {Poet Instrument Composer} keeps "Instrument" centered on the page.

This behavior did not change with the patch for issue 3330. \fill-line did not change with that patch.

The underlying functions that put stencils in a line were changed: such that \hspace always /replaces/ word-space on either side of it. \fill-line does not account for that new behavior when figuring the list of paddings between items.

The underlying function 'stack-stencils-padding-list', which is undocumented and used within LilyPond only for \fill-line, was changed with the patch for issue 3330, so we would try to change it back.

The function 'stack-stencils-padding-list' that takes an explicit list of paddings, should probably not have those paddings treated as word-space, because we do not want the special treatment of word-space around \hspace for items in an explicit list of paddings.

Attachments:
        fill-line.png  14.8 KB

--
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]