From b2c3d9e7ca40e001d3ee18975427224b726dc4d1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 22 Mar 2016 13:24:23 +0100 Subject: Compile embedded fonts in separate C files. Also change unsigned char into const char for embedded data. --- source/tools/pdfcreate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tools/pdfcreate.c') diff --git a/source/tools/pdfcreate.c b/source/tools/pdfcreate.c index 4ebc87fe..c2a330c2 100644 --- a/source/tools/pdfcreate.c +++ b/source/tools/pdfcreate.c @@ -26,8 +26,8 @@ static pdf_document *doc = NULL; static void add_font_res(pdf_obj *resources, char *name, char *path) { - unsigned char *data; - unsigned int size; + const char *data; + int size; fz_font *font; pdf_obj *subres, *ref; -- cgit v1.2.3