summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/eptexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/eptexdir/eptex.ech2
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