diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2019-04-02 13:17:58 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2019-04-02 13:17:58 +0000 |
commit | b5f6c3bb7bbeb05e867211e7eebeadaa2daed54f (patch) | |
tree | 4c7ff1e66fd9f7effe58fe6636d5f247646daa29 /Build/source | |
parent | 322258bbc5eaaec5188cbe5e158b97fcd508ffb8 (diff) |
e[u]ptex: Fix a bug that \fontcharwd etc. does not work for kanji code < 256 for e-upTeX.
git-svn-id: svn://tug.org/texlive/trunk@50703 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/eptexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/eptexdir/eptex.ech | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/eptexdir/ChangeLog b/Build/source/texk/web2c/eptexdir/ChangeLog index 86c455ead73..d3f6e422ba6 100644 --- a/Build/source/texk/web2c/eptexdir/ChangeLog +++ b/Build/source/texk/web2c/eptexdir/ChangeLog @@ -1,3 +1,8 @@ +2019-04-02 Hironobu Yamashita <h.y.acetaminophen@gmail.com> + + * eptex.ech: \fontcharwd etc. for Japanese fonts correctly + returns a dimension for all kanji codes. + 2019-03-01 Hironobu Yamashita <h.y.acetaminophen@gmail.com> * eptex.ech: Fix \show\savinghyphcodes. (Bug introduced in diff --git a/Build/source/texk/web2c/eptexdir/eptex.ech b/Build/source/texk/web2c/eptexdir/eptex.ech index 96a2d25da24..efba7a6fa45 100644 --- a/Build/source/texk/web2c/eptexdir/eptex.ech +++ b/Build/source/texk/web2c/eptexdir/eptex.ech @@ -528,7 +528,7 @@ read_papersize_special_code:print_esc("readpapersizespecial"); end; @y if font_dir[q]<>dir_default then {Japanese font} - begin if cur_val>=256 then {Japanese Character} + begin if is_char_kanji(cur_val) then {Japanese Character} begin cur_val:=get_jfm_pos(KANJI(cur_val),q); i:=orig_char_info(q)(qi(cur_val)); case m of |