[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
raeburn
raeburn at source.lon-capa.org
Tue Mar 17 12:07:10 EDT 2026
raeburn Tue Mar 17 16:07:10 2026 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- Bug 6121
- Reduce visibility of hidden form fields in PDF viewers which do not honor
\FHidden annotation flag used for \textField in eforms.sty.
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.580 loncom/xml/lonxml.pm:1.581
--- loncom/xml/lonxml.pm:1.580 Sun Feb 22 23:27:03 2026
+++ loncom/xml/lonxml.pm Tue Mar 17 16:07:09 2026
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.580 2026/02/22 23:27:03 raeburn Exp $
+# $Id: lonxml.pm,v 1.581 2026/03/17 16:07:09 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2553,7 +2553,7 @@
=cut
sub print_pdf_hidden_textfield {
my ($fieldname, $value) = @_;
- return '\textField[\F{\FHidden}\F{-\FPrint}\V{'.$value.'}]{'.$fieldname.'}{0mm}{0mm}';
+ return '\textField[\F{\FHidden}\F{-\FPrint}\BC{1 1 1}\textSize{1}\textColor{1 g}\V{'.$value.'}]{'.$fieldname.'}{0mm}{0mm}';
}
=pod
More information about the LON-CAPA-cvs
mailing list