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 | |
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')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/spc_pdfm.c | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 5a14112a161..d50edb733c6 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,9 @@ +2016-02-13 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * spc_pdfm.c: Remove maybe-redundant code to obtain consistency + between dvi (dvipdfmx) and xdv (xdvipdfmx) with respect to + \special{pdf:dest...}. + 2016-02-09 Jiang Jiang <gzjjgod@gmail.com> * dvi.c: Tweak skip_native_font_def() to make it handle more 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) { |