summaryrefslogtreecommitdiff
path: root/luaotfload-features.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-29 14:52:53 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-29 14:52:53 +0200
commite79f34d859d48be485589f19fc6905afa5872a53 (patch)
tree1ac9aacf0256dd3bc89785a669a5f5d32d912670 /luaotfload-features.lua
parent19164c39c9f98d9e51a13d5d698f575879f3dfee (diff)
downloadluaotfload-e79f34d859d48be485589f19fc6905afa5872a53.tar.gz
only cache ``name:`` lookups
Diffstat (limited to 'luaotfload-features.lua')
-rw-r--r--luaotfload-features.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/luaotfload-features.lua b/luaotfload-features.lua
index b11bf22..6cbfdf4 100644
--- a/luaotfload-features.lua
+++ b/luaotfload-features.lua
@@ -416,7 +416,8 @@ local font_request = Ct(path_lookup * (colon^-1 * features)^-1
local import_values = {
--- That’s what the 1.x parser did, not quite as graciously,
--- with an array of branch expressions.
- "style", "optsize", "lookup", "sub" --[[‽]], "mode",
+ -- "style", "optsize",--> from slashed notation; handled otherwise
+ "lookup", "sub" --[[‽]], "mode",
}
local lookup_types = { "anon", "file", "name", "path" }