summaryrefslogtreecommitdiff
path: root/src/luaotfload-main.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-05-18 20:57:45 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-05-18 20:57:45 +0200
commitaca3f50f6806f838b6acbaa2f7012fc6b12d5080 (patch)
tree65a1f5853a5d6c69f0bf586e9e16c9803bba3c62 /src/luaotfload-main.lua
parent773ad91399a0e4c8c1c9525f2454ee7c8e99b03e (diff)
downloadluaotfload-aca3f50f6806f838b6acbaa2f7012fc6b12d5080.tar.gz
[main] log name: requests independent of fontloader
Diffstat (limited to 'src/luaotfload-main.lua')
-rw-r--r--src/luaotfload-main.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/luaotfload-main.lua b/src/luaotfload-main.lua
index d8dc1d1..dba1f52 100644
--- a/src/luaotfload-main.lua
+++ b/src/luaotfload-main.lua
@@ -565,7 +565,7 @@ request_resolvers.path = function (specification)
local name = specification.name
local exists, _ = lfsisfile(name)
if not exists then -- resort to file: lookup
- report ("log", 1, "load",
+ report ("log", 0, "load",
"path lookup of %q unsuccessful, falling back to file:",
name)
file_resolver (specification)
@@ -625,6 +625,8 @@ request_resolvers.name = function (specification)
end
local resolved, subfont = resolver (specification)
if resolved then
+ report ("log", 0, "load", "Lookup/name: %q -> \"%s(%d)\"",
+ specification.name, resolved, subfont)
specification.resolved = resolved
specification.sub = subfont
specification.forced = filesuffix (resolved)