]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-spacing.cc
Make BassFigureAlignment ignore alignment-distances.
[lilypond.git] / lily / page-spacing.cc
index 13c6a0c02a98f45cd0d9208e4a13f2e61fe315c5..b04d3f394a17bde64118bc01598bf6bf19f04488 100644 (file)
@@ -83,8 +83,12 @@ Page_spacing::account_for_footnotes (Line_details const &line)
       Interval extent = line.footnotes_[i]->extent (Y_AXIS);
       footnote_height += extent[UP] - extent[DOWN];
       footnote_height += breaker_->footnote_padding ();
-    }  
-  return footnote_height;
+    }
+
+  return (footnote_height
+         - (has_footnotes_
+           ? breaker_->footnote_padding () + breaker_->footnote_footer_padding ()
+           : 0.0));
 }
 
 void