From: Jon A. Cruz <jon@jo...> - 2007-09-25 03:08:27
I was finally able to get the initial cut of supporting icc-color()
in. It should support most color spaces including CMYK.
At the moment it will only be active for colors with an icc profile
already set. There are some problems with the Lab and YCbCr color
spaces. So far I've tested RGB, CMYK and Grayscale successfully.
To test just build the latest, have a <color-profile> in your SVG and
set the color in the SVG.
So if you have a <color-profile> element with a name attribute of
"cmyk", then you would just need to set
fill:#ff00ff icc-color(cmyk, 0, 0, 0, 0, 0)