summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-06-07 07:58:55 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-06-07 07:58:55 +0200
commit68f523b6660baaabd4fee994d5be79a3a9afda37 (patch)
treed08c5156a7a5d1074805ea59a822d4c39a2794f0 /src
parent8218c0b56e7e175a3ed931300766950491d9e719 (diff)
downloadluaotfload-68f523b6660baaabd4fee994d5be79a3a9afda37.tar.gz
[db] include values of missing fields in diagnostic
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-database.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 00d14de..da2d5d0 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -1402,8 +1402,9 @@ local get_raw_info = function (metadata, basename)
--- we put some dummies in place like the fontloader
--- (font-otf.lua) does.
logreport ("both", 3, "db",
- "invalid names table of font %s, using dummies.",
- basename)
+ "Invalid names table of font %s, using dummies. \z
+ Reported: fontname=%q, fullname=%q.",
+ basename, fontname, fullname)
fontname = "bad-fontname-" .. basename
fullname = "bad-fullname-" .. basename
end