From cd3bef34bd0bfcf1625056fd2f2832328c516179 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 2 Jul 2022 03:03:53 +0000
Subject: CTAN sync 202207020303

---
 macros/latex/contrib/l3backend/l3backend-opacity.dtx | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

(limited to 'macros/latex/contrib/l3backend/l3backend-opacity.dtx')

diff --git a/macros/latex/contrib/l3backend/l3backend-opacity.dtx b/macros/latex/contrib/l3backend/l3backend-opacity.dtx
index 4c5de69fb4..ae4e93ea3c 100644
--- a/macros/latex/contrib/l3backend/l3backend-opacity.dtx
+++ b/macros/latex/contrib/l3backend/l3backend-opacity.dtx
@@ -43,7 +43,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2022-04-20}
+% \date{Released 2022-07-01}
 %
 % \maketitle
 %
@@ -181,7 +181,7 @@
       { opacity #1 }
       { << /ca ~ #1 /CA ~ #1 >> }
 %<*dvipdfmx|xetex>
-    \__kernel_backend_literal:n
+    \__kernel_backend_literal_pdf:n
 %</dvipdfmx|xetex>
 %<*luatex|pdftex>
     \__kernel_color_backend_stack_push:nn \c_@@_backend_stack_int
@@ -197,6 +197,10 @@
   }
 \cs_new_protected:Npn \@@_backend_reset:
  {
+%<*dvipdfmx|xetex>
+   \__kernel_backend_literal_pdf:n
+      { /opacity1 ~ gs }
+%</dvipdfmx|xetex>
 %<*luatex|pdftex>
     \__kernel_color_backend_stack_pop:n \c_@@_backend_stack_int
 %</luatex|pdftex>
@@ -236,7 +240,7 @@
           { opacity.stroke #1 }
           { << /CA ~ #2 >> }
 %<*dvipdfmx|xetex>
-    \__kernel_backend_literal:n
+    \__kernel_backend_literal_pdf:n
 %</dvipdfmx|xetex>
 %<*luatex|pdftex>
     \__kernel_color_backend_stack_push:nn \c_@@_backend_stack_int
-- 
cgit v1.2.3

