diff options
Diffstat (limited to 'luaotfload-letterspace.lua')
-rw-r--r-- | luaotfload-letterspace.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/luaotfload-letterspace.lua b/luaotfload-letterspace.lua index a855bf3..20f29f5 100644 --- a/luaotfload-letterspace.lua +++ b/luaotfload-letterspace.lua @@ -7,7 +7,7 @@ if not modules then modules = { } end modules ['letterspace'] = { } local log = luaotfload.log -local report = log.names_report +local report = log.report local getmetatable = getmetatable local require = require @@ -515,10 +515,10 @@ otffeatures.register { local initializecompatfontkerning = function (tfmdata, percentage) local factor = tonumber (percentage) if not factor then - names_report ("both", 0, "letterspace", - "Invalid argument to letterspace: %s (type %q), " .. - "was expecting percentage as Lua number instead.", - percentage, type (percentage)) + report ("both", 0, "letterspace", + "Invalid argument to letterspace: %s (type %q), " .. + "was expecting percentage as Lua number instead.", + percentage, type (percentage)) return end return initializefontkerning (tfmdata, factor * 0.01) |