From e7b0a9520127d4b143ceaa1240bd199219f341e8 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Wed, 18 May 2016 07:51:00 +0200 Subject: [featurs,loaders] adjust loader specifications to Context conventions --- src/luaotfload-features.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/luaotfload-features.lua') diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua index d6531d3..ae4ac77 100644 --- a/src/luaotfload-features.lua +++ b/src/luaotfload-features.lua @@ -1122,7 +1122,6 @@ local import_values = { -- "style", "optsize",--> from slashed notation; handled otherwise { "lookup", false }, { "sub", false }, - { "mode", true }, } local lookup_types = { "anon" , "file", "kpse" @@ -1222,8 +1221,10 @@ local handle_request = function (specification) if name then if lookup == "file" then - specification.filename = name - name = file.removesuffix (name) + local suffix = file.suffix (name) + specification.forcedname = name + specification.forced = suffix + name = file.removesuffix (name) end specification.name = name specification.lookup = lookup or specification.lookup -- cgit v1.2.3