bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1513 in lilypond: Figured bass extenders do not line up


From: lilypond
Subject: Re: Issue 1513 in lilypond: Figured bass extenders do not line up
Date: Sat, 19 Feb 2011 14:56:43 +0000


Comment #2 on issue 1513 by address@hidden: 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...




reply via email to

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