From 2c615e5aa18c7a34118605774de70b6b65f04b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20B=C3=BCnzli?= Date: Thu, 26 Sep 2013 17:39:10 +0200 Subject: fix bug 694618 For Separation and DeviceN colorspaces, the initial color value is 1.0 for all components instead of 0.0 as for most other colorspaces. The current initialization in pdf_set_colorspace initializes for CMYK which happens to work for all non-tint colorspaces. --- include/mupdf/pdf/resource.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/mupdf/pdf/resource.h b/include/mupdf/pdf/resource.h index fb088a3d..0b090705 100644 --- a/include/mupdf/pdf/resource.h +++ b/include/mupdf/pdf/resource.h @@ -15,6 +15,7 @@ void pdf_remove_item(fz_context *ctx, fz_store_free_fn *free, pdf_obj *key); fz_function *pdf_load_function(pdf_document *doc, pdf_obj *ref, int in, int out); fz_colorspace *pdf_load_colorspace(pdf_document *doc, pdf_obj *obj); +int pdf_is_tint_colorspace(fz_colorspace *cs); fz_shade *pdf_load_shading(pdf_document *doc, pdf_obj *obj); -- cgit v1.2.3