From 4f75f9306a070629dede9cf67723c796017069e5 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Fri, 12 Feb 2016 16:03:56 +0000 Subject: 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 --- Build/source/texk/dvipdfm-x/ChangeLog | 6 ++++++ Build/source/texk/dvipdfm-x/spc_pdfm.c | 9 +++++++++ 2 files changed, 15 insertions(+) (limited to 'Build/source') 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 + + * 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 * 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) { -- cgit v1.2.3