"Karol Majewski" <[email protected]> wrote in message
news:CAH85bB0snHDt5GtKyjWGgeOMmWkKx=wrkZ=kLx=+qL2TXx0V=a...@mail.gmail.com...
Hi,
Take look at this:
%%%%%%%%%%
\version "2.17.22"
\layout {
\context {
\Score
\override TextScript.whiteout = ##t
}
}
right = \relative c' {
<a' c d>4 <a c d> <a c d> <a c d> _"whoooo"
<a c d>8 <a c d>4 <a c d>8 <a c d>2
}
left = \relative c {
<a' c d>4 <a c d> <a c d> <a c d>
<a c d>8 <a c d>4 <a c d>8 <a c d>2
}
\score {
<<
\new PianoStaff
<<
\new Staff = "right" \right
\new Staff = "left" \left
>>
>>
}
%%%%%%%%%%%%%%%
First note in the second bar is partially overlayed by whie box, which is
not what we want, do we?
I wouldn't actually call it a bug. It happens because lily now places
objects around text based on the actual shape of the text itself. However,
the whiteout is purely a box, and so doesn't follow the same shape. Simple
fix:
\layout {
\context {
\Score
\override TextScript.whiteout = ##t
\override TextScript #'vertical-skylines = #'()
}
}
--
Phil Holmes
Bug Squad
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond