diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-04-28 21:57:55 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-04-28 21:57:59 +0200 |
commit | 2db9e17e57e306bde452c5d97f976b47b0bf9d78 (patch) | |
tree | dcdc407fdbf635da72bc3d4e7d783deb29312b23 /src/luaotfload-configuration.lua | |
parent | 2727f911e924b77af85c60aacff82517cf70ca84 (diff) | |
download | luaotfload-2db9e17e57e306bde452c5d97f976b47b0bf9d78.tar.gz |
[tool,resolvers,conf] switch --find lookups to the actual resolvers
The arguments to “--find” on the command line avoided calling the real
index API functions and used crude approximations instead. In order to
make “--find” obey the new “anon-sequence” configuration item, it needs
to access the normal resolvers instead. This requires certain
adaptations to allow for a fallback on the “file:” lookup.
Diffstat (limited to 'src/luaotfload-configuration.lua')
-rw-r--r-- | src/luaotfload-configuration.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/luaotfload-configuration.lua b/src/luaotfload-configuration.lua index abc2657..17aee85 100644 --- a/src/luaotfload-configuration.lua +++ b/src/luaotfload-configuration.lua @@ -93,10 +93,12 @@ local valid_formats = tabletohash { } local default_anon_sequence = { - "tex", "path", "name", + "tex", "path", "name" } -local valid_resolvers = tabletohash (default_anon_sequence) +local valid_resolvers = tabletohash { + "tex", "path", "name", "file" +} local feature_presets = { arab = tabletohash { |