[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Replace non-breaking space by ordinary space (4f4ffe5)
Marcel Krüger
zauguin at gmail.com
Fri Jun 4 05:35:42 CEST 2021
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/4f4ffe5f3a89f47783967ecfc36ec5e53a9e0779
>---------------------------------------------------------------
commit 4f4ffe5f3a89f47783967ecfc36ec5e53a9e0779
Author: Michal Vlasák <lahcim8 at gmail.com>
Date: Sun May 23 16:58:41 2021 +0200
Replace non-breaking space by ordinary space
The space between braces on the changed line was actually a non-breaking
space ("c2 a0" in UTF-8). In normal Lua such byte sequence is illegal in
that place.
But in LuaTeX it is actually interpreted as an identifier -- in this
case a global variable evaluating to "nil" and the resulting table being
"{nil}".
>---------------------------------------------------------------
4f4ffe5f3a89f47783967ecfc36ec5e53a9e0779
src/luaotfload-database.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 644b519..230fc08 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -2368,7 +2368,7 @@ local function collect_font_filenames_texmf ()
fontdirs = fontdirs .. path_separator .. expanded_path "type1 fonts"
fontdirs = fontdirs .. path_separator .. expanded_path "afm"
- fontdirs = filesplitpath (fontdirs) or { }
+ fontdirs = filesplitpath (fontdirs) or { }
local tasks = filter_out_pwd (fontdirs)
logreport ("both", 3, "db",
More information about the latex3-commits
mailing list.