From: Joe Neeman Date: Thu, 19 Aug 2010 19:59:32 +0000 (-0700) Subject: Add overflow size to the page overflow warning. X-Git-Tag: release/2.13.31-1~31 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=76c1654d8e6daceabb68d530729f87194fa49fed;p=lilypond.git Add overflow size to the page overflow warning. --- diff --git a/lily/page-layout-problem.cc b/lily/page-layout-problem.cc index 38a7548f3b..23069add37 100644 --- a/lily/page-layout-problem.cc +++ b/lily/page-layout-problem.cc @@ -305,7 +305,8 @@ Page_layout_problem::solve_rod_spring_problem (bool ragged) solution_ = spacer.spring_positions (); if (!spacer.fits ()) - warning (_ ("couldn't fit music on page")); + warning (_f ("couldn't fit music on page: overflow is %f", + spacer.configuration_length(spacer.force()) - page_height_)); } // The solution_ vector stores the position of every live VerticalAxisGroup