[latex3-commits] [git/LaTeX3-latex3-latex3] main: ICC Profile test requires a profile file (cbe8a4144)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Oct 18 14:00:02 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/cbe8a41445e4b52177b342cb8c7231d68f022ce1

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

commit cbe8a41445e4b52177b342cb8c7231d68f022ce1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Feb 24 11:57:31 2021 +0000

    ICC Profile test requires a profile file


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

cbe8a41445e4b52177b342cb8c7231d68f022ce1
 build-config.lua                        |   3 ++-
 l3kernel/testfiles/m3color003.lvt       |   2 +-
 l3kernel/testfiles/m3color003.tlg       |   2 ++
 l3kernel/testfiles/m3color003.xetex.tlg |   1 +
 support/sRGB_v4_ICC_preference.icc      | Bin 0 -> 60960 bytes
 5 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/build-config.lua b/build-config.lua
index 437a549f4..0b86956ff 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -8,7 +8,8 @@ checkengines    = checkengines
 checksuppfiles  = checksuppfiles  or
   {
     "regression-test.cfg",
-    "regression-test.tex"
+    "regression-test.tex",
+    "sRGB_v4_ICC_preference.icc"
   }
 tagfiles = tagfiles or {"*.dtx", "README.md", "CHANGELOG.md", "*.ins"}
 unpacksuppfiles = unpacksuppfiles or
diff --git a/l3kernel/testfiles/m3color003.lvt b/l3kernel/testfiles/m3color003.lvt
index 16e86fa58..ae0b35948 100644
--- a/l3kernel/testfiles/m3color003.lvt
+++ b/l3kernel/testfiles/m3color003.lvt
@@ -286,7 +286,7 @@
   {
     \color_model_new:nnn { ICC } { ICCBased }
       {
-        file = sRGB.icc , components = 3
+        file = sRGB_v4_ICC_preference.icc , components = 3
       }
     \color_set:nnn { ICC3 } { ICC } { 0.75 , 0.25 , 0.125 }
     \color_set:nn { foo } { ICC3 }
diff --git a/l3kernel/testfiles/m3color003.tlg b/l3kernel/testfiles/m3color003.tlg
index 9854fec68..f4123472c 100644
--- a/l3kernel/testfiles/m3color003.tlg
+++ b/l3kernel/testfiles/m3color003.tlg
@@ -484,6 +484,8 @@ Defining \__color_backend_select_ICC:n on line ...
 Defining \__color_model_ICC_white: on line ...
 Defining \__color_parse_model_ICC:w on line ...
 Defining \__color_parse_mix_ICC:nw on line ...
+Defining \c__pdf_backend_object___color_icc_sRGB_v4_ICC_preference.icc_int on line ...
+<<sRGB_v4_ICC_preference.icc>>
 Defining \l__color_named_ICC3_tl on line ...
 Defining \l__color_named_ICC3_prop on line ...
 The color foo has the properties:
diff --git a/l3kernel/testfiles/m3color003.xetex.tlg b/l3kernel/testfiles/m3color003.xetex.tlg
index 6c991b675..c013d8496 100644
--- a/l3kernel/testfiles/m3color003.xetex.tlg
+++ b/l3kernel/testfiles/m3color003.xetex.tlg
@@ -484,6 +484,7 @@ Defining \__color_backend_select_ICC:n on line ...
 Defining \__color_model_ICC_white: on line ...
 Defining \__color_parse_model_ICC:w on line ...
 Defining \__color_parse_mix_ICC:nw on line ...
+Defining \c__pdf_backend_object___color_icc_sRGB_v4_ICC_preference.icc_int on line ...
 Defining \l__color_named_ICC3_tl on line ...
 Defining \l__color_named_ICC3_prop on line ...
 The color foo has the properties:
diff --git a/support/sRGB_v4_ICC_preference.icc b/support/sRGB_v4_ICC_preference.icc
new file mode 100644
index 000000000..cfbd03e1f
Binary files /dev/null and b/support/sRGB_v4_ICC_preference.icc differ





More information about the latex3-commits mailing list.