[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix bound for literal glyph display (daaefed)

Marcel Fabian Krüger tex at 2krueger.de
Tue Jul 14 13:16:14 CEST 2020


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

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

commit daaefed22b0d5bb13957e14e3a45d55a5f479aa5
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue Jul 14 13:16:14 2020 +0200

    Fix bound for literal glyph display


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

daaefed22b0d5bb13957e14e3a45d55a5f479aa5
 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 8ab0110..e5ede81 100644
--- a/src/luaotfload-harf-plug.lua
+++ b/src/luaotfload-harf-plug.lua
@@ -1018,7 +1018,7 @@ local function get_glyph_info(n)
   local c = getchar(n)
   if c == 0 then
     return '^^@'
-  elseif c < 0x11000 then
+  elseif c < 0x110000 then
     return utfchar(c)
   else
     return string.format("^^^^^^%06X", c)





More information about the latex3-commits mailing list.