]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add a regression test for bug 496.
authorJoe Neeman <joeneeman@gmail.com>
Mon, 24 Aug 2009 21:03:21 +0000 (14:03 -0700)
committerJoe Neeman <joeneeman@gmail.com>
Mon, 24 Aug 2009 21:07:11 +0000 (14:07 -0700)
input/regression/page-breaking-good-estimation.ly [new file with mode: 0644]

diff --git a/input/regression/page-breaking-good-estimation.ly b/input/regression/page-breaking-good-estimation.ly
new file mode 100644 (file)
index 0000000..4b4b3c4
--- /dev/null
@@ -0,0 +1,33 @@
+\version "2.13.4"
+
+\header {
+  texidoc = "The page breaking algorithm can handle clefs combined
+with lyrics.  That is, the Y-extent approximations are a little more
+accurate than just using bounding boxes.  In particular, everything
+should fit on one page here."
+}
+
+#(set-default-paper-size "a6")
+
+Melody = \relative c' {
+  c2 c | c c | c c | \break
+  c2 c | c c | c c
+}
+Words = \lyricmode{
+  bla bla bla bla bla bla
+  bla bla bla bla bla bla
+}
+\book {
+  \score {
+    <<
+      \new Staff{\Melody}
+      \addlyrics{\Words}
+      \new Staff{\Melody}
+      \addlyrics{\Words}
+      \new Staff{\Melody}
+      \addlyrics{\Words}
+      \new Staff{\Melody}
+      \addlyrics{\Words}
+    >>
+  }
+}