From b110c1f9279504b9940bf4351f5cae762bc745d9 Mon Sep 17 00:00:00 2001 From: Hironobu Yamashita Date: Mon, 17 Jul 2017 03:52:33 +0000 Subject: makejvf/tfmread.c: allow round-off error git-svn-id: svn://tug.org/texlive/trunk@44829 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/makejvf/tfmread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Build') 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; -- cgit v1.2.3