[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Better feature handling for harf fonts (e0545f7)
Marcel Fabian Krüger
tex at 2krueger.de
Thu Dec 19 00:54:17 CET 2019
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/e0545f79115e7505352aca14744ba6cc641876c7
>---------------------------------------------------------------
commit e0545f79115e7505352aca14744ba6cc641876c7
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Thu Dec 19 00:54:17 2019 +0100
Better feature handling for harf fonts
>---------------------------------------------------------------
e0545f79115e7505352aca14744ba6cc641876c7
src/luaotfload-harf-define.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/luaotfload-harf-define.lua b/src/luaotfload-harf-define.lua
index 8061938..abcdb11 100644
--- a/src/luaotfload-harf-define.lua
+++ b/src/luaotfload-harf-define.lua
@@ -219,10 +219,9 @@ local tlig ={
local function scalefont(data, spec)
if not data then return data, spec end
local size = spec.size
- local features = spec.features.normal
+ local features = fonts.constructors.checkedfeatures("otf", spec.features.normal)
features.mode = 'plug'
features.features = 'harf'
- fonts.constructors.checkedfeatures("otf", features)
local hbface = data.face
local hbfont = data.font
local upem = data.upem
@@ -359,6 +358,7 @@ local function scalefont(data, spec)
properties = {},
}
tfmdata.shared.processes = fonts.handlers.otf.setfeatures(tfmdata, features)
+ fonts.constructors.applymanipulators("otf", tfmdata, features, false)
return tfmdata
end
More information about the latex3-commits
mailing list