[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Counting is hard (0e4fe35)
Marcel Fabian Krüger
tex at 2krueger.de
Fri Oct 30 03:08:11 CET 2020
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/0e4fe356c86502425a2827413db46839160abf17
>---------------------------------------------------------------
commit 0e4fe356c86502425a2827413db46839160abf17
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Fri Oct 30 03:08:11 2020 +0100
Counting is hard
>---------------------------------------------------------------
0e4fe356c86502425a2827413db46839160abf17
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 ee46dbb..fc196e6 100644
--- a/src/luaotfload-harf-plug.lua
+++ b/src/luaotfload-harf-plug.lua
@@ -470,7 +470,7 @@ function shape(head, firstnode, run)
postcodes[#postcodes + 1] = is_char(n, fontid) or 0xFFFC
end
table.move(codes, after_cluster + 1, cluster, #postcodes + 1, postcodes)
- table.move(codes, cluster + 1, #codes + cluster - disc_cluster - 1, disc_cluster + 2)
+ table.move(codes, cluster + 1, #codes + cluster - disc_cluster, disc_cluster + 2)
codes[disc_cluster + 1] = 0xFFFC
do
More information about the latex3-commits
mailing list.