diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-06-25 10:50:13 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-06-25 10:50:13 +0200 |
commit | ffdbaf60da4815f80f6254a35ec22b7da55fc44c (patch) | |
tree | 5742502491a1eceed6098a208524739b4a2be499 /luaotfload-database.lua | |
parent | 80ea10e6238b2da996f1f0247257e16373ce5972 (diff) | |
download | luaotfload-ffdbaf60da4815f80f6254a35ec22b7da55fc44c.tar.gz |
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
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r-- | luaotfload-database.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |