[latex3-commits] [git/LaTeX3-latex3-luaotfload] harfnode-dev: Fix typo (19d35f8)

Marcel Fabian Krüger tex at 2krueger.de
Sun Oct 20 18:21:39 CEST 2019


Repository : https://github.com/latex3/luaotfload
On branch  : harfnode-dev
Link       : https://github.com/latex3/luaotfload/commit/19d35f8627a40f4fe5f7499f7d83f7f0e846672a

>---------------------------------------------------------------

commit 19d35f8627a40f4fe5f7499f7d83f7f0e846672a
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun Oct 20 18:21:39 2019 +0200

    Fix typo


>---------------------------------------------------------------

19d35f8627a40f4fe5f7499f7d83f7f0e846672a
 src/luaotfload-harf-define.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/luaotfload-harf-define.lua b/src/luaotfload-harf-define.lua
index 57b6196..1b22c09 100644
--- a/src/luaotfload-harf-define.lua
+++ b/src/luaotfload-harf-define.lua
@@ -355,7 +355,7 @@ fonts.readers.harf = function(spec)
   if rawfeatures.language then
     local language = stringupper(rawfeatures.language)
     spec.language = hb.Language.new(language == "DFLT" and "dflt"
-                                                  or script)
+                                                        or language)
   end
   if rawfeatures.script then
     local script = stringlower(rawfeatures.script)





More information about the latex3-commits mailing list