On Feb 24, 2011, at 1:23 AM, Graham Cox wrote:

> How do you create a CGColorSpaceRef using the DeviceN model? It appears as if 
> would allow spot colours to be specified, but I can't see how to create such 
> a colorspace.


I haven't tried this, but I think you have to provide your own DeviceN color 
profile to CGColorSpaceCreateICCBased(). Quartz will fall back to the alternate 
colorspace that you provide for drawing to the screen but I think the ICC data 
and colors should still make it into PDFs.

Again, I haven't tried this myself, this is simply my recollection from having 
investigated this pathway in the past.
--
David Duncan

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to