summaryrefslogtreecommitdiff
path: root/source/fitz/halftone.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-07-03 18:33:48 +0100
committerRobin Watts <robin.watts@artifex.com>2017-07-19 19:41:23 +0100
commitf957eae764e6dbc74401b66d6a18ba3290fdb982 (patch)
tree224513a5080adde16386669feb0881aefe75794a /source/fitz/halftone.c
parent3d6cf4e4e543ce0d204db71ef8d0b9277219f250 (diff)
downloadmupdf-f957eae764e6dbc74401b66d6a18ba3290fdb982.tar.xz
Add spots to fz_pixmaps.
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors.
Diffstat (limited to 'source/fitz/halftone.c')
-rw-r--r--source/fitz/halftone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/halftone.c b/source/fitz/halftone.c
index 65dbcf07..7eef275f 100644
--- a/source/fitz/halftone.c
+++ b/source/fitz/halftone.c
@@ -76,7 +76,7 @@ fz_halftone *fz_default_halftone(fz_context *ctx, int num_comps)
{
int i;
for (i = 0; i < num_comps; i++)
- ht->comp[i] = fz_new_pixmap_with_data(ctx, NULL, 16, 16, 1, 16, mono_ht);
+ ht->comp[i] = fz_new_pixmap_with_data(ctx, NULL, 16, 16, NULL, 1, 16, mono_ht);
}
fz_catch(ctx)
{