lilypond-user
[Top][All Lists]
Advanced

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

Re: More vertical spacing confusion


From: David Kastrup
Subject: Re: More vertical spacing confusion
Date: Thu, 04 Aug 2011 13:24:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Adam Spiers <address@hidden> writes:

> On Wed, Aug 3, 2011 at 10:34 PM, Adam Spiers
> <address@hidden> wrote:
>> On Wed, Aug 3, 2011 at 5:37 AM, David Kastrup <address@hidden> wrote:
>>> David Kastrup <address@hidden> writes:
>>> Ragged-bottom or not, this is ugly and that should get reflected in the
>>> scores.
>>
>> I agree 100% David!  This is beginning to sound like a bug to me.  I
>> couldn't find any documentation on how to debug the vertical spacing
>> algorithms, and by its nature it's impossible to reduce this to a test
>> case involving only a handful of notes.  Any suggestions how to
>> proceed?
>
> I just found lily/optimal-page-breaking.cc which led me to:
>
>   #(ly:set-option 'debug-page-breaking-scoring)
>
> However that does not reveal much:
>
>     Finding the ideal number of pages...
>     Fitting music on 1 or 2 pages...
>     trying 7 systems
>     best score for this sys-count: 15.210169
>     trying 8 systems
>     best score for this sys-count: 33.003158
>     trying 9 systems
>     best score for this sys-count: 48.201796
>     trying 10 systems
>     best score for this sys-count: 70.968437
>     trying 11 systems
>     best score for this sys-count: 98.457262
>     trying 12 systems
>     best score for this sys-count: 130.470496
>     trying 13 systems
>     best score for this sys-count: inf
>     Drawing systems...
>     Layout output to `pagination-bug.ps'...
>     Converting to `./pagination-bug.pdf'...
>     success: Compilation successfully completed
>
> I guess I could try adding some more debug to
> optimal-page-breaking.cc, but at this point I'm
> really out of my depth and would need mentoring
> from a developer.

It might be worth raising this issue on the bug list for Lilypond.  That
way it is likely to get discussed and added to the tracker and,
depending on the complexity of implementation, added at some time into
Lilypond (if it isn't already there but not working well enough).

-- 
David Kastrup




reply via email to

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