summaryrefslogtreecommitdiff
path: root/src/fontloader/luaotfload-package.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-03-29 12:39:22 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2015-03-29 12:39:22 +0200
commitc88c9dc41e542177cd410048c71ad6c746d8c188 (patch)
treef7c31e1ca1a6ef84755c9b7a9f1e58baa94a4601 /src/fontloader/luaotfload-package.lua
parent32ec0ccd93e39e3dbd01b0473dcf060101790c0e (diff)
downloadluaotfload-c88c9dc41e542177cd410048c71ad6c746d8c188.tar.gz
[fontloader] unpackage functionality provided by the Lualibs
Diffstat (limited to 'src/fontloader/luaotfload-package.lua')
-rw-r--r--src/fontloader/luaotfload-package.lua26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/fontloader/luaotfload-package.lua b/src/fontloader/luaotfload-package.lua
index 2ecef07..b60ae17 100644
--- a/src/fontloader/luaotfload-package.lua
+++ b/src/fontloader/luaotfload-package.lua
@@ -52,16 +52,22 @@
--- around in the Luaotfload fontloader is therefore unnecessary.
--- Packaging needs to account for this difference.
-loadmodule("l-lua.lua")
-loadmodule("l-lpeg.lua")
-loadmodule("l-function.lua")
-loadmodule("l-string.lua")
-loadmodule("l-table.lua")
-loadmodule("l-io.lua")
-loadmodule("l-file.lua")
-loadmodule("l-boolean.lua")
-loadmodule("l-math.lua")
-loadmodule("util-str.lua")
+loadmodule "l-lua.lua"
+loadmodule "l-lpeg.lua"
+loadmodule "l-function.lua"
+loadmodule "l-string.lua"
+loadmodule "l-table.lua"
+loadmodule "l-io.lua"
+loadmodule "l-file.lua"
+loadmodule "l-boolean.lua"
+loadmodule "l-math.lua"
+loadmodule "util-str.lua"
+
+--- The files below constitute the “fontloader proper”. Some of the
+--- functionality like file resolvers is overloaded later by
+--- Luaotfload. Consequently, the resulting package is pretty
+--- bare-bones and not usable independently.
+
loadmodule("luatex-basics-gen.lua")
loadmodule("data-con.lua")
loadmodule("luatex-basics-nod.lua")