[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add fallback color conversion for DeviceN/Separation to CMYK (1f39e6adf)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Sep 23 08:52:18 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/1f39e6adf2b6d996adfee748f058b67589d4710a

>---------------------------------------------------------------

commit 1f39e6adf2b6d996adfee748f058b67589d4710a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Sep 23 07:52:18 2020 +0100

    Add fallback color conversion for DeviceN/Separation to CMYK


>---------------------------------------------------------------

1f39e6adf2b6d996adfee748f058b67589d4710a
 l3experimental/l3color/l3color.dtx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/l3experimental/l3color/l3color.dtx b/l3experimental/l3color/l3color.dtx
index 4157ac227..c8de1d88a 100644
--- a/l3experimental/l3color/l3color.dtx
+++ b/l3experimental/l3color/l3color.dtx
@@ -1533,6 +1533,17 @@
 %    \end{macrocode}
 % \end{variable}
 %
+% \begin{variable}
+%   {\c_@@_fallback_cmyk_tl, \c_@@_fallback_gray_tl, \c_@@_fallback_rgb_tl}
+%   Conversion from Separation or DeviceN spaces may not be possible; have
+%   a fallback to black.
+%    \begin{macrocode}
+\tl_const:Nn \c_@@_fallback_cmyk_tl { 0 ~ 0 ~ 0 ~ 1 }
+\tl_const:Nn \c_@@_fallback_gray_tl { 1 }
+\tl_const:Nn \c_@@_fallback_rgb_tl { 1 ~ 1 ~ 1 }
+%    \end{macrocode}
+% \end{variable}
+%
 % \begin{variable}{\g_@@_colorants_prop}
 %   Mapping from names to colorants.
 %    \begin{macrocode}





More information about the latex3-commits mailing list.