[latex3-commits] [latex3/latex3] fix-lotfl-colorstack: Delay luaotfload transparency colorstack initialization until needed and available (4e8083e62)

github at latex-project.org github at latex-project.org
Fri Nov 3 21:22:15 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : fix-lotfl-colorstack
Link       : https://github.com/latex3/latex3/commit/4e8083e6234db0a844621106bbd3333f22a9072b

>---------------------------------------------------------------

commit 4e8083e6234db0a844621106bbd3333f22a9072b
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Fri Nov 3 21:22:15 2023 +0100

    Delay luaotfload transparency colorstack initialization until needed and available


>---------------------------------------------------------------

4e8083e6234db0a844621106bbd3333f22a9072b
 l3backend/l3backend-opacity.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3backend/l3backend-opacity.dtx b/l3backend/l3backend-opacity.dtx
index a87b76794..332f43104 100644
--- a/l3backend/l3backend-opacity.dtx
+++ b/l3backend/l3backend-opacity.dtx
@@ -310,7 +310,7 @@ local pdfmanagement_active do
 end
 
 if pdfmanagement_active and luaotfload and luaotfload.set_transparent_colorstack then
-  luaotfload.set_transparent_colorstack(token.create'c__opacity_backend_stack_int'.index)
+  luaotfload.set_transparent_colorstack(function() return token.create'c__opacity_backend_stack_int'.index end)
 
   local transparent_register = {
     token.create'pdfmanagement_add:nnn',





More information about the latex3-commits mailing list.