From a32eb2dc2cb45c2d6d3713f1f17d183d9e1227a2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 25 Jun 2017 21:51:33 +0000 Subject: graphics-def (25jun17) git-svn-id: svn://tug.org/texlive/trunk@44697 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def') diff --git a/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def b/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def index ac79fd45281..361d89aca75 100644 --- a/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def +++ b/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def @@ -16,7 +16,7 @@ %% https://github.com/latex3/graphics-def/issues %% \ProvidesFile{dvipdfmx.def} - [2017/06/20 v5.0f Graphics/color driver for dvipdfmx] + [2017/06/24 v5.0g Graphics/color driver for dvipdfmx] \def\GPT@space{ } \def\c@lor@arg#1{% \dimen@#1\p@ @@ -84,6 +84,9 @@ \def\define@color@named#1#2{% \expandafter\let\csname col@#1\endcsname\@nnil} \def\no@page@color{\special{background \string"newpath clip}} +\@ifundefined{Gin@decode} + {\let\Gin@decode\@empty} + {} \@ifundefined{Gin@page} {\let\Gin@page\@empty} {} @@ -126,6 +129,7 @@ } \let\Gread@bmp\Gread@pdf \def\Ginclude@pdf#1{% + \let\Gin@decode\@empty \Gin@interpolatefalse \Ginclude@dvipdfmx{#1}{epdf}% } @@ -146,7 +150,16 @@ \ifx\Gin@scalex\@tempa\else width\GPT@space\the\Gin@req@width\GPT@space\fi \ifx\Gin@scaley\@tempa\else height\GPT@space\the\Gin@req@height\GPT@space\fi (#1)\GPT@space - \ifGin@interpolate<>\fi}% + \ifnum0% + \ifx\Gin@decode\@empty\else 1\fi + \ifGin@interpolate 1\fi + >0 % + <<% + \ifx\Gin@decode\@empty\else /Decode[\Gin@decode]\fi + \ifGin@interpolate /Interpolate true\fi + >>% + \fi + }% \egroup} \newif\if@trim@vport \def\Ginclude@eps#1{% -- cgit v1.2.3