[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Revert "Add expansion font feature" (320a012)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Aug 23 22:01:35 CEST 2020
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/320a01267097b3877f619358a64026cda4a1c455
>---------------------------------------------------------------
commit 320a01267097b3877f619358a64026cda4a1c455
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Aug 23 22:01:35 2020 +0200
Revert "Add expansion font feature"
This reverts commit 4907e23407c52437cca56966d11d3b4548bba585.
>---------------------------------------------------------------
320a01267097b3877f619358a64026cda4a1c455
src/luaotfload-features.lua | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index 6da4c38..f9f2362 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -706,29 +706,6 @@ do
}
end
-do
- local number = lpeg.R'09'^1/tonumber
- local patt = number * ' ' * number * ' ' * number * -1
- local function setexpansion(tfmdata, _, value)
- local stretch, shrink, step = patt:match(value)
- if not stretch then
- report("term and log", 0, "features",
- "Invalid expansion parameter provided")
- return
- end
- tfmdata.stretch, tfmdata.shrink, tfmdata.step = stretch, shrink, step
- end
- fonts.constructors.features.otf.register {
- name = 'expansion',
- description = 'Set expansion parameters',
- manipulators = {
- base = setexpansion,
- node = setexpansion,
- plug = setexpansion,
- },
- }
-end
-
return function ()
if not fonts and fonts.handlers then
report ("log", 0, "features",
More information about the latex3-commits
mailing list.