diff options
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r-- | luaotfload-database.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 475d361..7026dca 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -1107,17 +1107,18 @@ end --- string -> ('a -> 'a) -> 'a list -> 'a reload_db = function (why, caller, ...) local namedata = names.data - local formats = tableconcat (namedata.formats, ",") + local formats = tableconcat (namedata.meta.formats, ",") report ("both", 1, "db", "Reload initiated (formats: %s); reason: %q", formats, why) set_font_filter (formats) - names.data = update_names (names.data, false, false) + namedata = update_names (namedata, false, false) - if names.data then + if namedata then fonts_reloaded = true + names.data = namedata return caller (...) end |