[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Small fix (944e87b)
Marcel Fabian Krüger
tex at 2krueger.de
Tue Feb 11 11:16:49 CET 2020
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/944e87bf8ba65c44de27306a2e8a3884bf61f2ee
>---------------------------------------------------------------
commit 944e87bf8ba65c44de27306a2e8a3884bf61f2ee
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Tue Feb 11 02:05:11 2020 +0100
Small fix
>---------------------------------------------------------------
944e87bf8ba65c44de27306a2e8a3884bf61f2ee
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 effd1b5..81fd8bf 100644
--- a/src/luaotfload-harf-plug.lua
+++ b/src/luaotfload-harf-plug.lua
@@ -372,7 +372,7 @@ function shape(head, node, run)
local node = node
for j = cluster,nextcluster-1 do
local id = getid(node)
- if id == glyph_t or id == glue_t then
+ if id == glyph_t or (id == glue_t and getsubtype(node) == spaceskip_t) then
local code = codes[j + 1]
hex = hex..to_utf16_hex(code)
str = str..utf8.char(code)
More information about the latex3-commits
mailing list.