diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-12 14:44:23 -0700 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-12 14:44:23 -0700 |
commit | 0fb890f10cfec18d104e8660c4f07fe3dc2cae0e (patch) | |
tree | 40f0f672df9f70425c08e36e8f45aa46009b2846 /luaotfload-database.lua | |
parent | 4afed213016f10544c3fd2d3c7abcaee38341cb0 (diff) | |
parent | 390464dc65a3be849cf9588497fff25678cf38e3 (diff) | |
download | luaotfload-0fb890f10cfec18d104e8660c4f07fe3dc2cae0e.tar.gz |
Merge pull request #68 from phi-gamma/master
sync; fix ``mkmk``+``mark`` bug; migrate ``names.scan()``
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r-- | luaotfload-database.lua | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 60a7977..f4c6fdc 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -249,7 +249,6 @@ local resolve local resolve_cached local save_names local save_lookups -local scan_external_dir local update_names --- state of the database @@ -1652,31 +1651,15 @@ local show_cache = function ( ) return true end ---- is this used anywhere? we decided to comment it for the ---- time being. ---- https://github.com/lualatex/luaotfload/pull/61 ---scan_external_dir = function (dir) --- local old_names, new_names --- if fonts_loaded then --- old_names = names.data --- else --- old_names = load_names() --- end --- new_names = tablecopy(old_names) --- local n_scanned, n_new = scan_dir(dir, old_names, new_names) --- names.data = new_names --- return n_scanned, n_new ---end - ----------------------------------------------------------------------- --- export functionality to the namespace “fonts.names” ----------------------------------------------------------------------- +names.scan_dir = scan_dir names.flush_lookup_cache = flush_lookup_cache names.save_lookups = save_lookups names.load = load_names names.save = save_names ------.scan = scan_external_dir names.update = update_names names.crude_file_lookup = crude_file_lookup names.crude_file_lookup_verbose = crude_file_lookup_verbose |