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

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