The code
\markup \stencil #(ly:make-stencil '() empty-interval empty-interval)
\markup *
\markup *
\markup *
\markup *
distributed itself across 5 pages because page accounting was thrown
off by empty intervals. While the effects were smaller (and did not
propagate to the next page) with the less radically empty intervals
employed as extents of empty-stencil, they were still present.
last_column_ = 0;
force_ = 0;
- Interval stencil_extent = unsmob_stencil (pb->get_property ("stencil"))->extent (Y_AXIS);
+ Stencil *st = unsmob_stencil (pb->get_property ("stencil"));
+ Interval stencil_extent = st->is_empty () ? Interval (0, 0)
+ : st->extent (Y_AXIS);
shape_ = Line_shape (stencil_extent, stencil_extent); // pretend it goes all the way across
tallness_ = 0;
bottom_padding_ = 0;