diff options
author | Philipp Gesang <megas.kapaneus@gmail.com> | 2013-04-09 23:53:03 +0200 |
---|---|---|
committer | Philipp Gesang <megas.kapaneus@gmail.com> | 2013-04-09 23:53:03 +0200 |
commit | b4e51c838713797b8a1fbaffc6f104d7fc55bf40 (patch) | |
tree | 8b2f3e99bf75075976612f3081e3c3c856ca4ef7 /luaotfload.lua | |
parent | 24b1bdad120fcb18d0aebd66a52f3b2f19677e42 (diff) | |
download | luaotfload-b4e51c838713797b8a1fbaffc6f104d7fc55bf40.tar.gz |
new font loader initialization code (thanks Hans)
Diffstat (limited to 'luaotfload.lua')
-rw-r--r-- | luaotfload.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/luaotfload.lua b/luaotfload.lua index f397633..a73847c 100644 --- a/luaotfload.lua +++ b/luaotfload.lua @@ -92,11 +92,16 @@ end --[[-- it all boils down to this: we load otfl-fonts.lua - which takes care loading the merged file. + which takes care of loading the merged file. that’s it, go thank Hans! --]]-- ---luaotfload.loadmodule("fonts.lua", "luatex") +_G.non_generic_context = { luatex_fonts = { + load_before = "otfl-fonts-merged.lua", + -- load_after = nil, --- TODO, this is meant for callbacks + skip_loading = true, +}} + luaotfload.loadmodule("fonts.lua") --- now load luatexbase (from the TEX end) |