summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2017-08-01 14:39:01 -0700
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:35 +0100
commit3e6e2464b32ca6d9fdc9cfc8c80c33aace8ec5e0 (patch)
treeeba25a1e75096af817e6d219afb16a1b0808ee69 /include
parent5ca92b5a7166cb0304f9d30d0989b5379c7fa532 (diff)
downloadmupdf-3e6e2464b32ca6d9fdc9cfc8c80c33aace8ec5e0.tar.xz
Only do proof conversion in final pop.
The proof conversion should only be done after we have done all our drawing in the separations group. Fixes issue in page 7 of Altona test.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/pixmap.h2
-rw-r--r--include/mupdf/fitz/shade.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/include/mupdf/fitz/pixmap.h b/include/mupdf/fitz/pixmap.h
index a555a046..a7bb4354 100644
--- a/include/mupdf/fitz/pixmap.h
+++ b/include/mupdf/fitz/pixmap.h
@@ -407,7 +407,7 @@ int fz_valgrind_pixmap(const fz_pixmap *pix);
fz_clone_pixmap_area_with_different_seps: Convert between
different separation results.
*/
-fz_pixmap *fz_clone_pixmap_area_with_different_seps(fz_context *ctx, fz_pixmap *src, const fz_irect *bbox, fz_colorspace *dcs, fz_separations *seps, const fz_color_params *color_params, fz_colorspace *prf, fz_default_colorspaces *default_cs);
+fz_pixmap *fz_clone_pixmap_area_with_different_seps(fz_context *ctx, fz_pixmap *src, const fz_irect *bbox, fz_colorspace *dcs, fz_separations *seps, const fz_color_params *color_params, fz_default_colorspaces *default_cs);
fz_pixmap *fz_copy_pixmap_area_converting_seps(fz_context *ctx, fz_pixmap *dst, fz_pixmap *src, const fz_color_params *color_params, fz_colorspace *prf, fz_default_colorspaces *default_cs);
diff --git a/include/mupdf/fitz/shade.h b/include/mupdf/fitz/shade.h
index 1a9a174d..5604e762 100644
--- a/include/mupdf/fitz/shade.h
+++ b/include/mupdf/fitz/shade.h
@@ -126,8 +126,6 @@ fz_rect *fz_bound_shade(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm,
dest: The pixmap to render into.
- prf: Proofing color space.
-
color_params: The color rendering settings
bbox: Pointer to a bounding box to limit the rendering
@@ -135,7 +133,7 @@ fz_rect *fz_bound_shade(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm,
op: NULL, or pointer to overprint bitmap.
*/
-void fz_paint_shade(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm, fz_pixmap *dest, fz_colorspace *prf, const fz_color_params *color_params, const fz_irect *bbox, const fz_overprint *op);
+void fz_paint_shade(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm, fz_pixmap *dest, const fz_color_params *color_params, const fz_irect *bbox, const fz_overprint *op);
/*
* Handy routine for processing mesh based shades