Blame SOURCES/ghostscript-9.27-fix-use-of-HWMargins.patch

6bda8e
diff -Napur '--exclude=.git' ghostscript-9.27.old/devices/vector/opdfread.ps ghostscript-9.27.new/devices/vector/opdfread.ps
6bda8e
--- ghostscript-9.27.old/devices/vector/opdfread.ps	2019-04-04 00:43:14.000000000 -0700
6bda8e
+++ ghostscript-9.27.new/devices/vector/opdfread.ps	2022-06-14 17:44:27.963033829 -0700
6bda8e
@@ -998,10 +998,10 @@ currentdict end readonly def
6bda8e
   } if                                                  % id obj node
6bda8e
   1 index exch /Context exch put                        % id obj
6bda8e
   dup /ImmediateExec true put
6bda8e
-  dup /IsPage true put
6bda8e
-  SetPageSize {dup /Context get //SetupPageView exec} if
6bda8e
   % This gets restored at the end of ExecuteStream if IsPage is true.
6bda8e
   /pagesave save def
6bda8e
+  dup /IsPage true put
6bda8e
+  SetPageSize {dup /Context get //SetupPageView exec} if
6bda8e
 } bind def
6bda8e
 
6bda8e
 /FontFileDaemon % <id> <obj> <font_descriptor> FontFileDaemon <id> <obj>