|
From: | lilypond |
Subject: | Re: Issue 2096 in lilypond: Patch: Implements cross-staff stem avoidance for dynamics. |
Date: | Fri, 30 Dec 2011 21:07:19 +0000 |
Comment #11 on issue 2096 by address@hidden: Patch: Implements cross-staff stem avoidance for dynamics.
http://code.google.com/p/lilypond/issues/detail?id=2096That's cool that it works with automatic beams...rarely does one of my patches work when I thought it wouldn't (usually it's the opposite).
It only avoids one stem because there's no way for it to know the horizontal position of neighboring stems (it's a pre-line-breaking calculation).
Turning it off is a bit complicated...the callback is chained on in the engraver, so it'd best be regulated through a context property. That's kinda kludgy, though. In general, I'm not a fan of the function chain_offset_callback - I'd rather that the functionality this adds be part of some function in output-lib.scm that could be rewritten. Otherwise, it is very inaccessible to users (users would have to rewrite the entire engraver to avoid it).
[Prev in Thread] | Current Thread | [Next in Thread] |