[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Adjust harf shaper to numeric directions (c16beb8)

Marcel Fabian Krüger tex at 2krueger.de
Mon Aug 24 16:59:32 CEST 2020


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/c16beb81f3eb0afac48c2b2de785e20a10f412f6

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

commit c16beb81f3eb0afac48c2b2de785e20a10f412f6
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Aug 24 16:59:32 2020 +0200

    Adjust harf shaper to numeric directions


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

c16beb81f3eb0afac48c2b2de785e20a10f412f6
 src/luaotfload-harf-plug.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/luaotfload-harf-plug.lua b/src/luaotfload-harf-plug.lua
index 482ac53..b27455b 100644
--- a/src/luaotfload-harf-plug.lua
+++ b/src/luaotfload-harf-plug.lua
@@ -176,7 +176,7 @@ local function itemize(head, fontid, direction)
 
   local runs, codes = {}, {}
   local dirstack = {}
-  local currdir = direction == "TRT" and 1 or 0
+  local currdir = direction or 0
   local lastskip, lastdir = true
   local lastrun = {}
 





More information about the latex3-commits mailing list.