[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Improved handling of instance names for variable fonts in node mode (36b7545)

Marcel Fabian Krüger tex at 2krueger.de
Wed Jul 13 20:25:00 CEST 2022


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/36b7545e7005e7030a4b3d8bdd85ae76cd93ce04

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

commit 36b7545e7005e7030a4b3d8bdd85ae76cd93ce04
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Wed Jul 13 20:25:00 2022 +0200

    Improved handling of instance names for variable fonts in node mode


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

36b7545e7005e7030a4b3d8bdd85ae76cd93ce04
 src/luaotfload-features.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index c1f42f0..0860551 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -484,6 +484,7 @@ do
     local getaxisscale = helpers.getaxisscale
     local function search(table, term, key_field, value_field)
         if not table then return end
+        term = cleanname(term)
         for i=1, #table do
             local entry = table[i]
             if cleanname(entry[key_field]) == term then





More information about the latex3-commits mailing list.