Le 31/01/2022 à 16:54, Simon Albrecht a écrit :
Hello list,
normally, horizontal alignment of grobs to other grobs is adjusted
using self-alignment-X and parent-alignment-X—IIRC, this was
homogenised some a couple years ago.
However, when wanting to adjust the alignment of a
DynamicTextSpanner’s left bound, I found that this is much less clear
for spanners. They have the parent-alignment-X component hidden behind
the misleading property name attach-dir, and no default way of
adjusting self-alignment-X via grob property (see this thread [1] for
workarounds).
I suggest modifying line-spanner-interface to use self-alignment-X and
parent-alignment-X in all subproperties of bound-details, and heeding
these properties for DynamicTextSpanner and similar grobs.
Best, Simon
[1]
https://lists.gnu.org/archive/html/lilypond-user/2022-01/msg00389.html
Do you have some knowledge of C++? Unlike vertical
placement, which is a little subtler, horizontal placement
in lily/line-spanner.cc is quite straightforward.
I'd expect a patch for this not to require extensive
knowledge of internals.
Best,
Jean
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond