summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/font
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-08-13 08:14:27 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-08-13 08:14:27 +0000
commit9a47106d115b425b8ca87c84948a85b10ca4789c (patch)
tree365e6ba764c7464af6eca8f718db4eb883136f64 /Build/source/texk/web2c/luatexdir/font
parentcafe7e3f4c0ada7f125b1e2bc04bf67d838ea8b0 (diff)
luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@41846 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/font')
-rw-r--r--Build/source/texk/web2c/luatexdir/font/luafont.w2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/font/luafont.w b/Build/source/texk/web2c/luatexdir/font/luafont.w
index f3a8e52792c..0b30b4df41a 100644
--- a/Build/source/texk/web2c/luatexdir/font/luafont.w
+++ b/Build/source/texk/web2c/luatexdir/font/luafont.w
@@ -964,7 +964,7 @@ static void read_lua_math_parameters(lua_State * L, int f)
} else if (t == LUA_TSTRING) {
i = ff_checkoption(L, -2, NULL, MATH_param_names);
}
- n = (int) lua_tointeger(L, -1);
+ n = (int) lua_roundnumber(L, -1);
if (i > 0) {
set_font_math_param(f, i, n);
}