diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-04-04 16:54:50 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-04-25 12:26:32 +0200 |
commit | 5dd383a4eb03c05f0e34fd166c133d567d66de3d (patch) | |
tree | d275cc64defa8d5e806b5281857d6266ab8269b0 /scripts/cmapdump.py | |
parent | 5f4a7fef375a16f457974794ab5c552105107652 (diff) | |
download | mupdf-5dd383a4eb03c05f0e34fd166c133d567d66de3d.tar.xz |
Check in generated CMap source.
Created with the 'scripts/runcmapdump.sh' script.
Diffstat (limited to 'scripts/cmapdump.py')
-rw-r--r-- | scripts/cmapdump.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/cmapdump.py b/scripts/cmapdump.py index d92da4e8..1f1c50d3 100644 --- a/scripts/cmapdump.py +++ b/scripts/cmapdump.py @@ -172,7 +172,7 @@ def dumpcmap(filename): print "};" print - print "pdf_cmap pdf_cmap_%s = {" % cname + print "static pdf_cmap cmap_%s = {" % cname print "\t{ -1, pdf_drop_cmap_imp }," print "\t/* cmapname */ \"%s\"," % cmapname print "\t/* usecmap */ \"%s\", NULL," % usecmap @@ -210,9 +210,6 @@ def dumpcmap(filename): print "};" print "/* This is an automatically generated file. Do not edit. */" -print -print '#include "mupdf/fitz.h"' -print '#include "mupdf/pdf.h"' for arg in sys.argv[1:]: dumpcmap(arg) |