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ł <[email protected]>wrote: > Hi Han-Wen, > > On Thu, Apr 4, 2013 at 10:48 AM, Han-Wen Nienhuys <[email protected]> > 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 - [email protected] - http://www.xs4all.nl/~hanwen
_______________________________________________ lilypond-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-devel
