mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 10:53:35 +01:00
Follow-up to #8400. A Perceptual gradient expands each segment into stops on its OKLab curve. Between two stops of the same color the round trip through OKLab rounded the color, so a stretch between two paper-white stops came out as nearly white RGB. On a PostScript plate the separator then saw ink there, and an overprinting gradient painted over the ink below across that stretch. Gradient::expanded now gives a stop between two stops of the same color that color, unchanged, for every method. GradientMethod::mix and Gradient::sample are not changed.