lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fitting as many lines as possible on a page


From: Reinhold Kainhofer
Subject: Re: Fitting as many lines as possible on a page
Date: Mon, 2 Feb 2009 14:53:29 +0100
User-agent: KMail/1.11.0 (Linux/2.6.27-11-generic; KDE/4.2.0; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Montag, 2. Februar 2009 07:12:59 Joe Neeman wrote:
> > > Right, but it only uses the 10% buffer to decide how much to stretch
> > > the systems. The actual layout of the systems, once they've been
> > > stretched, is done in space-systems, which uses the full printable
> > > extent of the page.
> >
> > Exactly. However, the 10% buffer is used when calculating how many
> > systems to put on a page, so even if e.g. 10 systems would fit on a page,
> > only 9 are placed there... Or am I misunderstanding the code?
>
> Either you are or I am misremembering it. The stretch-and-draw-page
> function is called after the page breaks have been decided (in
> Optimal_page_breaking::solve, by default) to do the stretching and to
> actually position the systems on the page. Within the page-breaking
> calculation, there is no 10% buffer.

Ah, I see, Page_breaking::make_pages is called only after all page breaks have 
been decided, so it's really only about stretching and spacing!
Thanks for pointing this out.

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJhvraTqjEwhXvPN0RAiaCAJoDqIHf96IfMCbZrnoYavOaYtJ5hQCeP6ix
3JEvt0ZyGa3EDIGAJwiMQ+s=
=u8BI
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]