summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
index bd2e4cb96a7..a0dce3b5007 100644
--- a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
+++ b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
@@ -40,8 +40,8 @@
\RequirePackage{xparse}
\RequirePackage{l3keys2e}
-\def\g@ocgxii@date@tl{2019/11/07}
-\def\g@ocgxii@version@tl{0.48}
+\def\g@ocgxii@date@tl{2020/06/11}
+\def\g@ocgxii@version@tl{0.49}
\ProvidesExplPackage{ocgx2}{\g@ocgxii@date@tl}{\g@ocgxii@version@tl}
{ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx}
@@ -1120,9 +1120,7 @@
% (dingbats) font at the end of every ocgcolorlink in order to prevent
% empty links from flooding the page with link colour
\cs_new_nopar:Npn\ocgxii_tiny_space_char:{
- \group_begin:
- \font\l_tmpa_tl=pzdr~scaled~1\l_tmpa_tl\char32
- \group_end:
+ \group_begin: \font\l_tmpa_tl=pzdr~scaled~1\l_tmpa_tl\char32 \group_end:
}
\bool_if:nTF{\sys_if_output_dvi_p: && !\g_ocgxii_dvipdfmx_bool}{
@@ -1181,6 +1179,9 @@
}
\bool_if:NT\l_ocgxii_ocgcolorlinks_bool{
\cs_gset_nopar:Nn\ocgxii_colourlink_begin:{
+ %tiny space char put here in order to neutralise possible transformation
+ %matrix modifications from previous \pdfliteral{} (TikZ makes a lot use of it)
+ \hbox_overlap_left:n{\ocgxii_tiny_space_char:}
\pbs_literal:nn{page}{q~7~Tr}
}
\cs_gset_nopar:Nn\ocgxii_colourlink_end:{