Awesome, thanks Pierre! It worked.
Here is where I put it in my .ly file if anyone needs it:

\layout {
...
  \context {
    \TabStaff
    \clef moderntab
...
    \override TabNoteHead.whiteout = ##f
  }
}

Have a nice day,
Steve


Le lun. 27 avr. 2020 à 17:25, Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> a écrit :

> Hi Steve and welcome to the Pond.
> \override TabStaff.TabNoteHead.whiteout = ##f
> should do th trick.
> See for more details:
> http://lilypond.org/doc/v2.19/Documentation/internals/tabnotehead
> HTH, cheers,
> Pierre
>
>
> Le lun. 27 avr. 2020 à 17:13, Steve Moreau <moreau.st...@gmail.com> a
> écrit :
>
>> Hi,
>>
>> I'm new to the list, so first thanks for the good job :)
>> I tried to export a .ly file to a transparent PNG.
>> Everything seems fine except for the tab number of the TabStaff (which
>> has a white background, see the image below):
>>
>> [image: image.png]
>>
>> Is it a wrong configuration on my side or a limit of the current code?
>> I'm still digging to change the font as well, so maybe I'll find it in
>> the documentation later.
>> But just in case nobody notices it.
>> Have a nice day
>>
>> $ lilypond --version
>> GNU LilyPond 2.20.0
>>
>> $ lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts
>> -dpixmap-format=pngalpha --png test.ly
>>
>> As for the ly file it is one the sample of the documentation, adapted a
>> bass.
>> I guess the relevant part are
>>
>> mynotes = {
>>   e f g c' | \noBreak
>>   e'4 g' b' c'' | \break
>>   e
>> }
>> \new TabStaff {
>>   #(define custom-tuning #{ \stringTuning <e, a d' g'> #})
>>   \set Staff.stringTunings = #custom-tuning
>>   \mynotes
>> }
>>
>>
>>

Reply via email to