From 2aa58cecba5e8e1bbea101fe519c5456c7b117d5 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 30 May 2019 11:31:08 +0900
Subject: acrotex update 20190530

---
 texmf-dist/tex/latex/acrotex/edvipdfm.def | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

(limited to 'texmf-dist/tex/latex/acrotex/edvipdfm.def')

diff --git a/texmf-dist/tex/latex/acrotex/edvipdfm.def b/texmf-dist/tex/latex/acrotex/edvipdfm.def
index 85cdfec1..a10fdde7 100644
--- a/texmf-dist/tex/latex/acrotex/edvipdfm.def
+++ b/texmf-dist/tex/latex/acrotex/edvipdfm.def
@@ -21,7 +21,7 @@
 \let\ef@adjHWxetex\relax
 \def\eq@choice@driver{\ef@adjHWxetex
     \Hy@pdfstringtrue
-    \if\@vertRotate1 \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
         \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
     \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
     \leavevmode\setbox\pdfm@box=%
@@ -30,10 +30,12 @@
     <<\common@choiceCode>>}\unhbox\pdfm@box\relax%
     \@pdfm@mark{put @afields @\Fld@name}% record in @afields array
     \ifisCalculate\@pdfm@mark{put @corder @\Fld@name}\fi
-\endgroup}
+    \dl@restorespcs
+    \endgroup
+}
 \def\eq@Button@driver{\Hy@pdfstringtrue
     \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\ef@djXPD\fi % 12/22
-    \if\@vertRotate1 \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
         \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
     \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
     \setbox\pdfm@box=%
@@ -42,9 +44,10 @@
     << \common@pushButtonCode >>}\unhbox\pdfm@box\relax%
     \@pdfm@mark{put @afields @\Fld@name}% record in @afields array
     \endgroup
+    \dl@restorespcs
 }
 \def\eq@RadioCheck@driver{\ef@adjHWxetex\Hy@pdfstringtrue
-    \if\@vertRotate1 \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
         \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
     \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
     \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\fi
@@ -53,6 +56,7 @@
     \@pdfm@mark{ann \dvipdfm@setdim
     <<\common@RadioCheckCode>>}\unhbox\pdfm@box\relax%
     \endgroup
+    \dl@restorespcs
 }
 \def\eq@l@check@driver{%
     \setbox\pdfm@box=%
@@ -61,7 +65,7 @@
         \unhbox\pdfm@box\relax\endgroup
 }
 \def\eq@TextField{\ef@adjHWxetex\Hy@pdfstringtrue
-    \if\@vertRotate1 \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
         \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
     \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
     \leavevmode\setbox\pdfm@box=%
@@ -71,9 +75,10 @@
     \@pdfm@mark{put @afields @\Fld@name}% record in @afields array
     \ifisCalculate\@pdfm@mark{put @corder @\Fld@name}\fi
     \endgroup
+    \dl@restorespcs
 }
 \def\eq@SigField{\ef@adjHWxetex\Hy@pdfstringtrue
-    \if\@vertRotate1 \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
         \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
     \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
     \leavevmode\setbox\pdfm@box=%
@@ -81,6 +86,7 @@
     \@pdfm@mark{ann @\Fld@name\space\dvipdfm@setdim
         << \common@SigFieldCode >>}\unhbox\pdfm@box\relax%
     \endgroup
+    \dl@restorespcs
 }
 \def\setLink@driver{%
     \@eqBS{}\leavevmode
@@ -89,6 +95,7 @@
         \Hy@colorlink{\@linkcolor}\link@@Box\Hy@endcolorlink
     \@pdfm@mark{eann}%
     \endgroup
+    \dl@restorespcs
 }
 \def\ef@setTabOrder{\ifx\ef@taborder\@empty\else
     \@pdfm@mark{ put @thispage << /Tabs/\ef@taborder >> }%
-- 
cgit v1.2.3

