[latex3-commits] [git/LaTeX3-latex3-luaotfload] harfnode-dev: Fix comment (c54f31a)
Marcel Fabian Krüger
tex at 2krueger.de
Sat Oct 19 04:36:32 CEST 2019
Repository : https://github.com/latex3/luaotfload
On branch : harfnode-dev
Link : https://github.com/latex3/luaotfload/commit/c54f31abeec8d6fa580d0c977e52155160c98424
>---------------------------------------------------------------
commit c54f31abeec8d6fa580d0c977e52155160c98424
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sat Oct 19 04:36:32 2019 +0200
Fix comment
>---------------------------------------------------------------
c54f31abeec8d6fa580d0c977e52155160c98424
src/luaotfload-harf-define.lua | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/luaotfload-harf-define.lua b/src/luaotfload-harf-define.lua
index d67bf45..57b6196 100644
--- a/src/luaotfload-harf-define.lua
+++ b/src/luaotfload-harf-define.lua
@@ -365,7 +365,8 @@ fonts.readers.harf = function(spec)
for key, val in next, rawfeatures do
if key:len() == 4 then
-- 4-letter options are likely font features, but not always, so we do
- -- some checks below. We put non feature options in the `options` dict.
+ -- some checks below. Other options will be queried
+ -- from spec.features.normal.
if val == true or val == false then
val = (val and '+' or '-')..key
hb_features[#hb_features + 1] = hb.Feature.new(val)
More information about the latex3-commits
mailing list