Comment #12 on issue 3504 by [email protected]: \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