texlive[50703] Build/source/texk/web2c/eptexdir: e[u]ptex: Fix a bug
commits+hironobu at tug.org
commits+hironobu at tug.org
Tue Apr 2 15:17:58 CEST 2019
Revision: 50703
http://tug.org/svn/texlive?view=revision&revision=50703
Author: hironobu
Date: 2019-04-02 15:17:58 +0200 (Tue, 02 Apr 2019)
Log Message:
-----------
e[u]ptex: Fix a bug that \fontcharwd etc. does not work for kanji code < 256 for e-upTeX.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/eptexdir/ChangeLog
trunk/Build/source/texk/web2c/eptexdir/eptex.ech
Modified: trunk/Build/source/texk/web2c/eptexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/eptexdir/ChangeLog 2019-04-01 23:24:13 UTC (rev 50702)
+++ trunk/Build/source/texk/web2c/eptexdir/ChangeLog 2019-04-02 13:17:58 UTC (rev 50703)
@@ -1,3 +1,8 @@
+2019-04-02 Hironobu Yamashita <h.y.acetaminophen at 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 at gmail.com>
* eptex.ech: Fix \show\savinghyphcodes. (Bug introduced in
Modified: trunk/Build/source/texk/web2c/eptexdir/eptex.ech
===================================================================
--- trunk/Build/source/texk/web2c/eptexdir/eptex.ech 2019-04-01 23:24:13 UTC (rev 50702)
+++ trunk/Build/source/texk/web2c/eptexdir/eptex.ech 2019-04-02 13:17:58 UTC (rev 50703)
@@ -528,7 +528,7 @@
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
More information about the tex-live-commits
mailing list