summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Robertson <wspr81@gmail.com>2010-06-05 16:22:08 +0930
committerWill Robertson <wspr81@gmail.com>2010-06-05 16:27:34 +0930
commit03963d695da89b36b64d448628541d2ef4dbd66a (patch)
tree279cb13fc645fced0e4e032089007deafbd7e46b
parentcf7388ed0f408fdeb219ff924e8b6191784f412b (diff)
downloadluaotfload-03963d695da89b36b64d448628541d2ef4dbd66a.tar.gz
improve messages slightly
-rw-r--r--otfl-font-nms.lua23
1 files changed, 11 insertions, 12 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index a401072..49c6408 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -93,11 +93,10 @@ function names.load()
foundname = systempath
end
if data then
- logs.info("load font",
- "loaded font names database: %s", foundname)
+ logs.info("Font names database loaded: " .. foundname)
else
- logs.info("load font",
- "no font names database found, generating new one")
+ logs.info([[Font names database not found, generating new one.
+ This can take several minutes; please be patient.]])
data = names.update()
names.save(data)
end
@@ -537,15 +536,15 @@ local function scan_texmf_fonts(fontnames, newfontnames)
--]]
if trace_progress then
if expandpath("$OSFONTDIR"):is_empty() then
- logs.report("scanning TEXMF fonts:")
+ logs.report("Scanning TEXMF fonts:")
else
- logs.report("scanning TEXMF and OS fonts:")
+ logs.report("Scanning TEXMF and OS fonts:")
end
elseif trace_short then
if expandpath("$OSFONTDIR"):is_empty() then
- logs.info("scanning TEXMF fonts...")
+ logs.info("Scanning TEXMF fonts...")
else
- logs.info("scanning TEXMF and OS fonts...")
+ logs.info("Scanning TEXMF and OS fonts...")
end
end
local fontdirs = expandpath("$OPENTYPEFONTS"):gsub("^\.", "")
@@ -679,12 +678,12 @@ local function scan_os_fonts(fontnames, newfontnames)
- a static set of directories for Windows and MacOSX
--]]
if trace_progress then
- logs.report("scanning OS fonts:")
+ logs.report("Scanning OS fonts:")
elseif trace_short then
- logs.info("scanning OS fonts...")
+ logs.info("Scanning OS fonts...")
end
if trace_search then
- logs.info("searching in static system directories...")
+ logs.info("Searching in static system directories...")
end
count = 0
local os_dirs = get_os_dirs()
@@ -712,7 +711,7 @@ local function update_names(fontnames, force)
or fontnames.version ~= names.version then
fontnames = fontnames_init()
if trace_search then
- logs.report("no font names database or old one found, "
+ logs.report("No font names database or old one found; "
.."generating new one")
end
end