]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-layout-problem.cc
Thinko: dist .ihtml source files in doc directories
[lilypond.git] / lily / page-layout-problem.cc
index 0bb80c1f5ee0f8aafb85cfb5fd73f7636d484b6a..c63dbd8b9423bdd09ef4a6a5f406b103ab97080f 100644 (file)
@@ -303,6 +303,9 @@ Page_layout_problem::solve_rod_spring_problem (bool ragged)
 
   spacer.solve (page_height_, ragged);
   solution_ = spacer.spring_positions ();
+
+  if (!spacer.fits ())
+    warning (_ ("couldn't fit music on page"));
 }
 
 // The solution_ vector stores the position of every live VerticalAxisGroup