diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-04-10 12:26:13 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-04-10 12:26:13 +0200 |
commit | 783e94f44ea39df0ae877b289b999e8f13aaf3da (patch) | |
tree | 76f49ba39c2c5799b517340eeec332e03aeec5d0 /src | |
parent | a4781c4786b39ea4e54c2944a575e88c3f1e591d (diff) | |
download | luaotfload-783e94f44ea39df0ae877b289b999e8f13aaf3da.tar.gz |
[db] in ff mode, collect font object after access
Diffstat (limited to 'src')
-rw-r--r-- | src/luaotfload-database.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua index 7d0c86b..6c02344 100644 --- a/src/luaotfload-database.lua +++ b/src/luaotfload-database.lua @@ -1266,7 +1266,6 @@ local get_english_names = function (metadata) local english_names if names then - --inspect(names) for _, raw_namedata in next, names do if raw_namedata.lang == "English (US)" then return raw_namedata.names @@ -1458,8 +1457,6 @@ ot_fullinfo = function (filename, return nil end - close_font_file (metadata) --> FF only - local rawinfo = get_raw_info (metadata, basename) local english_names = get_english_names (rawinfo) local namedata = organize_namedata (rawinfo, @@ -1481,6 +1478,7 @@ ot_fullinfo = function (filename, style = style, version = rawinfo.version, } + close_font_file (metadata) --> FF only return res end |