From: Matthew Fernandez Date: Thu, 11 Mar 2021 04:16:26 +0000 (-0800) Subject: fix: missing value in CIELAB lookup table X-Git-Tag: 2.47.1~50^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77da5a591e1ae23491fed15f34692512030b125c;p=graphviz fix: missing value in CIELAB lookup table This lookup table contains an approximation of the visible gamut of the CIELAB color space.¹ While scaling to, e.g., Standard RGB is not linear, it is continuous. Therefore it follows that if (L=5,a=22,b=6) is visible and (L=5,a=22,b=8) is visible, (L=5,a=22,b=7) is also visible. This was presumably an accidental deletion committed in pre-version-control days. Fixes #1974. ¹ https://en.wikipedia.org/wiki/CIELAB_color_space --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 72a823f09..2680e81f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Windows build thinks xdg-open can be used to open a web browser #1954 +- lab_gamut_data misses a value #1974 ## [2.47.0] - 2021-03-15 diff --git a/lib/edgepaint/lab_gamut.c b/lib/edgepaint/lab_gamut.c index efbb8f0b6..3d98403ae 100644 --- a/lib/edgepaint/lab_gamut.c +++ b/lib/edgepaint/lab_gamut.c @@ -2524,6 +2524,7 @@ const signed char lab_gamut_data[] = {0,0,0, 5,22,4, 5,22,5, 5,22,6, +5,22,7, 5,22,8, 5,23,-37, 5,23,-36,