[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Markuplines spacing broken: how to set a line padding?
From: |
Joe Neeman |
Subject: |
Re: Markuplines spacing broken: how to set a line padding? |
Date: |
Sun, 18 Oct 2009 11:34:54 -0700 |
On Sun, 2009-10-18 at 18:34 +0200, Nicolas Sceaux wrote:
> Hi,
>
> What is the new way of setting the next padding and spacing of an
> individual line
> (a markup line in that case)?
>
> I am asking because there is a regression regarding markup lines: they
> used to be
> densely spaced, with no extra space between lines, but now they are
> stretched,
> which is not desirable.
>
> The code setting the next padding and spacing of markup lines is in
> paper-book.cc:
>
> if (scm_is_pair (scm_cdr (list)))
> {
> /* If an other markup is following, set this markup
> * next padding and next space to 0, so that baseline-skip
> * only should be taken into account for lines vertical
> * spacing. */
> ps->set_property ("next-padding", scm_double2num (0.0));
> ps->set_property ("next-space", scm_double2num (0.0));
> }
Does (or did) this really have the effect described in the comment? It
seems to me that this would have used extent-based spacing, so the lines
ooooo
yyyyy
lllll
would be unevenly spaced. Anyway, I can certainly reinstate this. It
will just need some changes to Page_layout_problem::append_prob
(whatever properties are set in Paper_book::get_system_specs need to be
read in Page_layout_problem::append_prob and they should be used to
modify the spring).
Cheers,
Joe