lilypond-user
[Top][All Lists]
Advanced

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

Re: Extend Whiteout property


From: Lukas-Fabian Moser
Subject: Re: Extend Whiteout property
Date: Fri, 7 Sep 2018 16:39:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Dear Kieren,

Am 07.09.2018 um 15:24 schrieb Kieren MacMillan:
Hi Fox & folks,

I wonder if it is possible to extend in the X-direction the whiteout property on a grob?
This is something I’ve been musing about for about six months now. There are definitely situations where I want to have independent control of the [thickness/extent of the] X- and Y- directions of the whiteout.

Looking forward to hearing any solutions offered (beyond the obvious markup solution you posted).
I took this as an intencive to take a stab at delving into the source code (which I always did read-only up to now). I think I managed to create a working branch from current master (I also never got the hang of git...) that allows for

\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
}

producing



But, to be honest, I
a) am a bit ashamed because I certainly produced quite a mess in terms of code quality (being a once-a-year programmer),
b) don't quite now how to proceed with it from now.

Is there a way that one of the more experienced developers might take a look at what I produced at help me in getting it up to scratch?

Best
Lukas

reply via email to

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