[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 3023 in lilypond: Papersizes with landscape/po
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 3023 in lilypond: Papersizes with landscape/portrait suffix are not recognized by -dpapersize |
Date: |
Mon, 07 Jan 2013 03:15:47 +0000 |
Updates:
Status: Fixed
Labels: -Patch-push Fixed_2_17_10
Comment #14 on issue 3023 by address@hidden: 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 <address@hidden>
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.