summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua b/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua
index 9ba4f52ec9f..5aadd7b4aaa 100644
--- a/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua
+++ b/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua
@@ -46,18 +46,6 @@ local trace_progress = true --trackers.register("names.progress", function(v) t
local trace_search = false --trackers.register("names.search", function(v) trace_search = v end)
local trace_loading = false --trackers.register("names.loading", function(v) trace_loading = v end)
-
--- Basic function from <http://stackoverflow.com/questions/2282444/how-to-check-if-a-table-contains-an-element-in-lua>
-function table.contains(table, element)
- for _, value in pairs(table) do
- if value == element then
- return true
- end
- end
- return false
-end
-
-
local function sanitize(str)
if str then
return utfgsub(lower(str), "[^%a%d]", "")
@@ -285,17 +273,10 @@ end
local lastislog = 0
-function log(fmt, ...)
- lastislog = 1
- texio.write_nl(format("luaotfload | %s", format(fmt,...)))
-end
-
logs = logs or { }
logs.report = logs.report or log
logs.info = logs.info or log
-local log = names.log
-
-- The progress bar
local function progress(current, total)
if trace_progress then