lilypond-devel
[Top][All Lists]
Advanced

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

Re: two pass spacing patch


From: Nicolas Sceaux
Subject: Re: two pass spacing patch
Date: Sat, 30 Sep 2006 16:25:08 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Han-Wen Nienhuys <address@hidden> writes:

> Nicolas Sceaux schreef:
>> Here is a patch defining a few functions for using the two-pass vertical
>> spacing scheme. Example:
>
> given that Joe is now the Page breaking guru, I invite him to review
> the code. Joe?

Joe,

What the patch changes to the page breaking code is that the call of the
page post processing function (which dumps the page layout) is moved
to another place: a page breaking wrapper now takes care of calling the
page breaking function, then the post processing function.

Rationale:
1) the post processing function is used in a single place (the page
breaking wrapper, instead of once in the C++ page breaking code + once
in the old optimal-page-breaks + once in each user defined page breaking
function)
2) the post processing function is parametrized, so that the user can
change the page layout dumping function.

Other changes to the code are
 - functions for computing system stretch (the goal is to stretch systems
 so that they should use all the space left on a page)
 - music functions used by the user to trigger the whole thing.

If this is fine, I'll add some documentation on how to use that.

Nicolas




reply via email to

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