lilypond-devel
[Top][All Lists]
Advanced

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

Re: X-aligning on Y-parent - ?? advice needed


From: Han-Wen Nienhuys
Subject: Re: X-aligning on Y-parent - ?? advice needed
Date: Fri, 5 Apr 2013 19:22:30 +0200

They have to be spanners - if the mm rest is broken across a linebreak, the text should be too.


On Thu, Apr 4, 2013 at 7:01 PM, Janek Warchoł <address@hidden> wrote:
Hi Han-Wen,

On Thu, Apr 4, 2013 at 10:48 AM, Han-Wen Nienhuys <address@hidden> wrote:
> I think this is because these are texts that are attached to multimeasure
> rests. The multi measure rest is the Y parent of the text. IIRC, the texts
> are implemented as spanners,
> so their X parent would be the left bound of the text spanner.

Indeed it seems that this is the case, but i don't see any sense in it.
It is obvious that MultiMeasureRest itself should be a spanner, but
its number is just a text, an item with a fixed width.  Why should it
be a spanner?
I've traced this code back to commit 0d239922, which introduces
separate grob for MMRnumbers, and i found no explanation why it should
be a spanner.
I've tried changing them to be Items, but all i got was a segfault (my
attempt attached).
Suggestions?

Janek



--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

reply via email to

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