lilypond-user
[Top][All Lists]
Advanced

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

Re: vertical spacing of footnotes


From: Jean Abou Samra
Subject: Re: vertical spacing of footnotes
Date: Tue, 14 Feb 2023 01:48:50 +0100
User-agent: Evolution 3.46.3 (3.46.3-1.fc37)

Le lundi 13 février 2023 à 19:37 -0500, kieren@kierenmacmillan.info a écrit :

Am I the only one who thinks users shouldn’t have to add transparent
letters with ascenders and descenders in order to have a consistent line
height?! Working with text should not require such efforts…

Unfortunately, LilyPond's idea of stencils is not prepared for doing that automatically: a stencil is basically a drawing _expression_ + an X extent + an Y extent. The info on the lines of text that made this stencil, if it was made from text, is lost.

It'd be possible to add an option for making equal spacing between the baselines of footnote lines, but it'd be a crutch: it would handle footnotes extending on multiple lines poorly.

The real fix would be changing the Stencil class to include an additional data member that would be the extent from the baseline of the first line of text to the baseline of the last line of text. Expect a lot of work though: all stencil operations would have to be modified to account for it.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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