summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua44
1 files changed, 2 insertions, 42 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua
index e578e7b1845..bd0242aac5c 100644
--- a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua
+++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua
@@ -7,8 +7,8 @@
local ProvidesLuaModule = {
name = "luaotfload-init",
- version = "2.98", --TAGVERSION
- date = "2019-07-04", --TAGDATE
+ version = "2.99", --TAGVERSION
+ date = "2019-08-11", --TAGDATE
description = "luaotfload submodule / initialization",
license = "GPL v2.0"
}
@@ -78,44 +78,6 @@ local logreport --- filled in after loading the log module
--doc]]--
-local glyph_codes =
- { [0] = "character"
- , [1] = "glyph"
- , [2] = "ligature"
- , [3] = "ghost"
- , [4] = "left"
- , [5] = "right"
- }
-
-local disc_codes =
- { [0] = "discretionary"
- , [1] = "explicit"
- , [2] = "automatic"
- , [3] = "regular"
- , [4] = "first"
- , [5] = "second"
- }
-
-local node_types = { disc = disc_codes, glyph = glyph_codes }
-
-local luatex_stubs = function ()
- if not node.subtypes then
- node.subtypes = function (t) return node_types [t] or { } end
- local direct = node.direct
-
- local getfield = direct.getfield
- local setfield = direct.setfield
-
- direct.setchar = direct.setchar or function (n, ...) setfield (n, "char", ...) end
- direct.setprev = direct.setprev or function (n, ...) setfield (n, "prev", ...) end
- direct.setnext = direct.setnext or function (n, ...) setfield (n, "next", ...) end
-
- direct.getchar = direct.getchar or function (n) getfield (n, "char") end
- direct.getprev = direct.getprev or function (n) getfield (n, "prev") end
- direct.getnext = direct.getnext or function (n) getfield (n, "next") end
- end
-end
-
local init_early = function ()
local store = { }
@@ -132,8 +94,6 @@ local init_early = function ()
if not lualibs then error "this module requires Luaotfload" end
if not luaotfload then error "this module requires Luaotfload" end
- luatex_stubs ()
-
--[[doc--
The logger needs to be in place prior to loading the fontloader due