Dear developers,
following a feature request on -user I tried my hand at implementing a
feature enabling non-quadratic form for box-whiteouts.
As I never participated in developing before (and only rarely get down
to coding these days), I'm pretty sure that what I did is substandard.
Urs Liska was kind enough to point me to the LilyPond repository on
GitHub (and comment on some aspects of my changes), but I unterstand
that is not really the right place.
So I just post a patch here in case anyone would be interested in
helping me bring my small contribution up to scratch.
Basically it adds to the 'whiteout property - which, at the moment,
can either be a boolean or a number indicating the dimension of a
quadratic whiteout box - a third possibility, namely a number pair
giving x- and y-dimension separately. For instance:
\version "2.21"
\new Staff {
\override NoteHead.whiteout = #'(5 . 40) % Pair of X-thickness and
Y-thickness
g'4
r2
\override NoteHead.whiteout = #'(40 . 5)
g'4
}
Best
Lukas