summaryrefslogtreecommitdiff
path: root/source/fitz/draw-mesh.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-09-28 18:11:43 +0100
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:37 +0100
commit7e6a2dda63ce59237723e3a64aba671228bb904c (patch)
tree68d0dade577a829259078cd922a0470dda880894 /source/fitz/draw-mesh.c
parent0e5d67165863b3e45a09aadd69671f878f8ee57e (diff)
downloadmupdf-7e6a2dda63ce59237723e3a64aba671228bb904c.tar.xz
Fix problem with spot shadings in isolated groups.
As seen with ../tests_private/comparefiles/Bug693541.pdf This file has an RGB isolated group, within which it renders a spot only shading. We therefore create the RGB+S+A pixmap, and set it to all zeros. The shading is drawn to a new S+A pixmap. The problem comes when the code writes the S+A pixmap to the RGB+S+A one. When we set the alpha values to be non zero in an additive space we need to reset the process components to be full (scaled by alpha).
Diffstat (limited to 'source/fitz/draw-mesh.c')
0 files changed, 0 insertions, 0 deletions