From 1e3820ff158bb9d23e9d75116fecd28a64656d2c Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 7 Oct 2011 02:27:05 +0200 Subject: Sync with ConTeXt beta 2011.10.07 00:40 --- otfl-font-otn.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'otfl-font-otn.lua') diff --git a/otfl-font-otn.lua b/otfl-font-otn.lua index a972d50..ebdeb75 100644 --- a/otfl-font-otn.lua +++ b/otfl-font-otn.lua @@ -1984,11 +1984,11 @@ local function featuresprocessor(head,font,attr) local datasets = otf.dataset(tfmdata,sequences,font,attr) for s=1,#sequences do - local pardir, txtdir, success = 0, { }, false -- we could reuse txtdir and use a top pointer - local sequence = sequences[s] - local dataset = datasets[s] -- cache + local dataset = datasets[s] -- cache -- s? featurevalue = dataset and dataset[1] -- todo: pass to function instead of using a global if featurevalue then + local sequence = sequences[s] + local pardir, txtdir, success = 0, { }, false -- we could reuse txtdir and use a top pointer local attribute, chain, typ, subtables = dataset[2], dataset[3], sequence.type, sequence.subtables if chain < 0 then -- this is a limited case, no special treatments like 'init' etc -- cgit v1.2.3