|
From: | Michael Käppler |
Subject: | Re: [PATCH] Re: feature-request / doc-actualization (right-margin) |
Date: | Wed, 12 Aug 2009 19:22:01 +0200 |
User-agent: | Thunderbird 2.0.0.12 (X11/20071114) |
Hi Neil,
hmm... somehow I'm completely stuck at this moment. Why does the affected output-def contain no paper-width / paper-height etc.? I don't really know how this can be triggered by my patch since it clones the output-def and modifies only the margin and line-width parts.These are unsafe, since they return SCM_UNSPECIFIED instead of a Real if the paper variables aren't defined; using robust_scm2double () here will ensure a default is returned. You can see the consequences of variable lookup failure by running bookparts.ly (http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=input/regression/bookparts.ly;h=a814fb5e072911540ecf2ab44a7b7b09dae61835;hb=HEAD). This snippet also fails to get a sane value for paper-height in layout->page-init.
Any idea? Regards, Michael
[Prev in Thread] | Current Thread | [Next in Thread] |