diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def index 6bd43f51d49..91da115559b 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-luatex.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,7 +42,8 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-luatex.def}% - [2018/10/17 CMYK shadings support for PGF luatex driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF luatex driver (DCP)] \def\pgfsys@horishading#1#2#3{% {% \pgf@parsefunc{#3}% @@ -89,11 +90,11 @@ \setbox\pgfutil@tempboxa=\hbox to2\pgf@max{% \vbox to2\pgf@max{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% \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% - \advance\pgf@ya by \pgf@y% + \advance\pgf@xa by \pgf@x + \advance\pgf@ya by \pgf@y \pgf@sys@bp@correct{\pgf@x}% \pgf@sys@bp@correct{\pgf@y}% \pgf@sys@bp@correct{\pgf@xa}% @@ -119,21 +120,21 @@ \def\pgfsys@functionalshading#1#2#3#4{% {% \pgf@process{#2}% - \pgf@xa=\pgf@x% - \pgf@ya=\pgf@y% + \pgf@xa=\pgf@x + \pgf@ya=\pgf@y \pgf@process{#3}% - \pgf@xb=\pgf@x% - \pgf@yb=\pgf@y% - \advance\pgf@x by-\pgf@xa% - \advance\pgf@y by-\pgf@ya% + \pgf@xb=\pgf@x + \pgf@yb=\pgf@y + \advance\pgf@x by-\pgf@xa + \advance\pgf@y by-\pgf@ya \setbox\pgfutil@tempboxa=\hbox to\pgf@x{% \vbox to\pgf@y{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% \pgf@sys@bp@correct{\pgf@xa}% \pgf@sys@bp@correct{\pgf@ya}% \pgf@sys@bp@correct{\pgf@xb}% \pgf@sys@bp@correct{\pgf@yb}% - \pgf@xc=-\pgf@xa% - \pgf@yc=-\pgf@ya% + \pgf@xc=-\pgf@xa + \pgf@yc=-\pgf@ya % Now build the function \pdfextension obj stream |