From 64f50a1d7fe79d365b350c1bae688b9bf1b44d34 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 10 Oct 2019 15:29:49 +0200 Subject: 2019-10-10 14:28:00 --- tex/context/base/mkiv/grph-inc.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tex/context/base/mkiv/grph-inc.lua') diff --git a/tex/context/base/mkiv/grph-inc.lua b/tex/context/base/mkiv/grph-inc.lua index fdac5f1a9..bfe67094e 100644 --- a/tex/context/base/mkiv/grph-inc.lua +++ b/tex/context/base/mkiv/grph-inc.lua @@ -1509,6 +1509,11 @@ function checkers.generic(data) -- tricky as img doesn't allow it f.attr = figure.attr end + if dr.cmyk == v_yes then + f.enforcecmyk = true + elseif dr.cmyk == v_auto and attributes.colors.model == "cmyk" then + f.enforcecmyk = true + end figure = f end local f, d = codeinjections.setfigurealternative(data,figure) @@ -2059,6 +2064,7 @@ implement { { "conversion" }, { "resolution" }, { "color" }, + { "cmyk" }, { "arguments" }, { "repeat" }, { "transform" }, -- cgit v1.2.3