From a9fd9577d6cbc528afb61c4a087712d1f3f51908 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Sat, 6 Apr 2024 18:01:34 +0200 Subject: [PATCH] correct logic --- l3pdfmeta.dtx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx index f37858a4..142f5b64 100644 --- a/l3pdfmeta.dtx +++ b/l3pdfmeta.dtx @@ -1187,20 +1187,20 @@ { \pdfmeta_standard_verify:nTF {outputintent_A} { - \prop_if_exist:cTF {c_@@_colorprofile_#2} - { - \prop_map_inline:Nn \g_@@_outputintents_prop - { - \@@_embed_colorprofile:n - {#2} - \@@_write_outputintent:nn - {#2} - {#1} - } + \prop_map_inline:Nn \g_@@_outputintents_prop + { + \prop_if_exist:cTF {c_@@_colorprofile_#2} + { + \@@_embed_colorprofile:n + {#2} + \@@_write_outputintent:nn + {#2} + {#1} + } + { + \msg_warning:nnn{pdfmeta}{colorprofile-undefined}{#2} + } } - { - \msg_warning:nnn{pdfmeta}{colorprofile-undefined}{#2} - } } % \end{macrocode} % If an output intent is required for pdf/A we need to ensure, that the key of