summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2009-02-27 17:58:47 +0100
committerTor Andersson <tor@ghostscript.com>2009-02-27 17:58:47 +0100
commite634306b0ffc3d09c984f3b70c251780c037ec9e (patch)
tree323aa9e7591dc745c8a904524b478ad6d6ecc41c /include
parentb41ede1d9b93268b96e686ca3299dd20624a9812 (diff)
downloadmupdf-e634306b0ffc3d09c984f3b70c251780c037ec9e.tar.xz
Use compiled in CMaps instead of looking for them in $CMAPDIR.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/rsrc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mupdf/rsrc.h b/include/mupdf/rsrc.h
index 65f9e536..738919b4 100644
--- a/include/mupdf/rsrc.h
+++ b/include/mupdf/rsrc.h
@@ -148,6 +148,16 @@ fz_error *pdf_loadtile(fz_image *image, fz_pixmap *tile);
typedef struct pdf_cmap_s pdf_cmap;
+struct pdf_cmapentry_s
+{
+ const char *name;
+ const char *buf;
+ const int *len;
+ pdf_cmap *cmap;
+};
+
+extern struct pdf_cmapentry_s pdf_cmaptable[]; /* list of builtin system cmaps */
+
fz_error *pdf_newcmap(pdf_cmap **cmapp);
pdf_cmap *pdf_keepcmap(pdf_cmap *cmap);
void pdf_dropcmap(pdf_cmap *cmap);