[latex3-commits] [git/LaTeX3-latex3-luaotfload] harfnode-dev: Fix typo in slot_of_name (584264f)

Marcel Fabian Krüger tex at 2krueger.de
Wed Oct 23 18:26:27 CEST 2019


Repository : https://github.com/latex3/luaotfload
On branch  : harfnode-dev
Link       : https://github.com/latex3/luaotfload/commit/584264ffc39605238f8821e824fd82d7f7a07b42

>---------------------------------------------------------------

commit 584264ffc39605238f8821e824fd82d7f7a07b42
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Wed Oct 23 18:26:27 2019 +0200

    Fix typo in slot_of_name


>---------------------------------------------------------------

584264ffc39605238f8821e824fd82d7f7a07b42
 src/luaotfload-auxiliary.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/luaotfload-auxiliary.lua b/src/luaotfload-auxiliary.lua
index 19cf1f4..98cea35 100644
--- a/src/luaotfload-auxiliary.lua
+++ b/src/luaotfload-auxiliary.lua
@@ -356,7 +356,7 @@ function aux.slot_of_name(font_id, glyphname, unsafe)
 
   local tfmdata = identifiers [font_id]
   if not tfmdata then return raw_slot_of_name (font_id, glyphname) end
-  local hbdata = fontdata.hb
+  local hbdata = tfmdata.hb
   if hbdata then
     local hbshared = hbdata.shared
     local nominals = hbshared.nominals





More information about the latex3-commits mailing list