From 6171423c08cd7fe1010e4d1b4a3e6f172fe9b016 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Sat, 13 Feb 2010 21:30:18 -0800 Subject: [PATCH] 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. --- scm/framework-svg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) "")) -- 2.39.5