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:52:25 +0200 |
commit | 7a480de4b77e6238fb1c937f772e6cd2a3be5655 (patch) | |
tree | 69ceeab2c7e378a8bb983e8956ef19e3e75a8ad9 | |
parent | 3ff9bddf3c03e594da2f03dab03c0a93813fba29 (diff) | |
download | luaotfload-7a480de4b77e6238fb1c937f772e6cd2a3be5655.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
-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 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 |