lilypond-user
[Top][All Lists]
Advanced

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

Re: (bug?) irregular lyrics distance in 2.13.10


From: Reinhold Kainhofer
Subject: Re: (bug?) irregular lyrics distance in 2.13.10
Date: Wed, 13 Jan 2010 17:21:34 +0100
User-agent: KMail/1.12.4 (Linux/2.6.31-17-generic; KDE/4.3.4; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch, 13. Januar 2010 17:02:18 schrieb David Kastrup:
> Alexander Kobel <address@hidden> writes:
> > Wilbert Berendsen wrote:
> >> LilyPond 2.12.2 and 2.13.1 display the Lyrics lines correctly, at
> >> regular distances.
> >>
> >> It seems the new vertical spacing engine in 2.13.10 has not (yet)
> >> sensible defaults for Lyrics contexts?
> >
> > I suppose it's because the spacing in 2.12 only relied on the Y-extent
> > property, which defaults to a value including usual extenders of the
> > glyphs?
> 
> TeX's algorithm is that the baselines of successive lines are placed
> \baselineskip apart, unless that makes the depth of the previous line
> and the height of the current come closer than \lineskiplimit, in which
> case the separation is chosen as \lineskip.

That's basically the approach taken by Joe for spacing staves: Place the 
center lines minimum-spacing apart, except if the skylines would (almost?) 
overlap (including a padding). In the latter case add space until no overlap 
occurs. Of course, when stretching is enabled, things are a little more 
involved.

I just don't know how Joe aligns lyrics, in particular, whether only the 
extents are used or whether the baseline is used like the center line for 
staves.

Without looking at the code, I would say the basic functionality is there, it 
just needs to be adjusted for and/or extended to the lyrics context, too.


Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFLTfMPTqjEwhXvPN0RAuNrAJ9q1UZ3FHJ2TwaRUpRceOaG0foKGwCfRWtE
hcRojulzJXRd6K76pF7VUDo=
=Pk8T
-----END PGP SIGNATURE-----




reply via email to

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