Updates:
Status: Fixed
Labels: -Patch-push Fixed_2_17_10
Comment #14 on issue 3023 by [email protected]: Papersizes with
landscape/portrait suffix are not recognized by -dpapersize
http://code.google.com/p/lilypond/issues/detail?id=3023
Pushed to staging as
commit be9797b22cb9d253dc40dc624fdbd1a48960baf2
Author: David Kastrup <[email protected]>
Date: Sat Dec 15 09:34:23 2012 +0100
Issue 3023: Papersizes with landscape/portrait suffix are not
recognized by -dpapersize
This factors out the papersize recognition into a function
lookup-paper-name. It also streamlines error handling somewhat. A
conditional checking paper-default to be non-#f could only ever be
triggered in an error situation. Since it does not make sense to
treat the error condition of "bad paper-alist entry" and "unrecognized
paper format" differently, this has been folded into the simpler case,
namely considering the specified width and height in
set-paper-dimensions as a substitute for the valid default paper size.