pl->set_property ("page-break-penalty", right_bound->get_property ("page-break-penalty"));
pl->set_property ("page-turn-penalty", right_bound->get_property ("page-turn-penalty"));
- /* remove me if make web succeeds */
- assert (!scm_is_pair (pl->get_property ("refpoint-Y-extent")));
-
Interval staff_refpoints;
extract_grob_set (this, "spaceable-staves", staves);
for (vsize i = 0; i < staves.size (); i++)
"spaceable-staves "
"skyline-distance "
"skyline-horizontal-padding "
- "staff-refpoint-extent "
)
;; utilisties for writing other page dump functions
record-tweaks dump-all-tweaks))
-(define (stretchable-line? line)
- "Say whether a system can be stretched."
- (not (or (ly:prob-property? line 'is-title)
- (let ((system-extent (paper-system-staff-extents line)))
- (= (interval-start system-extent)
- (interval-end system-extent))))))
-
(define (record-tweaks what property-pairs tweaks)
(let ((key (ly:output-def-lookup (ly:grob-layout what)
'tweak-key
#:use-module (lily)
#:export (post-process-pages optimal-page-breaks make-page-from-systems
page-breaking-wrapper
+ stretchable-line? ; delete me
;; utilities for writing custom page breaking functions
line-height line-next-space line-next-padding
line-minimum-distance line-ideal-distance
line-minimum-position-on-page
page-maximum-space-to-fill page-maximum-space-left space-systems))
+; this is for 2-pass spacing. Delete me.
+(define (stretchable-line? line)
+ "Say whether a system can be stretched."
+ (not (or (ly:prob-property? line 'is-title)
+ (let ((system-extent (paper-system-staff-extents line)))
+ (= (interval-start system-extent)
+ (interval-end system-extent))))))
+
(define (stretch-and-draw-page paper-book systems page-number ragged last)
(define (stretchable? sys)
(and (ly:grob? sys)