[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop, main: add testfile (08a1050)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Jan 28 13:05:24 CET 2022
Repository : https://github.com/latex3/pdfresources
On branches: develop,main
Link : https://github.com/latex3/pdfresources/commit/08a10501161be1e20436a914f60238c2f4ef90f2
>---------------------------------------------------------------
commit 08a10501161be1e20436a914f60238c2f4ef90f2
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Jan 28 13:05:24 2022 +0100
add testfile
>---------------------------------------------------------------
08a10501161be1e20436a914f60238c2f4ef90f2
testfiles-dvips/xform-clipping-gh25.pvt | 24 ++++++++++++++++++++++++
testfiles-dvips/xform-clipping-gh25.tpf | Bin 0 -> 11576 bytes
2 files changed, 24 insertions(+)
diff --git a/testfiles-dvips/xform-clipping-gh25.pvt b/testfiles-dvips/xform-clipping-gh25.pvt
new file mode 100644
index 0000000..7be1835
--- /dev/null
+++ b/testfiles-dvips/xform-clipping-gh25.pvt
@@ -0,0 +1,24 @@
+\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\DocumentMetadata {uncompress}
+\RequirePackage{pdfmanagement-regressiontest}
+
+\documentclass{article}
+
+\usepackage{l3pdffield-testphase}
+\usepackage{graphicx}
+% see https://github.com/latex3/pdfresources/issues/25
+\begin{document}\parindent=0pt
+\ExplSyntaxOn
+\START
+
+Content~clipping~should~be~avoided~during~XForm~generation:%
+\pdfxform_new:nnn{img}{}{\includegraphics{example-image}}\par
+\pdfxform_use:n{img}\par
+
+Push~button:\pdfannot_dict_put:nnn {widget}{A}{<</S/Named /N/LastPage>>}
+\pdffield_pushbutton:n
+ {name=my/go,width=4cm,height=3cm,appearance=img,caption=GO~TO~LAST~PAGE,rollover-caption=click~me!}
+\ExplSyntaxOff
+\newpage
+\Huge The End.
+\end{document}
\ No newline at end of file
diff --git a/testfiles-dvips/xform-clipping-gh25.tpf b/testfiles-dvips/xform-clipping-gh25.tpf
new file mode 100644
index 0000000..da3d453
Binary files /dev/null and b/testfiles-dvips/xform-clipping-gh25.tpf differ
More information about the latex3-commits
mailing list.