LGTM
https://codereview.appspot.com/563460043/diff/557300058/lily/page-layout-problem.cc File lily/page-layout-problem.cc (right): https://codereview.appspot.com/563460043/diff/557300058/lily/page-layout-problem.cc#newcode739 lily/page-layout-problem.cc:739: = overflow / static_cast<Real> (space_count - 2); This isn't an issue with this change, but does anyone see whether something prevents division by zero here? It isn't immediately obvious to me. https://codereview.appspot.com/563460043/