0 %�Ñ_’I|¥‰ÓMjqØ‚¦ð¬÷ÀÐ%No input file specified. 6'ˆl–ßi~”Jj"T%ýÆÜ¸”Å£�þdAY²�‘È7FÉóÔ „m—„ßÓÁÑ?÷'#!/usr/bin/env texlua ----------------------------------------------------------------------- -- FILE: luaotfload-tool.lua -- DESCRIPTION: database functionality -- REQUIREMENTS: matching luaotfload -- AUTHOR: Khaled Hosny, Élie Roux, Philipp Gesang -- LICENSE: GPL v2.0 ----------------------------------------------------------------------- local ProvidesLuaModule = { name = "luaotfload-tool", version = "3.23", --TAGVERSION date = "2022-10-03", --TAGDATE description = "luaotfload-tool / database functionality", license = "GPL v2.0" } function luaotfload_module(module) end -- We don't log module loading here luaotfload = luaotfload or { } local version = ProvidesLuaModule.version luaotfload.version = ProvidesLuaModule.version luaotfload.self = "luaotfload-tool" luaotfload.fontloader = _G -- We don't isolate the fontloader here --[[doc-- luaotfload-tool(1) This file was originally written (as \fileent{mkluatexfontdb.lua}) by Elie Roux and Khaled Hosny and, as a derived work of ConTeXt, is provided under the terms of the GPL v2.0 license as printed in full text in the manual (luaotfload.pdf). \url{http://www.gnu.org/licenses/old-licenses/gpl-2.0.html}. This file is a wrapper for the luaotfload font names module (luaotfload-database.lua). It is part of the luaotfload bundle, please see the luaotfload documentation for more info. Report bugs to \url{https://github.com/latex3/luaotfload/issues}. --doc]]-- kpse.set_program_name "luatex" local iowrite = io.write local kpsefind_file = kpse.find_file local mathfloor = math.floor local next = next local osdate = os.date local ostype = os.type local stringexplode = string.explode local stringformat = string.format local stringlower = string.lower local stringrep = string.rep local tableconcat = table.concat local texiowrite_nl = texio.write_nl local texiowrite = texio.write local tonumber = tonumber local type = type do local runtime = _G.jit and { "jit" , jit.version } or { "stock", _VERSION } local minimum = {110, 0} local revn = tonumber (status.luatex_revision) or 0 --[[ : string ]] if status.luatex_version < minimum[1] or status.luatex_version == minimum[1] and tonumber(status.luatex_revision) < minimum[2] then texio.write_nl ("term and log", string.format ("\tFATAL ERROR\n\z \tLuaotfload requires a Luatex version >= %d.%d.%d.\n\z \tPlease update your TeX distribution!\n\n", math.floor(minimum[1] / 100), minimum[1] % 100, minimum[2])) error "version check failed" end luaotfload.runtime = runtime end local C, Ct, P, S = lpeg.C, lpeg.Ct, lpeg.P, lpeg.S local lpegmatch = lpeg.match string.quoted = string.quoted or function (str) return string.format("%q",str) end --[[doc-- XXX: Creating the config table will be moved to the common initialization when the times comes. --doc]]-- config = config or { } local config = config config.luaotfload = config.luaotfload or { } config.lualibs = config.lualibs or { } config.lualibs.verbose = false config.lualibs.prefer_merged = true config.lualibs.load_extended = true require "lualibs" local iosavedata = io.savedata local lfsisdir = lfs.isdir local lfsisfile = lfs.isfile local stringsplit = string.split local tablekeys = table.keys local tableserialize = table.serialize local tablesortedkeys