From ef7c4fd17acbf29c8f33f38b9aaff15961c5393b Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 7 Jan 2010 16:37:00 +0200 Subject: 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 --- otfl-font-xtx.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'otfl-font-xtx.lua') 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 -- cgit v1.2.3