summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def')
-rw-r--r--Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def19
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def
index 169e4a2bf7a..49768f0be21 100644
--- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def
+++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def
@@ -25,7 +25,7 @@
%% pgf-cmykshadings.dtx, README.md, and the derived files
%% - pgf-cmykshadings.sty
%% - pgfsys-cmykshadings-pdftex.def
-%% - pgfsys-cmykshadgins-xetex.def
+%% - pgfsys-cmykshadings-xetex.def
%% - pgfsys-cmykshadings-luatex.def
%% - pgfsys-cmykshadings-dvipdfmx.def
%% - pgfsys-cmykshadings-dvipdfm.def
@@ -42,14 +42,15 @@
%% shadings.
%%
\ProvidesFile{pgfsys-cmykshadings-dvipdfm.def}%
- [2018/10/18 CMYK shadings support for PGF dvipdfm driver (DCP)]
+ [2018/10/24
+ CMYK and grayscale shadings support for PGF dvipdfm driver (DCP)]
\def\pgfsys@horishading#1#2#3{%
{%
\pgf@parsefunc{#3}%
\pgf@process{\pgfpoint{\pgf@max}{#2}}%
\edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{%
\special{pdf: beginxobj @pgfshade#1 width \the\pgf@max\space
- height \the\pgf@y}}}\@temp%
+ height \the\pgf@y}}}\@temp
\edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{%
\special{pdf: put @resources <<
/Shading << /Sh << /ShadingType 2
@@ -73,7 +74,7 @@
\pgf@process{\pgfpoint{\pgf@max}{#2}}%
\edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{%
\special{pdf: beginxobj @pgfshade#1 width \the\pgf@y\space
- height \the\pgf@max\space}}}\@temp%
+ height \the\pgf@max\space}}}\@temp
\edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{%
\special{pdf: put @resources <<
/Shading << /Sh << /ShadingType 2
@@ -95,16 +96,16 @@
{%
\pgf@parsefunc{#3}%
\pgf@process{#2}%
- \pgf@xa=\pgf@x%
- \pgf@ya=\pgf@y%
+ \pgf@xa=\pgf@x
+ \pgf@ya=\pgf@y
\pgf@process{\pgfpoint{\pgf@max}{\pgf@max}}%
- \advance\pgf@xa by \pgf@x\relax%
- \advance\pgf@ya by \pgf@y\relax%
+ \advance\pgf@xa by \pgf@x\relax
+ \advance\pgf@ya by \pgf@y\relax
\pgf@sys@bp@correct{\pgf@x}%
\pgf@sys@bp@correct{\pgf@y}%
\pgf@sys@bp@correct{\pgf@xa}%
\pgf@sys@bp@correct{\pgf@ya}%
- \pgfutil@tempdima=2\pgf@max\relax%
+ \pgfutil@tempdima=2\pgf@max\relax
\edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{%
\special{pdf: beginxobj @pgfshade#1 width
\the\pgfutil@tempdima\space height \the\pgfutil@tempdima}}}\@temp%