diff options
| -rw-r--r-- | luaotfload-extralibs.lua | 1 | ||||
| -rw-r--r-- | luaotfload.dtx | 17 | 
2 files changed, 9 insertions, 9 deletions
diff --git a/luaotfload-extralibs.lua b/luaotfload-extralibs.lua index 6824e3c..2236631 100644 --- a/luaotfload-extralibs.lua +++ b/luaotfload-extralibs.lua @@ -367,7 +367,6 @@ collectgarbage"collect"  --[[example--  \input luaotfload.sty -\RequireLuaModule{letterspace-support.lua}  \def\setcharacterkerning#1{% #1 factor : float    \directlua{typesetters.kerns.set(0.618)}%  } diff --git a/luaotfload.dtx b/luaotfload.dtx index 88cc599..2fd77e3 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -1815,14 +1815,14 @@ local resolvefile = fonts.names.crude_file_lookup  --local resolvefile = fonts.names.crude_file_lookup_verbose  function request_resolvers.file(specification) -  local name    = resolvefile(specification.name) -  local suffix  = file.suffix(name) -  if formats[suffix] then -    specification.forced  = suffix -    specification.name    = file.removesuffix(name) -  else -    specification.name = name -  end +    local name    = resolvefile(specification.name) +    local suffix  = file.suffix(name) +    if formats[suffix] then +        specification.forced  = suffix +        specification.name    = file.removesuffix(name) +    else +        specification.name = name +    end  end @@ -1963,6 +1963,7 @@ elseif font_definer == "patch"  then  end  loadmodule"features.lua"    --- contains what was “font-ltx” and “font-otc” +loadmodule"extralibs.lua"   --- load additional Context libraries  loadmodule"auxiliary.lua"   --- additionaly high-level functionality (new)  -- vim:tw=71:sw=4:ts=4:expandtab  | 
