[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Support printing negative characters (b02c538)
Marcel Fabian Krüger
tex at 2krueger.de
Thu Jun 10 16:43:34 CEST 2021
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/b02c538a1431bdc3863bff5a00832579b1822ede
>---------------------------------------------------------------
commit b02c538a1431bdc3863bff5a00832579b1822ede
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Thu Jun 10 16:43:34 2021 +0200
Support printing negative characters
>---------------------------------------------------------------
b02c538a1431bdc3863bff5a00832579b1822ede
src/luaotfload-harf-plug.lua | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/luaotfload-harf-plug.lua b/src/luaotfload-harf-plug.lua
index 9070952..5d76a69 100644
--- a/src/luaotfload-harf-plug.lua
+++ b/src/luaotfload-harf-plug.lua
@@ -1134,6 +1134,8 @@ local function get_glyph_info(n)
local c = getchar(n)
if c == 0 then
return '^^@'
+ elseif c < 0 then -- These are left and right boundaries in ligature lists
+ return ''
elseif c < 0x110000 then
return utfchar(c)
else
More information about the latex3-commits
mailing list.