summaryrefslogtreecommitdiff
path: root/otfl-font-xtx.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-01-20 20:41:48 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-01-20 20:41:48 +0200
commite55599fe6a6604fc80df2db150bfb92d3c364737 (patch)
tree85719b18a9f26d0b2765465b58378f8d7c176f38 /otfl-font-xtx.lua
parentd21665d802ee47747dcc4b4e16d62c042d5e2c2f (diff)
downloadluaotfload-e55599fe6a6604fc80df2db150bfb92d3c364737.tar.gz
Ignore empty options
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r--otfl-font-xtx.lua2
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