- int dl = calc_measure_duration_log (me, false);
- Duration dur = Duration (dl, 0);
- Rational rat = dur.get_length ();
- length = max (length, options.get_duration_space (rat));
+ Moment mlen = robust_scm2moment (li->get_property ("measure-length"),
+ Moment (1));
+ length += robust_scm2double (li->get_property ("full-measure-extra-space"), 0.0)
+ + options.get_duration_space (mlen.main_part_)
+ + (robust_scm2double (me->get_property ("space-increment"), 0.0)
+ * log_2 (robust_scm2int (me->get_property ("measure-count"), 1)));