summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/graphics-def/dvipdfmx.def
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/graphics-def/dvipdfmx.def')
-rw-r--r--macros/latex/contrib/graphics-def/dvipdfmx.def12
1 files changed, 7 insertions, 5 deletions
diff --git a/macros/latex/contrib/graphics-def/dvipdfmx.def b/macros/latex/contrib/graphics-def/dvipdfmx.def
index 361d89aca7..0944ae0d88 100644
--- a/macros/latex/contrib/graphics-def/dvipdfmx.def
+++ b/macros/latex/contrib/graphics-def/dvipdfmx.def
@@ -1,5 +1,6 @@
-%% dvipdfmx.def Copyright (C) 2005-2017 LaTeX3 Project, Jin-Hwan Cho, Shunsaku Hirata
-%% (with contributions from many others)
+%% dvipdfmx.def
+%% Copyright (C) 2005-2020 LaTeX3 Project, Jin-Hwan Cho, Shunsaku Hirata
+%% (with contributions from many others)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -16,7 +17,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{dvipdfmx.def}
- [2017/06/24 v5.0g Graphics/color driver for dvipdfmx]
+ [2020/08/26 v5.0h Graphics/color driver for dvipdfmx]
\def\GPT@space{ }
\def\c@lor@arg#1{%
\dimen@#1\p@
@@ -83,7 +84,8 @@
background \current@color}}
\def\define@color@named#1#2{%
\expandafter\let\csname col@#1\endcsname\@nnil}
- \def\no@page@color{\special{background \string"newpath clip}}
+% white is special cased as "no background color" by dvipdfmx
+\def\no@page@color{\special{background gray 1}}
\@ifundefined{Gin@decode}
{\let\Gin@decode\@empty}
{}
@@ -333,4 +335,4 @@
\fi
}
\fi
-\fi
+\fi