diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-07-13 17:32:32 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-09-08 17:48:07 +0100 |
commit | 7e4a177d55b3a290300f6671c0670e5a5897da24 (patch) | |
tree | 81190342149dc508787247efa78854383997cad8 /source/fitz/strtof.c | |
parent | a7f36241cba4d1807ab4664201aa0975755d6772 (diff) | |
download | mupdf-7e4a177d55b3a290300f6671c0670e5a5897da24.tar.xz |
Update fz_separations equivalent color mechanism.
Incorporates fixes from Michael.
Rather than specifically giving it rgb and cmyk values,
separations now include the colorspace. Conversions can
then be done into ANY colorspace we need.
Note, that we maintain the old way of working for the
gproof device.
Also, fix pdf_page_separations to correctly find all separations.
This involves recursively looking through colorspaces, forms
and shadings for colorspaces therein, making sure we don't run
into any circular references.
We do 2 passes, so that we can pick up as many colorants as Separations
as possible. On the second pass we pick up any colorants we missed in
terms of DeviceN spaces. The purpose of this is to try to ensure that
we get as many tint transforms as single input functions as we can.
This may not be important in the grand scheme of things, but seems
neater.
Diffstat (limited to 'source/fitz/strtof.c')
0 files changed, 0 insertions, 0 deletions