diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2024-02-10 02:19:51 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2024-02-10 02:19:51 +0000 |
commit | fc7cd0ce37a54e91a81606bc8b046f771a839da5 (patch) | |
tree | 2cf9b01dfbbc687e67e4fc2f26bacffd3b6948f3 /Build | |
parent | 462ba5d55e18e6d2478f2dfbea0a776eb0f13ede (diff) |
dvipdfmx: Fix an issue of glyph conversion
git-svn-id: svn://tug.org/texlive/trunk@69763 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 8 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/cidtype2.c | 5 | ||||
-rwxr-xr-x | Build/source/texk/dvipdfm-x/configure | 22 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/configure.ac | 2 |
4 files changed, 23 insertions, 14 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 2dcc1ad9bc6..f906245d9da 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,11 @@ +2024-02-10 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * cidtype2.c: Fix an issue on glyph conversion of + characters over BMP. + Add conversion between "FULLWIDTH YEN SIGN" and "YEN SIGN". + https://github.com/texjporg/tex-jp-build/issues/165 + * configure.ac: version 20240210. + 2024-02-05 Karl Berry <karl@freefriends.org> * configure.ac, diff --git a/Build/source/texk/dvipdfm-x/cidtype2.c b/Build/source/texk/dvipdfm-x/cidtype2.c index 2c6caf908eb..67f39d21b78 100644 --- a/Build/source/texk/dvipdfm-x/cidtype2.c +++ b/Build/source/texk/dvipdfm-x/cidtype2.c @@ -418,6 +418,7 @@ fix_CJK_symbols (unsigned short code) {0xFFE0, 0x00A2}, /* FULLWIDTH CENT SIGN <-> CENT SIGN */ {0xFFE1, 0x00A3}, /* FULLWIDTH POUND SIGN <-> POUND SIGN */ {0xFFE2, 0x00AC}, /* FULLWIDTH NOT SIGN <-> NOT SIGN */ + {0xFFE5, 0x00A5}, /* FULLWIDTH YEN SIGN <-> YEN SIGN */ {0xFFFF, 0xFFFF}, /* EOD */ }; #define NUM_CJK_SYMBOLS (sizeof(CJK_Uni_symbols)/sizeof(CJK_Uni_symbols[0])) @@ -827,7 +828,7 @@ CIDFont_type2_dofont (pdf_font *font) } else { gid = tt_cmap_lookup(ttcmap, code); #ifdef FIX_CJK_UNIOCDE_SYMBOLS - if (gid == 0 && unicode_cmap) { + if (gid == 0 && unicode_cmap && code <= 0xFFFF) { int alt_code; alt_code = fix_CJK_symbols((unsigned short)code); @@ -917,7 +918,7 @@ CIDFont_type2_dofont (pdf_font *font) } else { gid = tt_cmap_lookup(ttcmap, code); #ifdef FIX_CJK_UNIOCDE_SYMBOLS - if (gid == 0 && unicode_cmap) { + if (gid == 0 && unicode_cmap && code <= 0xFFFF) { int alt_code; alt_code = fix_CJK_symbols((unsigned short)code); diff --git a/Build/source/texk/dvipdfm-x/configure b/Build/source/texk/dvipdfm-x/configure index c51d980990b..f3ef5bd0111 100755 --- a/Build/source/texk/dvipdfm-x/configure +++ b/Build/source/texk/dvipdfm-x/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for dvipdfm-x (TeX Live) 20240205. +# Generated by GNU Autoconf 2.72 for dvipdfm-x (TeX Live) 20240210. # # Report bugs to <dvipdfmx@tug.org>. # @@ -614,8 +614,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='dvipdfm-x (TeX Live)' PACKAGE_TARNAME='dvipdfm-x--tex-live-' -PACKAGE_VERSION='20240205' -PACKAGE_STRING='dvipdfm-x (TeX Live) 20240205' +PACKAGE_VERSION='20240210' +PACKAGE_STRING='dvipdfm-x (TeX Live) 20240210' PACKAGE_BUGREPORT='dvipdfmx@tug.org' PACKAGE_URL='' @@ -1383,7 +1383,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -'configure' configures dvipdfm-x (TeX Live) 20240205 to adapt to many kinds of systems. +'configure' configures dvipdfm-x (TeX Live) 20240210 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1455,7 +1455,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20240205:";; + short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20240210:";; esac cat <<\_ACEOF @@ -1586,7 +1586,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -dvipdfm-x (TeX Live) configure 20240205 +dvipdfm-x (TeX Live) configure 20240210 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -2367,7 +2367,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by dvipdfm-x (TeX Live) $as_me 20240205, which was +It was created by dvipdfm-x (TeX Live) $as_me 20240210, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -8928,7 +8928,7 @@ fi # Define the identity of the package. PACKAGE='dvipdfm-x--tex-live-' - VERSION='20240205' + VERSION='20240210' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -15995,7 +15995,7 @@ Usage: $0 [OPTIONS] Report bugs to <bug-libtool@gnu.org>." lt_cl_version="\ -dvipdfm-x (TeX Live) config.lt 20240205 +dvipdfm-x (TeX Live) config.lt 20240210 configured by $0, generated by GNU Autoconf 2.72. Copyright (C) 2011 Free Software Foundation, Inc. @@ -17938,7 +17938,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by dvipdfm-x (TeX Live) $as_me 20240205, which was +This file was extended by dvipdfm-x (TeX Live) $as_me 20240210, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18010,7 +18010,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -dvipdfm-x (TeX Live) config.status 20240205 +dvipdfm-x (TeX Live) config.status 20240210 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" diff --git a/Build/source/texk/dvipdfm-x/configure.ac b/Build/source/texk/dvipdfm-x/configure.ac index 8e64a3546c7..10e084c9c1f 100644 --- a/Build/source/texk/dvipdfm-x/configure.ac +++ b/Build/source/texk/dvipdfm-x/configure.ac @@ -8,7 +8,7 @@ dnl This file is free software; the copyright holder dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl -AC_INIT([dvipdfm-x (TeX Live)], [20240205], [dvipdfmx@tug.org]) +AC_INIT([dvipdfm-x (TeX Live)], [20240210], [dvipdfmx@tug.org]) AC_PREREQ([2.65]) AC_CONFIG_SRCDIR([agl.c]) AC_CONFIG_AUX_DIR([../../build-aux]) |