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: Janek Warchoł
Subject: Re: X-aligning on Y-parent - ?? advice needed
Date: Thu, 4 Apr 2013 19:01:57 +0200

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

Attachment: 0001-try-to-change-MMRnumbers-to-items-from-spanners.patch
Description: Binary data


reply via email to

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