summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luaotfload-main.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/luaotfload-main.lua b/src/luaotfload-main.lua
index 4baa225..36cbaf6 100644
--- a/src/luaotfload-main.lua
+++ b/src/luaotfload-main.lua
@@ -626,8 +626,10 @@ 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)
+ report ("log", 0, "load", "Lookup/name: %q -> \"%s%s\"",
+ specification.name,
+ resolved,
+ subfont and stringformat ("(%d)", subfont) or "")
specification.resolved = resolved
specification.sub = subfont
specification.forced = stringlower (filesuffix (resolved) or "")