diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-01-19 14:11:11 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-01-19 14:15:41 +0200 |
commit | c367ed1f8e4d708c822b3c293cf6e243e524820e (patch) | |
tree | 083931bda80ad553a829f4c72a542e8e0c37a0b2 | |
parent | 762cbf30d44d19b780275eeb54dc15fd2d1f7fee (diff) | |
download | luaotfload-c367ed1f8e4d708c822b3c293cf6e243e524820e.tar.gz |
Capture GR font option as well
This selects XeTeX's graphite renderer. Also issue a log message for
unsupported options.
-rw-r--r-- | otfl-font-xtx.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua index 502163c..ddc3d66 100644 --- a/otfl-font-xtx.lua +++ b/otfl-font-xtx.lua @@ -73,7 +73,8 @@ local function isstyle(s) list.style = "bolditalic" elseif v:find("^s=") then list.optsize = v:split("=")[2] - elseif v == "aat" or v == "icu" then + elseif v == "aat" or v == "icu" or v == "gr" then + logs.report("define font", "unsupported font option: %s", v) else list.style = v:gsub("[^%a%d]", "") end |