diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-05-31 16:14:11 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-06-06 14:51:54 +0200 |
commit | ae64e55878766478f536a0b2158e0a29f5cf00ed (patch) | |
tree | 462718d0d959294e161e4f18fb9920a7017368b9 /source/pdf/pdf-cmap-load.c | |
parent | 238ade12c1c7689d65ee9899eb00f895fcbd9a6f (diff) | |
download | mupdf-ae64e55878766478f536a0b2158e0a29f5cf00ed.tar.xz |
Minimize the number of CMaps built in to the ones listed in the spec.
Omitting the unlisted UTF-8 and UTF-32 CMaps saves ~1M.
Omitting the unlisted other CMaps saves ~200k.
Define CJK_CMAPS=0 to skip all CMaps.
Define EXTRA_CMAPS=1 to include the various other CMaps.
Define UTF8_CMAPS=1 and UTF32_CMAPS to include the UTF-8 and UTF-32 CMaps.
Diffstat (limited to 'source/pdf/pdf-cmap-load.c')
-rw-r--r-- | source/pdf/pdf-cmap-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-cmap-load.c b/source/pdf/pdf-cmap-load.c index 525c0dc1..1c72e139 100644 --- a/source/pdf/pdf-cmap-load.c +++ b/source/pdf/pdf-cmap-load.c @@ -106,7 +106,7 @@ pdf_new_identity_cmap(fz_context *ctx, int wmode, int bytes) * Load predefined CMap from system. */ pdf_cmap * -pdf_load_system_cmap(fz_context *ctx, char *cmap_name) +pdf_load_system_cmap(fz_context *ctx, const char *cmap_name) { pdf_cmap *usecmap; pdf_cmap *cmap; |