Hi Han-Wen,

On Thu, Apr 4, 2013 at 10:48 AM, Han-Wen Nienhuys <hanw...@gmail.com> 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

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to