[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: White on black with whiteout
From: |
Lukas-Fabian Moser |
Subject: |
Re: White on black with whiteout |
Date: |
Mon, 6 Jan 2025 14:57:05 +0100 |
User-agent: |
Mozilla Thunderbird |
Hi Simon,
Am 06.01.25 um 14:40 schrieb Simon Albrecht:
Hi Harm, hello list,
unfortunately Yoshiaki-san’s “issue report” regarding whiteout has me
coming back to you for help, since I don’t understand the mechanisms
of your implementation well enough to start addressing the issue myself.
Are we at the limits of what can sensibly be addressed on LSR-level?
Should I create a ticket on implementing background-color and
print-color in base LilyPond and have whiteout recognise that
appropriately?
I'm afraid so. Whiteout color white is hard-coded in scm/stencil.scm.
This should be re-implemented using either a global variable for the
background color or (much better) a paper variable. But I doubt whether
paper variables can be used in general stencil routines, so it's maybe
better to modify the \whiteout music and markup functions.
Maybe it would be possible to refine harm's function (which at the
moment uses stencil-with-color, which simply puts a color-selection
command in front of the stencil expression as far as I can see) so that
it walks through the page stencil expression and turns any explicit
"white" into the selected background color. That could work, but it
would mess up any construction where white is being used in a
non-background meaning (i.e. for some rehearsal mark with white-on-black
design) - which would probably be acceptable as a first approximation.
Lukas
- Re: White on black, (continued)
- Re: White on black, Simon Albrecht, 2025/01/02
- Re: White on black, Ya Gloops, 2025/01/02
- Re: White on black, Simon Albrecht, 2025/01/02
- Re: White on black, Thomas Morley, 2025/01/02
- Re: White on black, Ya Gloops, 2025/01/03
- Re: White on black, Simon Albrecht, 2025/01/03
- Re: White on black, Thomas Morley, 2025/01/03
- Re: White on black, Simon Albrecht, 2025/01/03
- Re: White on black, Simon Albrecht, 2025/01/03
- White on black with whiteout, Simon Albrecht, 2025/01/06
- Re: White on black with whiteout,
Lukas-Fabian Moser <=
- Re: White on black with whiteout, David Kastrup, 2025/01/06
- Re: White on black with whiteout, Lukas-Fabian Moser, 2025/01/06
- Re: White on black with whiteout, David Kastrup, 2025/01/06
- Re: White on black with whiteout, Lukas-Fabian Moser, 2025/01/06
- Re: White on black with whiteout, Werner LEMBERG, 2025/01/06
- Re: White on black with whiteout, Lukas-Fabian Moser, 2025/01/06
- Re: White on black with whiteout, Werner LEMBERG, 2025/01/06
- Re: White on black with whiteout, Lukas-Fabian Moser, 2025/01/06
- Re: White on black with whiteout, Simon Albrecht, 2025/01/06
- Re: White on black with whiteout, Lukas-Fabian Moser, 2025/01/06