From c367ed1f8e4d708c822b3c293cf6e243e524820e Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 19 Jan 2010 14:11:11 +0200 Subject: Capture GR font option as well This selects XeTeX's graphite renderer. Also issue a log message for unsupported options. --- otfl-font-xtx.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3