From c78099b647975a640ccdc46a766f974224ef0833 Mon Sep 17 00:00:00 2001 From: Will Robertson Date: Tue, 25 May 2010 14:31:52 +0930 Subject: Suppress some warnings when not in verbose mode --- otfl-font-nms.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index d8360d3..e75b6c9 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -358,7 +358,7 @@ local function font_fullinfo(filename, subfont, texmf) local t = { } local f = fontloader.open(filename, subfont) if not f then - if trace_progress then + if trace_loading then logs.report("error: failed to open %s", filename) end return nil @@ -561,7 +561,7 @@ if os.name == "macosx" then function remove_ignore_fonts(fonts) for N,fnt in ipairs(fonts) do if table.contains(ignore_fonts,fnt) then - if trace_progress then + if trace_search then logs.report("ignoring font '%s'", fnt) end table.remove(fonts,N) -- cgit v1.2.3