From: Patrick McCarty Date: Sun, 14 Feb 2010 05:30:18 +0000 (-0800) Subject: SVG backend: fix thinko in dump-preview routine. X-Git-Tag: release/2.13.14-1~75 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6171423c08cd7fe1010e4d1b4a3e6f172fe9b016;p=lilypond.git SVG backend: fix thinko in dump-preview routine. The testcases I was working with did not have stencil extents sticking above the X-axis, so I forgot about flipping the Y value here. --- diff --git a/scm/framework-svg.scm b/scm/framework-svg.scm index 7b568b8139..ba918ce3b0 100644 --- a/scm/framework-svg.scm +++ b/scm/framework-svg.scm @@ -95,7 +95,7 @@ (svg-height (* output-scale device-height))) (dump (svg-begin svg-width svg-height - left-x top-y device-width device-height)) + left-x (- top-y) device-width device-height)) (ly:outputter-output-scheme outputter `(begin (set! lily-unit-length ,unit-length) ""))