summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-fmt.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-07-30 01:27:40 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-07-30 01:27:40 +0200
commit6db2cd924d26ade933812f90701343f06c8653f2 (patch)
tree5aaa37e6fe8e03b827c60a81f66700fde3b971e9 /tex/context/base/mkxl/lpdf-fmt.lmt
parentdf12f144a2cb09cec29a95df26bdfc5ccad58aff (diff)
downloadcontext-6db2cd924d26ade933812f90701343f06c8653f2.tar.gz
2021-07-30 00:43:00
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