summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/tt_cmap.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-12-18 22:34:22 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-12-18 22:34:22 +0000
commit76930401be7c6bef4285e9a5100b1a74ab01e907 (patch)
tree4783eab5504d738755a1a19d68645ef84b40a3d2 /Build/source/texk/dvipdfm-x/tt_cmap.c
parent22c37c9baa7011b264591e1f908aa3a5749acad3 (diff)
dvipdfm-x: recover the original type0.c and tt_cmap.c for [x]dvipdfmx
git-svn-id: svn://tug.org/texlive/trunk@42744 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/tt_cmap.c')
-rw-r--r--Build/source/texk/dvipdfm-x/tt_cmap.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/tt_cmap.c b/Build/source/texk/dvipdfm-x/tt_cmap.c
index 9da12913f5b..9943aa99c4a 100644
--- a/Build/source/texk/dvipdfm-x/tt_cmap.c
+++ b/Build/source/texk/dvipdfm-x/tt_cmap.c
@@ -902,12 +902,19 @@ handle_subst_glyphs (CMap *cmap,
}
#undef MAX_UNICODES
if (unicode_count == -1) {
+#if defined(LIBDPX)
if(verbose > VERBOSE_LEVEL_MIN) {
if (name)
MESG("No Unicode mapping available: GID=%u, name=%s\n", gid, name);
else
MESG("No Unicode mapping available: GID=%u\n", gid);
}
+#else
+ if (name)
+ MESG("No Unicode mapping available: GID=%u, name=%s\n", gid, name);
+ else
+ MESG("No Unicode mapping available: GID=%u\n", gid);
+#endif /* LIBDPX */
} else {
/* the Unicode characters go into wbuf[2] and following, in UTF16BE */
/* we rely on WBUF_SIZE being more than adequate for MAX_UNICODES */
@@ -1269,7 +1276,11 @@ otf_create_ToUnicode_stream (const char *font_name,
break;
}
}
+#if defined(LIBDPX)
if (cmap_obj == NULL && verbose > VERBOSE_LEVEL_MIN)
+#else
+ if (cmap_obj == NULL)
+#endif /* LIBDPX */
WARN("Unable to read OpenType/TrueType Unicode cmap table.");
tt_cmap_release(ttcmap);
CMap_set_silent(0);