diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-09-26 12:34:50 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-10-24 15:16:37 +0100 |
commit | 6a92b90ac4c581c1d7c2c1322ece0e99e920e3df (patch) | |
tree | badcad605e3b29bca543deff749341bcedbea5e1 | |
parent | 79bc9c182e74bcd58c6de33be8dfeb384a07199b (diff) | |
download | mupdf-6a92b90ac4c581c1d7c2c1322ece0e99e920e3df.tar.xz |
Fix spot blend routine forgetting to complement in RGB process spaces.
-rw-r--r-- | source/fitz/draw-blend.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/fitz/draw-blend.c b/source/fitz/draw-blend.c index 6c2c58c7..6413dd7c 100644 --- a/source/fitz/draw-blend.c +++ b/source/fitz/draw-blend.c @@ -765,10 +765,7 @@ fz_blend_separable_nonisolated(byte * restrict bp, int bal, const byte * restric if (ra0 != 0) rc += fz_mul255(ra0, bc); - if (complement) - rc = ra - rc; - - bp[k] = rc; + bp[k] = ra - rc; } break; } |