summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-04-11 16:18:20 +0100
committerRobin Watts <robin.watts@artifex.com>2013-04-15 13:59:52 +0100
commit725698b1c0e682c3af9d1d1ce15e55b3ea9b47a3 (patch)
tree6db183b0aff853e6bf0f74a1b63cb154a97d5ae1 /thirdparty
parent12c1466667b47ab3bafe794e0f40b619662b0ac5 (diff)
downloadmupdf-725698b1c0e682c3af9d1d1ce15e55b3ea9b47a3.tar.xz
Bug 692681: Pull SoftMask invocation logic together
Softmasks can be applied in 2 places in our code; once when starting a group, once when running an XObject. The two implementations had drifted apart. To avoid this in future, pull the two together. This solves the bug, apart from the issue of transfer functions not working. Also, fix another issue seen in cluster testing. For luminance smasks the bbox is only used to clip the contents drawn - the background color extends into the surrounding area. Fix the code to respect this. And another problem; text in soft masks would upset text outside the SMasks - fix this by storing/restoring the text settings in the interpreter state around the smask rendering.
Diffstat (limited to 'thirdparty')
0 files changed, 0 insertions, 0 deletions