summaryrefslogtreecommitdiff
path: root/otfl-font-xtx.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-01-07 16:37:00 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-01-07 16:37:00 +0200
commitef7c4fd17acbf29c8f33f38b9aaff15961c5393b (patch)
tree1aa8fbed1b7e024144db9712dc13369ca412c3c9 /otfl-font-xtx.lua
parentcd2a0ef2b34deddfdc6b6731eefce87313461cf6 (diff)
downloadluaotfload-ef7c4fd17acbf29c8f33f38b9aaff15961c5393b.tar.gz
Negative features should be removed from the table
Looks like the internal of the code changed in the mean time that the mere existence of a feature in the features tables will enable it, so now we nullify it instead. closes #4
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r--otfl-font-xtx.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index 3899a50..56bedf9 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -69,7 +69,8 @@ local function thename(s) list.name = s end
local function issub (v) list.sub = v end
local function iscrap (s) list.crap = string.lower(s) end
local function istrue (s) list[s] = 'yes' end
-local function isfalse(s) list[s] = 'no' end
+--KH local function isfalse(s) list[s] = 'no' end
+local function isfalse(s) list[s] = nil end -- see mpg/luaotfload#4
local function iskey (k,v) list[k] = v end
local spaces = lpeg.P(" ")^0