summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua18
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
index f11f05b9b0e..c69cab3a720 100644
--- a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
+++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
@@ -1,11 +1,12 @@
if not modules then modules = { } end modules ["features"] = {
- version = "2.8",
+ version = "2.9",
comment = "companion to luaotfload-main.lua",
- author = "Hans Hagen, Khaled Hosny, Elie Roux, Philipp Gesang",
+ author = "Hans Hagen, Khaled Hosny, Elie Roux, Philipp Gesang, Marcel Krüger",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
+
local type = type
local next = next
local tonumber = tonumber
@@ -1259,12 +1260,17 @@ if as_script == true then --- skip the remainder of the file
report ("log", 5, "features",
"Exiting early from luaotfload-features.lua.")
return
-else
- local registersplit = definers.registersplit
- registersplit (":", handle_request, "common")
- registersplit ("", handle_request, "xetex path style") -- catches \font\text=[names]
end
+-- MK: Added
+function fonts.definers.analyze (spec_string, size)
+ return handle_request {
+ size = size,
+ specification = spec_string,
+ }
+end
+-- /MK
+
-- We assume that the other otf stuff is loaded already; though there’s
-- another check below during the initialization phase.