[latex3-commits] [git/LaTeX3-latex3-graphics-def] dvipdfmx-color: Re-insert pdfcolorstack color after end of rot/scale (b2d2d9c)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Mar 17 09:20:00 CET 2021
Repository : https://github.com/latex3/graphics-def
On branch : dvipdfmx-color
Link : https://github.com/latex3/graphics-def/commit/b2d2d9c3b57475642bd71bef7f38823542ac49fc
>---------------------------------------------------------------
commit b2d2d9c3b57475642bd71bef7f38823542ac49fc
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Mar 17 08:19:44 2021 +0000
Re-insert pdfcolorstack color after end of rot/scale
See #26.
>---------------------------------------------------------------
b2d2d9c3b57475642bd71bef7f38823542ac49fc
dvipdfmx.def | 5 ++++-
xetex.def | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dvipdfmx.def b/dvipdfmx.def
index fef5592..3119d55 100644
--- a/dvipdfmx.def
+++ b/dvipdfmx.def
@@ -17,7 +17,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{dvipdfmx.def}
- [2021/03/02 v5.0i Graphics/color driver for dvipdfmx]
+ [2021/03/17 v5.0j Graphics/color driver for dvipdfmx]
\def\GPT at space{ }
\def\c at lor@arg#1{%
\dimen@#1\p@
@@ -402,3 +402,6 @@
\def\reset at color{%
\special{pdfcolorstack \@pdfcolorstack pop}%
}
+% Reinsert stack color to over-ride built-in reinsertion of pdf:bc color
+\def\Grot at end{\special{pdf:etrans}\special{pdfcolorstck \@pdfcolorstack current}}
+\let\Gscale at end\Grot at end
diff --git a/xetex.def b/xetex.def
index 12d0735..1847262 100644
--- a/xetex.def
+++ b/xetex.def
@@ -17,7 +17,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{xetex.def}
- [2021/03/02 v5.0j Graphics/color driver for xetex]
+ [2021/03/17 v5.0k Graphics/color driver for xetex]
\def\GPT at space{ }
\def\c at lor@arg#1{%
\dimen@#1\p@
@@ -501,3 +501,6 @@
\def\reset at color{%
\special{pdfcolorstack \@pdfcolorstack pop}%
}
+% Reinsert stack color to over-ride built-in reinsertion of pdf:bc color
+\def\Grot at end{\special{pdf:etrans}\special{pdfcolorstck \@pdfcolorstack current}}
+\let\Gscale at end\Grot at end
\ No newline at end of file
More information about the latex3-commits
mailing list.