From 48aaf43f504cfa1077a986edcfb68ac74d117065 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Tue, 28 Jul 2009 16:58:44 -0700 Subject: [PATCH] PS backend: fix 'path stencil expression The absolute commands were not working because the coordinate system needed to be translated first. This patch fixes that issue, and it surrounds the entire expression with gsave...grestore so that the coordinate system is restored immediately afterward. --- scm/output-ps.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scm/output-ps.scm b/scm/output-ps.scm index 64a22b4677..27a3d8f378 100644 --- a/scm/output-ps.scm +++ b/scm/output-ps.scm @@ -287,7 +287,7 @@ (ly:format - "1 setlinecap ~a setlinewidth\n~l stroke" + "gsave currentpoint translate 1 setlinecap ~a setlinewidth\n~l stroke grestore" thickness - (convert-path-exps exps) )) + (convert-path-exps exps))) -- 2.39.5