[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix provides_feature for HB fonts (9b30230)

Marcel Fabian Krüger tex at 2krueger.de
Fri Jan 10 16:39:29 CET 2020


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/9b30230572ade9c964ffaaa5fd75800fea1d647d

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

commit 9b30230572ade9c964ffaaa5fd75800fea1d647d
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Fri Jan 10 16:39:29 2020 +0100

    Fix provides_feature for HB fonts


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

9b30230572ade9c964ffaaa5fd75800fea1d647d
 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 5ade1f2..f13a5d3 100644
--- a/src/luaotfload-auxiliary.lua
+++ b/src/luaotfload-auxiliary.lua
@@ -638,7 +638,7 @@ function aux.provides_feature(font_id,        asked_script,
                                                         or asked_script)
     local language = harf.Tag.new(asked_language == "DFLT" and "dflt"
                                                             or asked_language)
-    local feature = harf.Tag.new(feature)
+    local feature = harf.Tag.new(asked_feature)
 
     for _, tag in next, { GSUBtag, GPOStag } do
       local _, script_idx = hbface:ot_layout_find_script(tag, script)





More information about the latex3-commits mailing list