diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-08-09 14:34:36 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-10-24 15:16:36 +0100 |
commit | edcac9b62fd9034f3901c2b23467be9632c07b99 (patch) | |
tree | 2080e8cbcea824e2f7b52782e241954eb5ea48c6 /source/fitz/bidi-imp.h | |
parent | e9387d19a9e12ed5b4148059f9ae7c140274ab2e (diff) | |
download | mupdf-edcac9b62fd9034f3901c2b23467be9632c07b99.tar.xz |
Move to be more like Ghostscript in the handling of shapes.
When pushing a transparency group, MuPDF used to always create a shape
plane if there was one before. Ghostscript works differently, and
only creates a shape plane if we are in a non-isolated group.
This means that when blending an isolated group back to a non
isolated group, GS uses the "source alpha" in place of the "shape
alpha" to modify the non-isolated groups shape plane.
We update MuPDF to do the same here - it requires some new (small)
routines to do this new type of shape update, but means we carry
smaller amounts of data around overall.
Also, for what little remains of my sanities sake, this helps by
making it easier to compare the debug output from the 2 different
renderers.
Diffstat (limited to 'source/fitz/bidi-imp.h')
0 files changed, 0 insertions, 0 deletions