lilypond-devel
[Top][All Lists]
Advanced

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

page breaking cleanups


From: Joe Neeman
Subject: page breaking cleanups
Date: Thu, 17 Aug 2006 07:39:33 +1000

This introduces an algorithmic improvement and many cleanups in the page
breaking code. The algorithmic improvement is that we are able to adjust
line-counts on either side of a forced page break independently. This
code is contained in the Page_breaking class and abstracted nicely so
all subclasses can benefit.

"make web" works and output-distance.py doesn't find any changed files.

2006-08-17  Joe Neeman  <address@hidden>

        * lily/paper-column-engraver.cc (finalize): make the end of a score
        breakable by default. This is to balance out a change in behaviour
        of the page-turn-breaker which no longer makes the end of a score
        breakable.

        * lily/paper-book.cc (pages): set the systems_ once the pages are
        broken

        * lily/page-turn-page-breaking.cc (calc_subproblem): use the new
        Page_breaking interface.

        * lily/page-breaking.cc (class Page_breaking): make the interface
        more consistent and provide abstractions for dealing with
        Line_divisions.

        * lily/optimal-page-breaking.cc (solve): use a more straightforward
        algorithm. Use the new interface to Page_breaking.

Attachment: page_breaking_cleanup.patch
Description: Text Data


reply via email to

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