texlive[44829] Build/source/texk/makejvf/tfmread.c:

commits+hironobu at tug.org commits+hironobu at tug.org
Mon Jul 17 05:52:33 CEST 2017


Revision: 44829
          http://tug.org/svn/texlive?view=revision&revision=44829
Author:   hironobu
Date:     2017-07-17 05:52:33 +0200 (Mon, 17 Jul 2017)
Log Message:
-----------
makejvf/tfmread.c: allow round-off error

Modified Paths:
--------------
    trunk/Build/source/texk/makejvf/tfmread.c

Modified: trunk/Build/source/texk/makejvf/tfmread.c
===================================================================
--- trunk/Build/source/texk/makejvf/tfmread.c	2017-07-17 03:15:09 UTC (rev 44828)
+++ trunk/Build/source/texk/makejvf/tfmread.c	2017-07-17 03:52:33 UTC (rev 44829)
@@ -68,7 +68,7 @@
 					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;



More information about the tex-live-commits mailing list