summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2017-07-17 03:52:33 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2017-07-17 03:52:33 +0000
commitb110c1f9279504b9940bf4351f5cae762bc745d9 (patch)
tree5cfb218ea49aae961269d2a285f18bf47b6debb5 /Build/source
parent09d01453981306cb1f7b26cec3d66c19f7d71b2a (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')
-rw-r--r--Build/source/texk/makejvf/tfmread.c2
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;