]> git.donarmstrong.com Git - lilypond.git/commit
Fix #413.
authorPatrick McCarty <pnorcks@gmail.com>
Wed, 14 Jul 2010 02:29:13 +0000 (19:29 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Wed, 14 Jul 2010 05:35:37 +0000 (22:35 -0700)
commitcbde153f4913618e1509a6d5bb2d27466b8c4159
tree99037e503cc8319e12bd417865878528363f9aaa
parent12f1c6fb456268e0108dc0f544cb9a13a971bdc9
Fix #413.

The `convert-to-png' procedure did not account for the 'landscape
setting, so a portrait orientation was always used.

This commit fixes the issue, so that width and height dimensions are
swapped whenever landscape orientation is set for full-page PNG output.

Additionally, I extracted some common routines from `convert-to-pdf' and
`convert-to-png' into three separate procedures: `output-width-height',
`output-resolution', and `output-filename'.
scm/framework-ps.scm