summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-fmt.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/lpdf-fmt.lmt')
-rw-r--r--tex/context/base/mkxl/lpdf-fmt.lmt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/lpdf-fmt.lmt b/tex/context/base/mkxl/lpdf-fmt.lmt
index 23534c518..f83432d48 100644
--- a/tex/context/base/mkxl/lpdf-fmt.lmt
+++ b/tex/context/base/mkxl/lpdf-fmt.lmt
@@ -913,6 +913,11 @@ function codeinjections.setformat(s)
-- rgb = spec.rgb_colors and variables.yes or variables.no,
-- }
--
+ local rgb = spec.rgb_colors and variables.yes or variables.no
+ local cmy = spec.cmyk_colors and variables.yes or variables.no
+ report_backend("permitted colorspaces: rgb %a, cmyk %a",rgb,cmy)
+ -- token.expandmacro ("colo_force_colormodel",true,rgb,true,cmy)
+ --
colors.forcesupport(
spec.gray_scale or false,
spec.rgb_colors or false,
@@ -952,6 +957,8 @@ function codeinjections.setformat(s)
report_backend("error, format is already set to %a, ignoring %a",formatname,noname.format)
end
end
+ -- we could just pass the spec to the backend
+ lpdf.setincludecidset(spec.include_cidsets)
else
report_backend("error, format %a is not supported",format)
end