[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix instance bug (22c2dc9)

Marcel Fabian Krüger tex at 2krueger.de
Sat Aug 29 14:11:41 CEST 2020


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/22c2dc935e3d4cacb74c8fa41b0ba4972381f416

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

commit 22c2dc935e3d4cacb74c8fa41b0ba4972381f416
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Aug 29 14:06:47 2020 +0200

    Fix instance bug


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

22c2dc935e3d4cacb74c8fa41b0ba4972381f416
 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 2063ad0..a6b2689 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -494,7 +494,7 @@ do
         if values then
             for i=1, #axis do
                 local cur = axis[i]
-                factors[i] = getaxisscale(segments, cur.minimum, cur.default, cur.maximum, values[i])
+                factors[i] = getaxisscale(segments, cur.minimum, cur.default, cur.maximum, values[i].value)
             end
             return factors
         end





More information about the latex3-commits mailing list.