bug-lilypond
[Top][All Lists]
Advanced

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

Re: Horizontal alignment of DynamicTextSpanner left text


From: Jean Abou Samra
Subject: Re: Horizontal alignment of DynamicTextSpanner left text
Date: Sun, 27 Feb 2022 15:56:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0



Le 02/02/2022 à 00:24, Jean Abou Samra a écrit :
Le 01/02/2022 à 22:27, Simon Albrecht a écrit :
Thanks for the encouragement ;)

I don’t have any knowledge of C++ at all and haven’t made any contributions to the code for a long time. I’ll see whether I can find time to try.



For a start, renaming attach-dir can be done via search/replace
without any knowledge of C++ at all. You just need to update
documentation and regtests as well [1]. You should also add
a convert-ly rule in python/convertrules.py (if you don't know
Python, it's famous for being easy to learn, and you can mimic
the existing rules).

I'm actually starting to wonder if parent-alignment-X will be
the best name since bound-details.right.parent-alignment-X aligns
on the right bound, which is not at all the X parent of the spanner;
the parent is normally the left bound. So bound-alignment-X
would be more appropriate, although the little lie in
parent-alignment-X might be acceptable for the benefit of
making interfaces easier to remember.

Best,
Jean


Opened
https://gitlab.com/lilypond/lilypond/-/issues/6294

Jean



reply via email to

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