diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics-def/xetex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/graphics-def/xetex.def | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics-def/xetex.def b/Master/texmf-dist/tex/latex/graphics-def/xetex.def index 6440f6d1944..bb2cba80d49 100644 --- a/Master/texmf-dist/tex/latex/graphics-def/xetex.def +++ b/Master/texmf-dist/tex/latex/graphics-def/xetex.def @@ -16,7 +16,7 @@ %% https://github.com/latex3/graphics-def/issues %% \ProvidesFile{xetex.def} - [2017/06/20 v5.0g Graphics/color driver for xetex] + [2017/06/24 v5.0h Graphics/color driver for xetex] \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} {} @@ -94,6 +97,7 @@ {\csname newif\endcsname\ifGin@interpolate} {} \def\Gread@pdf#1{% + \let\Gin@decode\@empty \Gin@interpolatefalse \Gread@@xetex\XeTeXpdffile } @@ -239,8 +243,18 @@ \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<</Interpolate\GPT@space true>>\fi}% - \egroup} + \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{% \Gin@log{<#1>}% |