lilypond-user
[Top][All Lists]
Advanced

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

Re: More vertical spacing confusion


From: Adam Spiers
Subject: Re: More vertical spacing confusion
Date: Wed, 3 Aug 2011 22:49:25 -0700

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.



reply via email to

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