diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/colorspace.h | 6 | ||||
-rw-r--r-- | include/mupdf/fitz/font.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/mupdf/fitz/colorspace.h b/include/mupdf/fitz/colorspace.h index f027ce2e..aad1c2e1 100644 --- a/include/mupdf/fitz/colorspace.h +++ b/include/mupdf/fitz/colorspace.h @@ -209,9 +209,9 @@ struct fz_cal_colorspace_s { /* icc methods */ -fz_colorspace *fz_new_icc_colorspace(fz_context *ctx, const char *name, int num, fz_buffer *buf); -fz_colorspace *fz_new_icc_colorspace_from_file(fz_context *ctx, const char *name, const char *path); -fz_colorspace *fz_new_icc_colorspace_from_stream(fz_context *ctx, const char *name, fz_stream *in); +fz_colorspace *fz_new_icc_colorspace(fz_context *ctx, enum fz_colorspace_type type, fz_buffer *buf); +fz_colorspace *fz_new_icc_colorspace_from_file(fz_context *ctx, enum fz_colorspace_type type, const char *path); +fz_colorspace *fz_new_icc_colorspace_from_stream(fz_context *ctx, enum fz_colorspace_type type, fz_stream *in); fz_colorspace *fz_new_cal_colorspace(fz_context *ctx, const char *name, float *wp, float *bp, float *gamma, float *matrix); fz_buffer *fz_new_icc_data_from_cal_colorspace(fz_context *ctx, fz_cal_colorspace *cal); fz_buffer *fz_icc_data_from_icc_colorspace(fz_context *ctx, const fz_colorspace *cs); diff --git a/include/mupdf/fitz/font.h b/include/mupdf/fitz/font.h index aaa02552..7aaee3d7 100644 --- a/include/mupdf/fitz/font.h +++ b/include/mupdf/fitz/font.h @@ -275,7 +275,7 @@ const unsigned char *fz_lookup_base14_font(fz_context *ctx, const char *name, in Returns a pointer to the icc file data, or NULL if not present. */ -const unsigned char *fz_lookup_icc(fz_context *ctx, const char *name, size_t *len); +const unsigned char *fz_lookup_icc(fz_context *ctx, enum fz_colorspace_type name, size_t *len); /* fz_lookup_cjk_font: Search the builtin cjk fonts for a match. |