diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2018-01-27 02:24:19 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2018-01-27 02:24:19 +0000 |
commit | a07b277269a04c16804acbc8a6f29b5c9ea98cdf (patch) | |
tree | e3acb58b8af3cb5eab9bb2557f2f3d6a67ff66a3 /Build/source/texk/makejvf/tfmread.c | |
parent | 5818288af5e420fda055a4d53fb22333a66cd7ad (diff) |
makejvf: support new JFM spec
git-svn-id: svn://tug.org/texlive/trunk@46453 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makejvf/tfmread.c')
-rw-r--r-- | Build/source/texk/makejvf/tfmread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/makejvf/tfmread.c b/Build/source/texk/makejvf/tfmread.c index c9acfdebd68..5459b2c8aca 100644 --- a/Build/source/texk/makejvf/tfmread.c +++ b/Build/source/texk/makejvf/tfmread.c @@ -14,8 +14,9 @@ int jfmread(int kcode) int i,ctype=0,w_ind,w,ll=0,rr=0,tag,gk_ind,gk2_ind; for (i = 0 ; i < nt ; i++) { - if (upair(&char_type[i*4]) == kcode) { - ctype = upair(&char_type[i*4+2]); + /* support new JFM spec by texjporg */ + if (upair(&char_type[i*4])+char_type[i*4+2]*65536 == kcode) { + ctype = char_type[i*4+3]; break; } } |