mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 19:26:56 -04:00
A .ai or PDF whose spot colours are defined in Lab opened them wrong: - the PDF part gives such an ink an ICC Lab profile as its alternate space ([/ICCBased profile], 3 components), which was read as RGB, so the Lab values were clamped into wildly wrong colours (PANTONE 249 C came in yellow). A profile whose Alternate is [/Lab ...], or whose header names the Lab data colour space, is now read as Lab; - the editing data writes them as `c m y k L a b (name) tint 2 Xx`, type 2 being Lab, and only the CMYK equivalent was read. Type 2 now gives the Lab colour, in the swatches and on the art. Co-Authored-By: Claude Opus 5.5 <[email protected]>