[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix harf mode for text with explicit U+AD (6474849)

Marcel Fabian Krüger tex at 2krueger.de
Mon Mar 30 14:47:20 CEST 2020


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

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

commit 6474849a892cbe60e31275e03b010018a19c2637
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Mar 30 14:46:57 2020 +0200

    Fix harf mode for text with explicit U+AD


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

6474849a892cbe60e31275e03b010018a19c2637
 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 8593313..d6ea271 100644
--- a/src/luaotfload-harf-plug.lua
+++ b/src/luaotfload-harf-plug.lua
@@ -406,7 +406,7 @@ function shape(head, node, run)
           local discindex = nil
           local disc = node
           for j = cluster + 1, nextcluster do
-            if codes[j] == 0x00AD then
+            if getid(disc) == disc_t then
               discindex = j
               break
             end





More information about the latex3-commits mailing list.