summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/pdf/pdfxform.w
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf/pdfxform.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/pdf/pdfxform.w6
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfxform.w b/Build/source/texk/web2c/luatexdir/pdf/pdfxform.w
index 4c83b024939..731dc229080 100644
--- a/Build/source/texk/web2c/luatexdir/pdf/pdfxform.w
+++ b/Build/source/texk/web2c/luatexdir/pdf/pdfxform.w
@@ -89,6 +89,12 @@ void scan_pdfxform(PDF pdf)
} else {
set_obj_xform_resources(pdf, k, null);
}
+ if (scan_keyword("margin")) {
+ scan_int();
+ set_obj_xform_margin(pdf, k, cur_val);
+ } else {
+ set_obj_xform_margin(pdf, k, pdf_xform_margin);
+ }
set_obj_xform_resources_str(pdf, k, null);
scan_int();
p = box(cur_val);