summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2017-02-10 23:41:52 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2017-02-10 23:41:52 +0100
commitf4a719d2a4d302e4cb6014a518b2ceb0729b172f (patch)
tree2d2f57b0792bb90a24d6a1a78a310e8154d1ad53
parent7672c73027c722849e9beeaab1f3e95351fd6b25 (diff)
downloadluaotfload-f4a719d2a4d302e4cb6014a518b2ceb0729b172f.tar.gz
[loaders] include file and subfont in diagnostics
-rw-r--r--src/luaotfload-loaders.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/luaotfload-loaders.lua b/src/luaotfload-loaders.lua
index 87275ef..802776c 100644
--- a/src/luaotfload-loaders.lua
+++ b/src/luaotfload-loaders.lua
@@ -151,6 +151,11 @@ do
logreport ("both", 0, "loaders", " > fontname %q", result.fontname or "<nil>")
logreport ("both", 0, "loaders", " > fullname %q", result.fullname or "<nil>")
logreport ("both", 0, "loaders", " > type %s", result.type or "<nil>")
+ local spec = result.specification
+ if spec then
+ logreport ("both", 0, "loaders", " > file %q", spec.filename or "<nil>")
+ logreport ("both", 0, "loaders", " > subfont %s", spec.sub or "<nil>")
+ end
return result
end
end