From ab2be7b7e82ea1b0103b70b327137a939df6b8fa Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 10 Aug 2014 14:36:13 +0200 Subject: [conf, main] add support for and preliminary implementation of verbose font definers The definers ``info_patch`` and ``info_generic`` wrap the two existing font definers in a function that emits verbose information about the definitions taking place. --- src/luaotfload-configuration.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/luaotfload-configuration.lua') diff --git a/src/luaotfload-configuration.lua b/src/luaotfload-configuration.lua index ec38d90..a375c37 100644 --- a/src/luaotfload-configuration.lua +++ b/src/luaotfload-configuration.lua @@ -432,7 +432,14 @@ local option_spec = { definer = { in_t = string_t, out_t = string_t, - transform = function (d) return d == "generic" and d or "patch" end, + transform = function (d) + if d == "generic" or d == "patch" + or d == "info_generic" or d == "info_patch" + then + return d + end + return "patch" + end, }, log_level = { in_t = number_t, -- cgit v1.2.3