summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/tt_gsub.h
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-05-02 22:41:16 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-05-02 22:41:16 +0000
commitca41953d8194eb312599a487346a176bf07cda55 (patch)
tree157b2124306cadbe088fcb5cbf937d26d612468d /Build/source/texk/dvipdfm-x/tt_gsub.h
parent76e559e4657cc54e211e35d7ae6fdb91f89ee034 (diff)
Support ASCIIHex and ASCII85 Decode filters. Revise ToUnicode CMap creation for OpenType. (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@50943 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/tt_gsub.h')
-rw-r--r--Build/source/texk/dvipdfm-x/tt_gsub.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/Build/source/texk/dvipdfm-x/tt_gsub.h b/Build/source/texk/dvipdfm-x/tt_gsub.h
index 2fd85ee8a5d..718ff8213b5 100644
--- a/Build/source/texk/dvipdfm-x/tt_gsub.h
+++ b/Build/source/texk/dvipdfm-x/tt_gsub.h
@@ -1,6 +1,6 @@
/* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
- Copyright (C) 2002-2018 by Jin-Hwan Cho and Shunsaku Hirata,
+ Copyright (C) 2002-2019 by Jin-Hwan Cho and Shunsaku Hirata,
the dvipdfmx project team.
This program is free software; you can redistribute it and/or modify
@@ -23,6 +23,7 @@
#include "sfnt.h"
#include "otl_opt.h"
+#include "cmap.h"
typedef struct otl_gsub otl_gsub;
@@ -59,11 +60,7 @@ extern int otl_gsub_add_feat_list (otl_gsub *gsub_list,
extern int otl_gsub_set_chain (otl_gsub *gsub_list, const char *otl_tags);
extern int otl_gsub_apply_chain (otl_gsub *gsub_list, USHORT *gid);
-#if 0
-extern int otl_gsub_dump (otl_gsub *gsub_list,
- const char *script,
- const char *language,
- const char *feature);
-#endif
-
+extern int otl_gsub_add_ToUnicode (CMap *cmap, char *used_chars,
+ int32_t *map_base, int32_t *map_sub, USHORT num_glyphs,
+ uint16_t *GIDToCIDMap, sfnt *sfont);
#endif /* _TT_GSUB_H_ */