> Thanks, that's very helpful. There is just one thing left, which is
> that some of our 'desc' tags have ScriptCode and some don't:

Humm... A binary dump of the profile you are attaching shows no script 
code but only correct unicode data, and both 'desc' tags are similar.  
Any other software complaining?
Regards
Marti

> tag 0:
>    sig      'desc'
>    type     'desc'
>    offset   264
>    size     116
> TextDescription:
>    ASCII data, length 8 chars:
>      0x0000: sRGB\000\000\000
>    No Unicode data
>    ScriptCode Data, Code 0x0, length 9 chars
>      0x0000: 00 73 00 52 00 47 00 42 00
>
> tag 1:
>    sig      'dmnd'
>    type     'desc'
>    offset   380
>    size     128
> TextDescription:
>    ASCII data, length 12 chars:
>      0x0000: Darktable\000\000
>    No Unicode data
>    No ScriptCode data
>
> tag 2:
>    sig      'dmdd'
>    type     'desc'
>    offset   508
>    size     116
> TextDescription:
>    ASCII data, length 8 chars:
>      0x0000: sRGB\000\000\000
>    No Unicode data
>    ScriptCode Data, Code 0x0, length 9 chars
>      0x0000: 00 73 00 52 00 47 00 42 00
>
> All these tags are added in the same way:
>
>    cmsMLU *mlu0 = cmsMLUalloc(NULL, 1);
>    cmsMLUsetASCII(mlu0, "en", "US", "sRGB");
>    cmsMLU *mlu1 = cmsMLUalloc(NULL, 1);
>    cmsMLUsetASCII(mlu1, "en", "US", "Darktable");
>    cmsMLU *mlu2 = cmsMLUalloc(NULL, 1);
>    cmsMLUsetASCII(mlu2, "en", "US", "sRGB");
>    cmsWriteTag(hsRGB, cmsSigProfileDescriptionTag, mlu0);
>    cmsWriteTag(hsRGB, cmsSigDeviceMfgDescTag, mlu1);
>    cmsWriteTag(hsRGB, cmsSigDeviceModelDescTag, mlu2);
>    cmsMLUfree(mlu0);
>    cmsMLUfree(mlu1);
>    cmsMLUfree(mlu2);
>
> Do you have any clue why they would end up differently in the ICC
> (I've attached the ICC in question)?
>
> I'm not particularly clear on what ScriptCode is, glancing over the
> ICCv2 spec didn't clear anything up either...
>
> Regards,
> Pascal de Bruijn


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to