diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2017-07-17 03:52:33 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2017-07-17 03:52:33 +0000 |
commit | b110c1f9279504b9940bf4351f5cae762bc745d9 (patch) | |
tree | 5cfb218ea49aae961269d2a285f18bf47b6debb5 /Build/source/texk/makejvf | |
parent | 09d01453981306cb1f7b26cec3d66c19f7d71b2a (diff) |
makejvf/tfmread.c: allow round-off error
git-svn-id: svn://tug.org/texlive/trunk@44829 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makejvf')
-rw-r--r-- | Build/source/texk/makejvf/tfmread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/makejvf/tfmread.c b/Build/source/texk/makejvf/tfmread.c index 64c72cfb3a6..36bbac46dda 100644 --- a/Build/source/texk/makejvf/tfmread.c +++ b/Build/source/texk/makejvf/tfmread.c @@ -68,7 +68,7 @@ int jfmread(int kcode) break; } } - if (ll + w + rr == zw) + if (abs(zw - ll - w - rr) <= 1) /* allow round-off error */ /* character width is truncated, and metric glue/kern is inserted as a substitute to fill zenkaku */ rightamount = ll; |