diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-12 16:03:56 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-12 16:03:56 +0000 |
commit | 4f75f9306a070629dede9cf67723c796017069e5 (patch) | |
tree | e75a1e70ab884a77d40cde6efce8d7f7cdcca405 /Build/source/texk/dvipdfm-x/spc_pdfm.c | |
parent | bcbf7197ba792cafef06906de0d0cb9645553a20 (diff) |
texk/dvipdfm-x: Consistency between dvi and xdv wrt \special{pdf:dest...}
git-svn-id: svn://tug.org/texlive/trunk@39695 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/spc_pdfm.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/spc_pdfm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/spc_pdfm.c b/Build/source/texk/dvipdfm-x/spc_pdfm.c index 1481e83a729..44e5725e34e 100644 --- a/Build/source/texk/dvipdfm-x/spc_pdfm.c +++ b/Build/source/texk/dvipdfm-x/spc_pdfm.c @@ -1073,8 +1073,17 @@ spc_handler_pdfm_dest (struct spc_env *spe, struct spc_arg *args) return -1; } +/* + * -- FIX ME -- + * Why reencode here for xdv only? If we disable this reencoding, + * it seems that dvi and xdv become consistent with respect to + * \special{pdf:dest...}, when we use \special{pdf:tounicode UTF8-UTF16} + * in both cases. + */ +#if 0 if (is_xdv && maybe_reencode_utf8(name) < 0) WARN("Failed to convert input string to UTF16..."); +#endif array = parse_pdf_object(&args->curptr, args->endptr, NULL); if (!array) { |