David Kastrup <d...@gnu.org> writes:

> Keith OHara <k-ohara5...@oco.net> writes:
>
>> David Kastrup <dak <at> gnu.org> writes:
>>
>>> #(define-markup-command (ugly layout props) ()
>>>   (ly:make-stencil (ly:stencil-expr (interpret-markup layout props "x"))
>>>    '(0 . 0) '(0 . -100)))
>>
>>> \markup \ugly
>>> \markup *
>>
>> The page-breaker seems to be allowing for a markup that has something 100
>> staff-spaces away from its baseline.
>>
>> The page-spacing seems to be doing its job, given the page-breaks, and
>> realizing that \ugly actually requires no space.
>>
>> Page_breaking::compute_line_heights()
>> looks at the individual ends of the y-extent of a line of markup, and
>> uses the first line to initialize a set of variables that remember some
>> things about the previous line.
>
> Well, with the -inf setting instead of -100, the loop in
> Page_breaking::compute_line_heights does not get away from -inf any more
> for its refpoint_hanging value.  I just have no idea about what all
> those variables mean.

Ok, got it.  Running tests now, and then issue 3330 has a chance to be
really on track.

-- 
David Kastrup


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to