summaryrefslogtreecommitdiff
path: root/src/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-05-15 08:12:24 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-05-15 08:12:24 +0200
commit34ee3fabd8fe483e7773b127d9d7fca96379f07d (patch)
treece89c70c05b1b501f517ced2a0aa0da03e9c1bf1 /src/luaotfload-database.lua
parent996f42e8bf5413665adaff02f188fbf8a0be7a2d (diff)
downloadluaotfload-34ee3fabd8fe483e7773b127d9d7fca96379f07d.tar.gz
[db] always log index and lookup cache locations
Diffstat (limited to 'src/luaotfload-database.lua')
-rw-r--r--src/luaotfload-database.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 5d89aab..c4075dc 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -482,8 +482,8 @@ load_names = function (dry_run)
local foundname, data = load_lua_file (config.luaotfload.paths.index_path_lua)
if data then
- report ("both", 2, "db",
- "Font names database loaded", "%s", foundname)
+ report ("log", 0, "db",
+ "Font names database loaded from %s", foundname)
report ("info", 3, "db", "Loading took %0.f ms.",
1000 * (osgettimeofday () - starttime))
@@ -528,7 +528,8 @@ end
load_lookups = function ( )
local foundname, data = load_lua_file(config.luaotfload.paths.lookup_path_lua)
if data then
- report("both", 3, "cache",
+ report("log", 0, "cache", "Lookup cache loaded from %s.", foundname)
+ report("term", 3, "cache",
"Lookup cache loaded from %s.", foundname)
else
report("both", 1, "cache",
@@ -3438,7 +3439,6 @@ end
--- export functionality to the namespace “fonts.names”
-----------------------------------------------------------------------
-names.initialize_env = initialize_env
names.set_font_filter = set_font_filter
names.flush_lookup_cache = flush_lookup_cache
names.save_lookups = save_lookups