Noeck <noeck.marb...@gmx.de> writes:

> Hi,
>
> is this a bug or intended: The following code worked nicely in 2.16 but
> with the latest version, the two columns do not fill the whole page
> width (what I would expect from fill-line). The 2.17 docs have a similar
> example - I found no syntax change.
>
> \version "2.17.26" %"2.16.0"
>
> \markup \fill-line {
>   \hspace #0.1                % shows no visible effect
>   \column {
>     "Trägt die schönsten bunten Schleifen,"
>   }
>   \hspace #0.1                % does not push the next column to the right
>   \column {
>     "Hat das Jahr genug vom Tanzen,"
>   }
>   \hspace #0.1
> }
>
> Is this a bug?

Well, partly it's a documentation problem, partly new behavior, partly
it may also be a bug.  The problem is that previously, \hspace was
implemented as going forward by the stated amount minus a space width.
In combination with the following interword space (_iff_ there was an
interword space following, otherwise \hspace would go wrong), this
resulted in 0.1 amounts of space.

\fill-line stretches the interword space.

Now \hspace has been changed to only actually take the required space
and it is _not_ getting surrounded by word space.  So there is less
opportunity for stretching.  Now \fill-line is not yet doing everything
right anyway, and that's
<URL:http://code.google.com/p/lilypond/issues/detail?id=3504>.  So there
will still be changes how the above works out.  But it's not clear that
it will, or that it indeed should work exactly as before.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to