summaryrefslogtreecommitdiff
path: root/luaotfload.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2013-04-10 12:01:43 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2013-04-10 12:01:43 +0200
commit82141b63af85b266f0304db468dc60f3d18a4793 (patch)
tree3ace23d66aa776dde692378141cee54beeb0dbb7 /luaotfload.lua
parent422263516bb273977c8dbc9a038868d6a0f8a6de (diff)
downloadluaotfload-82141b63af85b266f0304db468dc60f3d18a4793.tar.gz
make font definition callback wrapper work with current tfm object structure
Diffstat (limited to 'luaotfload.lua')
-rw-r--r--luaotfload.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/luaotfload.lua b/luaotfload.lua
index 5550c79..1bfca79 100644
--- a/luaotfload.lua
+++ b/luaotfload.lua
@@ -29,9 +29,11 @@ luaotfload.module = {
license = "CC0"
}
+luaotfload.old_font_definer = false --- toggle wrapper for font loader
+
local fl_prefix = "otfl" -- “luatex” for luatex-plain
---- these will be overloaded later by luatexbase
+--- these will be provided by luatexbase some time
local error = function(...) print("err", string.format(...)) end
local log = function(...) print("log", string.format(...)) end
@@ -98,7 +100,7 @@ luaotfload.loadmodule = loadmodule --- required in deferred code
that’s it, go thank Hans!
--]]--
---[[doc
+--[[doc--
We treat the fontloader as a black box so behavior is consistent
between formats.
The wrapper file is |otfl-fonts.lua| which we imported from
@@ -145,7 +147,6 @@ _G.non_generic_context = { luatex_fonts = {
loadmodule("fonts.lua")
---- now load luatexbase (from the TEX end)
--- then continue in luaotfload-deferred.lua
-- vim:tw=71:sw=2:ts=2:expandtab