|
From: | lilypond |
Subject: | Re: Issue 2066 in lilypond: Patch: Prevents accidentals from hanging over barlines. |
Date: | Mon, 05 Dec 2011 07:50:47 +0000 |
Comment #8 on issue 2066 by address@hidden: Patch: Prevents accidentals from hanging over barlines.
http://code.google.com/p/lilypond/issues/detail?id=2066 Hey all, I'm abandoning the patch but not the issue.The only way to solve this problem is to create a BarLineStub grob that has the same height as the bar line and has an extra spacing height from the pure-from-neighbor-interface. Then, in separation-item.cc, only ever allow this grob to be part of a horizontal skyline on the left (to block accidentals) but never on the right. Then, the accidental hang-over can be controlled by sliding this grob left from the BarLine. Its X-offset from the BarLine can be controlled by a callback that pushes it slightly further back if there is lots of potential accidental hang-over but otherwise keeps it at the same horizontal position as the bar line.
This'll take some time & I won't be able to do it in the near future. If there are any takers, I'd be happy to help out! It is a great project for someone who is new-ish to development and would like to learn about horizontal spacing.
[Prev in Thread] | Current Thread | [Next in Thread] |