[latex3-commits] [git/LaTeX3-latex3-luaotfload] variable-cff2: Improve compatibility with older engines (1742999)
Marcel Fabian Krüger
tex at 2krueger.de
Thu Aug 5 03:39:26 CEST 2021
Repository : https://github.com/latex3/luaotfload
On branch : variable-cff2
Link : https://github.com/latex3/luaotfload/commit/174299990380f35465f02599f074c269afef9345
>---------------------------------------------------------------
commit 174299990380f35465f02599f074c269afef9345
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Thu Aug 5 03:39:26 2021 +0200
Improve compatibility with older engines
>---------------------------------------------------------------
174299990380f35465f02599f074c269afef9345
src/luaotfload-harf-define.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/luaotfload-harf-define.lua b/src/luaotfload-harf-define.lua
index eceab41..7494e37 100644
--- a/src/luaotfload-harf-define.lua
+++ b/src/luaotfload-harf-define.lua
@@ -101,7 +101,7 @@ local function loadfont(spec)
local normalized
local varkey
- if hbface:ot_var_has_data() then
+ if hbface.ot_var_has_data and hbface:ot_var_has_data() then
if hbface:get_table(cff2tag):get_length() == 0 then
error'Only CFF2 based Variable fonts are currently supported in harf mode'
end
More information about the latex3-commits
mailing list.