Comment #2 on issue 1513 by reinhold...@gmail.com: Figured bass extenders do not line up
http://code.google.com/p/lilypond/issues/detail?id=1513
That patch is needed to ensure that all extenders stop at the same horizontal position (independent of the figure's actuall width). Other wise the extender of a 4+ figure would be longer thant the extender of a 5 figure. If they appear at the same time, this looks awfull.
Unfortunately, I have not yet found the perfect solution to the problem. The above mentioned patch makes all hidden figures (i.e. the right edge of the extender) behave like they have a figure "0", thus forcing them to end at the same position. Unfortunately, this messes up the Y extent/position if the extender does not come from a digit.
What I would really need is a way to make the right edge of the extender behave as if it has the Y extent of the original figure and the X extent of a single digit (in all cases, even if the figure is something completely different). Unfortunately, the engraver only sets the text property as markup (which is then processed by ly:text-interface::print), so I don't have access to the X and Y extent yet.
And in Figured_bass_continuation::print, where I have access to the extent, I don't know how to deal with the custom alignment of the figures (i.e. 4+, #5 and 6 exactly align the digits, but are then shifted by the widht of the #; Longer digits, e.g. "12" are then left aligned the resulting grob. So I can't take the left/right edge or the center of the markup, there).
So, I'm really at loss here how to properly make the extenders stop at the same position without messing up the Y position...
_______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond