From a757b962eed6042eb9dc867e141c0ad704e406b2 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Fri, 14 Mar 2014 08:26:48 +0100 Subject: [fontloader] fix node mode See http://www.ntg.nl/pipermail/ntg-context/2014/077372.html --- src/luaotfload-fontloader.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/luaotfload-fontloader.lua b/src/luaotfload-fontloader.lua index 90d46df..2b87b3f 100644 --- a/src/luaotfload-fontloader.lua +++ b/src/luaotfload-fontloader.lua @@ -11483,8 +11483,8 @@ local autofeatures=fonts.analyzers.features local function initialize(sequence,script,language,enabled) local features=sequence.features if features then - for i=1,#order do - local kind=order[i] + for i=1,#features do + local kind=features[i] local valid=enabled[kind] if valid then local scripts=features[kind] -- cgit v1.2.3