[latex3-commits] [git/LaTeX3-latex3-pdfresources] main: use the l3color name for the icc object (1fb9450)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Feb 22 18:21:39 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : main
Link       : https://github.com/latex3/pdfresources/commit/1fb94503ac259bd33d7277c3802c66cdc55ebd12

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

commit 1fb94503ac259bd33d7277c3802c66cdc55ebd12
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Feb 22 18:21:39 2021 +0100

    use the l3color name for the icc object


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

1fb94503ac259bd33d7277c3802c66cdc55ebd12
 l3pdfmeta.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 44a77fe..e563b11 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -726,10 +726,10 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_embed_colorprofile:n #1%#1 file name
   {
-    \pdf_object_if_exist:nF {@@_colorprofile_#1}
+    \pdf_object_if_exist:nF { __color_icc_ #1 }
       {
-        \pdf_object_new:nn  {@@_colorprofile_#1}{fstream}
-        \pdf_object_write:nx {@@_colorprofile_#1}
+        \pdf_object_new:nn  { __color_icc_ #1 }{fstream}
+        \pdf_object_write:nx { __color_icc_ #1 }
          {
            {/N\c_space_tl
              \prop_item:cn{c_@@_colorprofile_#1}{N}
@@ -745,7 +745,7 @@
      \pdfdict_put:nnx {l_pdfmeta/outputintent}{S}{/\str_convert_pdfname:n{#2}}
      \pdfdict_put:nnx {l_pdfmeta/outputintent}
        {DestOutputProfile}
-       {\pdf_object_ref:n{@@_colorprofile_#1}}
+       {\pdf_object_ref:n{ __color_icc_ #1 }}
      \clist_map_inline:nn { OutputConditionIdentifier, Info, RegistryName }
        {
          \prop_get:cnNT





More information about the latex3-commits mailing list.