[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix bug with non-math fonts in math script (d75c598)
Marcel Fabian Krüger
tex at 2krueger.de
Mon Oct 26 09:22:14 CET 2020
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/d75c598e7104fb42e9f11a6a5194371e240197d1
>---------------------------------------------------------------
commit d75c598e7104fb42e9f11a6a5194371e240197d1
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Mon Oct 26 09:22:14 2020 +0100
Fix bug with non-math fonts in math script
>---------------------------------------------------------------
d75c598e7104fb42e9f11a6a5194371e240197d1
src/luaotfload-features.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index 0ab91a2..1c3a03c 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -664,7 +664,7 @@ end
do
local function mathfontdimen(tfmdata, _, value)
- if not next(tfmdata.mathparameters) then return end
+ if not (tfmdata.mathparameters and next(tfmdata.mathparameters)) then return end
local parameters = tfmdata.parameters
local mathparameters = tfmdata.mathparameters
if value == 'xetex' then
More information about the latex3-commits
mailing list.