summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-30 02:33:21 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-30 02:33:21 +0200
commit54c49bfbc560fccaaf0330221e7af6d9153122cb (patch)
tree7b1d32a3d34e40bf80f38cd6d0cf44ae6695ef5f /luaotfload-tool.lua
parent49ed6facc71c3db519d5baa3723090e086d832aa (diff)
downloadluaotfload-54c49bfbc560fccaaf0330221e7af6d9153122cb.tar.gz
collect second-tier candidates when matching fontnames
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index a379633..25cc9fa 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -354,24 +354,24 @@ actions.query = function (job)
fonts.names.resolve(nil, nil, tmpspec)
if success then
- logs.names_report(false, 1,
+ logs.names_report(false, 0,
"resolve", "Font “%s” found!", query)
if subfont then
- logs.names_report(false, 1, "resolve",
+ logs.names_report(false, 0, "resolve",
"Resolved file name “%s”, subfont nr. “%s”",
foundname, subfont)
else
- logs.names_report(false, 1,
+ logs.names_report(false, 0,
"resolve", "Resolved file name “%s”", foundname)
end
if job.show_info then
show_font_info(foundname)
end
else
- logs.names_report(false, 1,
+ logs.names_report(false, 0,
"resolve", "Cannot find “%s”.", query)
if job.fuzzy == true then
- logs.names_report(false, 1,
+ logs.names_report(false, 0,
"resolve", "Looking for close matches, this may take a while ...")
local success = fonts.names.find_closest(query, job.fuzzy_limit)
end