summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/fontloader-font-imp-italics.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-03 21:06:29 +0000
committerKarl Berry <karl@freefriends.org>2020-09-03 21:06:29 +0000
commit24747f42d2ae33e72bd6cb817501a16951912000 (patch)
tree249041a4aa4763ff12d5925a69df1e65345e6b8d /Master/texmf-dist/tex/luatex/luaotfload/fontloader-font-imp-italics.lua
parentd34926349151181057a004f0aa9b9c90fbf0f2f2 (diff)
luaotfload (3sep20)
git-svn-id: svn://tug.org/texlive/trunk@56251 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/fontloader-font-imp-italics.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/fontloader-font-imp-italics.lua46
1 files changed, 19 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/fontloader-font-imp-italics.lua b/Master/texmf-dist/tex/luatex/luaotfload/fontloader-font-imp-italics.lua
index 83c785d3876..3e172bedee6 100644
--- a/Master/texmf-dist/tex/luatex/luaotfload/fontloader-font-imp-italics.lua
+++ b/Master/texmf-dist/tex/luatex/luaotfload/fontloader-font-imp-italics.lua
@@ -79,33 +79,25 @@ if context then
registerotffeature(specification)
registerafmfeature(specification)
-end
-
--- no longer used
-
--- if context then
---
--- -- local function initializemathitalics(tfmdata,value) -- yes no delay
--- -- tfmdata.properties.mathitalics = toboolean(value)
--- -- end
--- --
--- -- local specification = {
--- -- name = "mathitalics",
--- -- description = "use alternative math italic correction",
--- -- initializers = {
--- -- base = initializemathitalics,
--- -- node = initializemathitalics,
--- -- }
--- -- }
--- --
--- -- registerotffeature(specification)
--- -- registerafmfeature(specification)
---
--- end
-
--- -- also not used, only when testing
-
-if context then
+ -- no longer used
+
+ -- local function initializemathitalics(tfmdata,value) -- yes no delay
+ -- tfmdata.properties.mathitalics = toboolean(value)
+ -- end
+ --
+ -- local specification = {
+ -- name = "mathitalics",
+ -- description = "use alternative math italic correction",
+ -- initializers = {
+ -- base = initializemathitalics,
+ -- node = initializemathitalics,
+ -- }
+ -- }
+ --
+ -- registerotffeature(specification)
+ -- registerafmfeature(specification)
+
+ -- only used when testing
local letter = characters.is_letter
local always = true