[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix for bug #218 (center staccato over stem instead of notehead)
From: |
Maximilian Albert |
Subject: |
[PATCH] Fix for bug #218 (center staccato over stem instead of notehead) |
Date: |
Fri, 28 Nov 2008 01:29:28 +0100 |
Hi,
attached is a patch for bug #218 (see
http://code.google.com/p/lilypond/issues/detail?id=218). It simply
tests whether the directions of stem and articulation coincide, and if
so it shifts the latter sideways. Please note that the patch is just a
casual attempt to get more familiar with Lilypond's internals and that
the way it is implemented was derived mostly by trial-and-error and
sophisticated guessing. So any suggestions for improvement are most
welcome.
BTW, in the bug's description it says that only staccato marks should
be centered on the stem, but I personally find it more appealing if
this applies to any kind of articulation. If you think otherwise, I'd
be happy to adapt the patch but I don't know how to test whether the
grob actually is a staccato mark or something else.
Cheers,
Max
0001-If-articulation-is-over-the-stem-it-should-be-cente.patch
Description: Text Data
before.png
Description: PNG image
after.png
Description: PNG image
- [PATCH] Fix for bug #218 (center staccato over stem instead of notehead),
Maximilian Albert <=