summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-03-14 18:25:27 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-03-14 18:25:27 +0100
commit478c9cd68681cd182b1278f784c6768d48d207b4 (patch)
treeb49851e381609669020f5745c5772033a8bb852b /src
parenta757b962eed6042eb9dc867e141c0ad704e406b2 (diff)
downloadluaotfload-478c9cd68681cd182b1278f784c6768d48d207b4.tar.gz
[doc] actually patch node mode correctly (Thanks, Hans\!)
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-fontloader.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/luaotfload-fontloader.lua b/src/luaotfload-fontloader.lua
index 2b87b3f..d1b12bb 100644
--- a/src/luaotfload-fontloader.lua
+++ b/src/luaotfload-fontloader.lua
@@ -11482,9 +11482,10 @@ end)
local autofeatures=fonts.analyzers.features
local function initialize(sequence,script,language,enabled)
local features=sequence.features
- if features then
- for i=1,#features do
- local kind=features[i]
+ local order=features.order
+ if order then
+ for i=1,#order do
+ local kind=order[i]
local valid=enabled[kind]
if valid then
local scripts=features[kind]