lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: feature-request / doc-actualization (right-margin)


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,
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.
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.
Any idea?

Regards,
Michael







reply via email to

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