From cb1f69d911cc48774261c445c87aacf3f0f4b74c Mon Sep 17 00:00:00 2001
From: Luigi Scarso <luigi.scarso@gmail.com>
Date: Sat, 26 Feb 2022 17:09:12 +0000
Subject: [PATCH] sync with experimental

---
 source/texk/web2c/luatexdir/ChangeLog           | 3 +++
 source/texk/web2c/luatexdir/luatex_svnversion.h | 2 +-
 source/texk/web2c/luatexdir/pdf/pdfgen.c        | 2 ++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/source/texk/web2c/luatexdir/ChangeLog b/source/texk/web2c/luatexdir/ChangeLog
index 25899a5f6..73d286050 100644
--- a/source/texk/web2c/luatexdir/ChangeLog
+++ b/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,6 @@
+2022-02-26 Luigi Scarso <luigi.scarso@gmail.com>
+    * write xformattributes and xformresources  (thanks to E. Renkema)
+
 2022-02-25 Luigi Scarso <luigi.scarso@gmail.com>
     * lower max to 10000 and reverse check to max check exception penalty (H.Hagen)
 
diff --git a/source/texk/web2c/luatexdir/luatex_svnversion.h b/source/texk/web2c/luatexdir/luatex_svnversion.h
index 09450cb65..1a5ae5a47 100644
--- a/source/texk/web2c/luatexdir/luatex_svnversion.h
+++ b/source/texk/web2c/luatexdir/luatex_svnversion.h
@@ -1 +1 @@
-#define luatex_svn_revision 7495
+#define luatex_svn_revision 7499
diff --git a/source/texk/web2c/luatexdir/pdf/pdfgen.c b/source/texk/web2c/luatexdir/pdf/pdfgen.c
index 2f288fac5..9ed47cc9e 100644
--- a/source/texk/web2c/luatexdir/pdf/pdfgen.c
+++ b/source/texk/web2c/luatexdir/pdf/pdfgen.c
@@ -1678,6 +1678,7 @@ void pdf_begin_page(PDF pdf)
         form_margin = obj_xform_margin(pdf, pdf_cur_form);
         if (xform_attributes != null)
             pdf_print_toks(pdf, xform_attributes);
+        print_pdf_table_string(pdf, "xformattributes");
         if (obj_xform_attr(pdf, pdf_cur_form) != null) {
             pdf_print_toks(pdf, obj_xform_attr(pdf, pdf_cur_form));
             delete_token_ref(obj_xform_attr(pdf, pdf_cur_form));
@@ -1963,6 +1964,7 @@ void pdf_end_page(PDF pdf)
         if (xform_resources != null) {
             pdf_print_toks(pdf, xform_resources);
         }
+        print_pdf_table_string(pdf, "xformresources");
         if (obj_xform_resources(pdf, pdf_cur_form) != null) {
             pdf_print_toks(pdf, obj_xform_resources(pdf, pdf_cur_form));
             delete_token_ref(obj_xform_resources(pdf, pdf_cur_form));
-- 
GitLab