summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-17 12:39:55 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-17 12:39:55 +0200
commita7393f50fcc4f9bb8b46cfb3b270e71b07dbb5ba (patch)
tree17d163e63e40574df412a5c0f5d5bcca971e5119 /luaotfload.dtx
parentd895b582ac05d251668adedc6542d2dbb8cecfd2 (diff)
downloadluaotfload-a7393f50fcc4f9bb8b46cfb3b270e71b07dbb5ba.tar.gz
load extralibs in main file
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx17
1 files changed, 9 insertions, 8 deletions
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