bug-lilypond
[Top][All Lists]
Advanced

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

Re: self-alignment-X has the opposite effect on Lyric syllables narrower


From: Jean Abou Samra
Subject: Re: self-alignment-X has the opposite effect on Lyric syllables narrower than the note-head
Date: Sun, 27 Feb 2022 15:56:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0



Le 01/02/2022 à 22:41, Simon Albrecht a écrit :
Hi Aaron,

thanks for looking into this.

On 20/01/2022 14:07, Aaron Hill wrote:
Firstly, alignment values outside the interval [-1, 1] in general behave oddly as the result depends on the size of the object in question.  Larger things do end up moving more.

Well, I wouldn’t call that ‘odd’ since it is a very useful effect and I very often use alignment values other than -1 or 1, which makes it intuitive to work with. The step from 0.8 to 1 is the same as the step from 1 to 1.2.


Secondly, LyricText has parent-alignment-X set to '() which, as far as I can tell, results in inheriting self-alignment-X. Choosing #RIGHT, for example, means to have the right side of the text align with the right edge of the note.

That’s unexpected and explains it perfectly. I will set parent-alignment-X to 0 in my default style sheet.

However, it may be worthwhile opening a ticket like “Unset parent-alignment-X causes unexpected behaviour” IMO.

Best, Simon


Opened ticket
https://gitlab.com/lilypond/lilypond/-/issues/6295

Jean



reply via email to

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