]> git.donarmstrong.com Git - lilypond.git/commitdiff
Regression test - make whiteout.ly reproducible
authorTrevor Daniels <t.daniels@treda.co.uk>
Sun, 11 Mar 2012 21:04:10 +0000 (21:04 +0000)
committerTrevor Daniels <t.daniels@treda.co.uk>
Sun, 11 Mar 2012 21:04:10 +0000 (21:04 +0000)
 - if 'layer is not set the order in which TextScript
   and Stem grobs are laid out is not determined,
   leading to variations in output.

input/regression/whiteout.ly

index bb0fae9691c1bf2e4cc4536db5925ae7647a9191..aa367f27c68a0ee7ed152ef776e646ade897fec9 100644 (file)
@@ -1,8 +1,7 @@
 \header {
 
   texidoc = "The whiteout command underlays a white box under a
-markup.  The whitening effect only is only guaranteed for staff lines,
-since staff lines are in a lower layer than most other grobs.  "
+markup.  "
 
 }
 \version "2.14.0"
@@ -13,6 +12,7 @@ since staff lines are in a lower layer than most other grobs.  "
 }
 
 \relative c'' {
+  \override TextScript #'layer = #'2
   \override TextScript #'extra-offset = #'(2 . 4)
   c4-\markup  { \whiteout \pad-markup #0.5 foo } c
-} 
+}