|
From: | Han-Wen Nienhuys |
Subject: | Re: X-aligning on Y-parent - ?? advice needed |
Date: | Fri, 5 Apr 2013 19:22:30 +0200 |
Hi Han-Wen,
Indeed it seems that this is the case, but i don't see any sense in it.
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.
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
[Prev in Thread] | Current Thread | [Next in Thread] |