From ffdbaf60da4815f80f6254a35ec22b7da55fc44c Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 25 Jun 2013 10:50:13 +0200 Subject: fix font file verification (thanks, Kim!) the cached lookup did not load the database when verifying the presence of hashed files. addresses: https://github.com/lualatex/luaotfload/issues/100 --- luaotfload-database.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 4554711..12bceb5 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -493,6 +493,7 @@ the texmf or filesystem. --doc]]-- local verify_font_file = function (basename) + if not names.data then names.data = load_names() end local filenames = names.data.filenames local idx = filenames.base[basename] if not idx then -- cgit v1.2.3