summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def')
-rw-r--r--Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
index b2be0c9110b..2c0fc8ae559 100644
--- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
+++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
@@ -1,4 +1,4 @@
-% Copyright 2006 by Till Tantau
+% Copyright 2019 by Till Tantau
% CMYK and grayscale shadings adaptation copyright 2019 by David Purton
%
% This file may be distributed and/or modified
@@ -314,7 +314,7 @@
\ifx\pgf@imagemask\pgfutil@empty\else\xdef\pgf@imagemask{ /SMask @\pgf@imagemask}\fi%
\edef\pgf@image{\noexpand\hbox to \pgf@imagewidth{\vbox to \pgf@imageheight{\vfil\special{pdf:image width \pgf@imagewidth\space height \pgf@imageheight\space\pgf@imagepage\space(\pgf@filename) <<\pgf@imageinterpolate\pgf@imagemask\space>>}}\hfil}}%
}
-\def\pgfsys@definemask#1{%
+\def\pgfsys@definemask{%
\ifx\pgf@maskmatte\pgfutil@empty%
\else%
\edef\pgf@maskmatte{/Matte [\pgf@maskmatte]}%
@@ -450,6 +450,7 @@
% Transparency groups came from pgfsys-pdftex.def
\def\pgfsys@transparencygroupfrombox#1{%
{%
+ \pgfutil@tempdima=\pgf@picminx
\pgf@sys@bp@correct\pgf@picminx%
\pgf@sys@bp@correct\pgf@picmaxx%
\pgf@sys@bp@correct\pgf@picminy%
@@ -459,7 +460,7 @@
\wd#1=0pt%
\ht#1=0pt%
\dp#1=0pt%
- \hskip\pgf@picminx bp\box#1\hskip-\pgf@picminx bp%
+ \hskip\pgfutil@tempdima\box#1\hskip-\pgfutil@tempdima%
\special{pdf:put @resources
<<
\ifpgf@sys@pdf@extgs@exists /ExtGState @pgfextgs \fi