diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-27 15:17:20 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-27 15:17:20 +0200 |
commit | 2dd656af102316c8846acd095cb8eccdc8b41e53 (patch) | |
tree | 61e825af5dab223a2fbd8bd1e673562a163e6804 | |
parent | 1ef6591eecdbb9cd047b80992dc71beb287fa3e6 (diff) | |
download | luaotfload-2dd656af102316c8846acd095cb8eccdc8b41e53.tar.gz |
install kpse lookup
-rw-r--r-- | luaotfload-features.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/luaotfload-features.lua b/luaotfload-features.lua index a68eb04..cbdc36b 100644 --- a/luaotfload-features.lua +++ b/luaotfload-features.lua @@ -1004,6 +1004,8 @@ local prefixed = P"name:" * ws * Cg(fontname, "name") --- we’ll emit a warning. + P"file:" * ws * Cg(unsupported, "path") + P"file:" * ws * Cg(fontname, "file") +--- EXPERIMENTAL: kpse lookup + + P"kpse:" * ws * Cg(fontname, "kpse") local unprefixed = Cg(fontname, "anon") local path_lookup = lbrk * Cg(C((1-rbrk)^1), "path") * rbrk @@ -1069,7 +1071,7 @@ local import_values = { { "mode", true }, } -local lookup_types = { "anon", "file", "name", "path" } +local lookup_types = { "anon", "file", "kpse", "name", "path" } local select_lookup = function (request) for i=1, #lookup_types do |