X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fwhiteout.ly;h=543d94f369da04536a8fc13c3a88a0466871fac4;hb=a307b1d69dff09d4d9a75c53a20a02ec7545d282;hp=def544c1b641f3a8d876ceb47aaa7903776d27bb;hpb=958e95822083954cad00e0a598eb9f12ceba67b9;p=lilypond.git diff --git a/input/regression/whiteout.ly b/input/regression/whiteout.ly index def544c1b6..543d94f369 100644 --- a/input/regression/whiteout.ly +++ b/input/regression/whiteout.ly @@ -1,10 +1,13 @@ \header { - texidoc = "The whiteout command underlays a white box under a -markup. " + texidoc = "The whiteout command underlays a white background under a +markup. The shape is determined by @code{whiteout-style}. The default +is @code{box} which produces a rectangle. @code{rounded-box} produces +a rounded rectangle. @code{outline} approximates the outline of the +markup." } -\version "2.19.21" +\version "2.19.32" \paper { @@ -14,5 +17,23 @@ markup. " \relative { \override TextScript.layer = #'2 \override TextScript.extra-offset = #'(2 . 4) - c''4-\markup { \whiteout \pad-markup #0.5 foo } c + c''4-\markup { \whiteout foo } c + c-\markup { \whiteout \pad-markup #0.5 foo } c + c-\markup { + \override #'(thickness . 2) + \whiteout foo + } + c + c-\markup { + \override #'(thickness . 3) + \override #'(style . rounded-box) + \whiteout foo + } + c + c-\markup { + \override #'(thickness . 3) + \override #'(style . outline) + \whiteout foo + } + c }