From 7a480de4b77e6238fb1c937f772e6cd2a3be5655 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 4c45d21..484decf 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -453,6 +453,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