On 20 March 2013 14:31, Marti Maria <marti.ma...@littlecms.com> wrote: > ICC have this note: http://color.org/unicode.xalter > Which is very scarce.
Right, agreed. > Regarding serbian latin, sorry I have no idea. This is beyond lcms scope and > probably have to do with ICC spec itself. You could contact ICC by using the > "ask > Phil" mail askp...@colourspace.demon.co.uk I'll do that, thanks. I did think it rather odd that the codes were cmsUInt16Number's and that we pass a char char[3] -- is the idea the last char is '\0'? Note, the LCMS docs state: "The localization trick is done by using the lenguage and country codes, which you are supposed to supply. Those are two or three ASCII letters." -- but surely using a three letter code is going to be truncated? > Instead of cmsGetProfileInfo(), which is a simplified interface, use > cmsReadTag(). > This will return a cmsMLU object with all strings in all locales. Yes, this is what I was doing, but I think we need something like the attached (untested) patch. If this looks okay to you, I'm happy to wire up all the other bits and add some unit tests. Or, feel free to take my patch, munge it, and apply something completely different :) Thanks, Richard.
0001-Add-some-helpers-to-get-the-size-and-contents-of-a-c.patch
Description: Binary data
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user