summaryrefslogtreecommitdiff
path: root/luaotfload-letterspace.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-02-09 16:54:13 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-02-09 16:54:13 +0100
commit2c6feb979da6435bb9f6636a46be576f688f7f78 (patch)
tree9a54c17e9a1730aeb65453f27f010c4f8d57171f /luaotfload-letterspace.lua
parente069690a7f747f7b17baed6974168192857eb485 (diff)
downloadluaotfload-2c6feb979da6435bb9f6636a46be576f688f7f78.tar.gz
[log,*] s/log.names_report()/logs.report()/g
Closing #169 Signed-off-by: Philipp Gesang <phg42.2a@gmail.com>
Diffstat (limited to 'luaotfload-letterspace.lua')
-rw-r--r--luaotfload-letterspace.lua10
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)