diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-01-20 20:41:48 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-01-20 20:41:48 +0200 |
commit | e55599fe6a6604fc80df2db150bfb92d3c364737 (patch) | |
tree | 85719b18a9f26d0b2765465b58378f8d7c176f38 | |
parent | d21665d802ee47747dcc4b4e16d62c042d5e2c2f (diff) | |
download | luaotfload-e55599fe6a6604fc80df2db150bfb92d3c364737.tar.gz |
Ignore empty options
-rw-r--r-- | otfl-font-xtx.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua index 128219e..2fb9b7f 100644 --- a/otfl-font-xtx.lua +++ b/otfl-font-xtx.lua @@ -75,7 +75,7 @@ local function isstyle(s) list.optsize = v:split("=")[2] elseif v == "aat" or v == "icu" or v == "gr" then logs.report("define font", "unsupported font option: %s", v) - else + elseif not v:is_empty() then list.style = v:gsub("[^%a%d]", "") end end |