Re: [Lcms-user] unicode text problem, and VCGT

2009-12-11 Thread Marti.Maria
Hi Richard, Ok, since the documentation on API reference is taking so long, I will put all current code in a zip and do a drop. Please let me some time. Excellent, thanks. Of course, if you were using github we could help you :-) Here you go: http://www.littlecms.com/lcms-2.0-Dec-

Re: [Lcms-user] unicode text problem, and VCGT

2009-12-11 Thread Richard Hughes
2009/12/11 Marti.Maria : > Yes,  cmsSigVcgtType and cmsSigVctTag are added to lcms2.h, no plug-in is > needed, as many people has already asked for this functionality. If you read > this tag by > means of cmsReadTag(), you get an array of 3 tone curves. All decoding is > done internally by the >

Re: [Lcms-user] unicode text problem, and VCGT

2009-12-11 Thread Marti.Maria
> Shouldn't the ID be added to lcms2.h, and the functionality to decode > the VCGT formula and VCGT table entries? Or should this be implemented > by all the applications that need to read vcgt as a lcms2-plugin? This > would be quite a lot of code duplication in my opinion. > Yes, cmsSigVcgt

Re: [Lcms-user] unicode text problem, and VCGT

2009-12-11 Thread Richard Hughes
2009/12/11 Marti.Maria : > It should work, but unfortunately some implementations of wcstombs doesn't > work. It would be fixed in next release, which adds functions to return > unicode strings. Cool, you got a git tree available for testing? > which is absolutely legitimate. The current lcms 2.

Re: [Lcms-user] unicode text problem, and VCGT

2009-12-11 Thread Marti.Maria
Richard Hughes wrote: > First, an easy one. Using lcms-1.18-3.fc12.i686 and the > sRGB_v4_ICC_preference.icc profile[1] I can't get the description or > copyright as it's using an 'mluc' tag rather than plain 'text'. Is > this supposed to work using methods such as cmsTakeProductDesc, as to > retur

Re: [Lcms-user] unicode text problem, and VCGT

2009-12-10 Thread Richard Hughes
2009/12/10 Graeme Gill : > It's a private tag registered to Apple Computer, so the ICC > can't just appropriate it. It's also strictly nothing to do > with color profiling, since it is related to device setup > rather than characterization. Apple would need to offer it > to the ICC, and the ICC wou

Re: [Lcms-user] unicode text problem, and VCGT

2009-12-10 Thread Graeme Gill
Richard Hughes wrote: > Do you know why it's not in the official ICC spec, given that > everything basically has to support it? It's a private tag registered to Apple Computer, so the ICC can't just appropriate it. It's also strictly nothing to do with color profiling, since it is related to devi

Re: [Lcms-user] unicode text problem, and VCGT

2009-12-10 Thread Richard Hughes
2009/12/10 Kai-Uwe Behrmann : > That tag is a Apple specific one, which has become widely adopted by other > systems. CMMs are not required to support private tags. Even though a CMS, > which supports monitor devices can nearly not live without. Do you know why it's not in the official ICC spec, g

Re: [Lcms-user] unicode text problem, and VCGT

2009-12-10 Thread Kai-Uwe Behrmann
Am 10.12.09, 13:49 - schrieb Richard Hughes: > Then, a more complicated one. GNOME Color Manager uses the 'vcgt' > tag[1] to get the video card gamma table from the ICC profile. I don't > see any support for vcgt in the ICC specification, nor in the icc34.h > header file. lcms doesn't seem to s

[Lcms-user] unicode text problem, and VCGT

2009-12-10 Thread Richard Hughes
First, an easy one. Using lcms-1.18-3.fc12.i686 and the sRGB_v4_ICC_preference.icc profile[1] I can't get the description or copyright as it's using an 'mluc' tag rather than plain 'text'. Is this supposed to work using methods such as cmsTakeProductDesc, as to return true Unicode strings you need