mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-02 06:07:06 -06:00
A Perceptual linear or radial gradient that mixes spot colors with each other or with CMYK or gray stops was written as an image in process colors. It is now written as a DeviceN shading of its inks, with the stops on its Perceptual curve: at each one, the inks of the two stops on either side are mixed at the weight where the two colors mixed in display RGB have the OKLab lightness of the color on the curve. - Gradient::ink_mixes gives the curve's stops as weights between stops, under the same 4,096-stop limit as ink_tints. - Perceptual gradients that mix a spot color with RGB or Lab stops, dithered fills and freeform gradients stay images, and the warning now names those cases.