[latex3-commits] [git/LaTeX3-latex3-l3build] norm-fl: Fix normalization pattern for luaotfload font cache (b342098)

Marcel Fabian Krüger tex at 2krueger.de
Wed Mar 9 18:26:39 CET 2022


Repository : https://github.com/latex3/l3build
On branch  : norm-fl
Link       : https://github.com/latex3/l3build/commit/b34209872a1dca09caf7b3bdae4a49805c54abfb

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

commit b34209872a1dca09caf7b3bdae4a49805c54abfb
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Wed Mar 9 18:03:57 2022 +0100

    Fix normalization pattern for luaotfload font cache


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

b34209872a1dca09caf7b3bdae4a49805c54abfb
 CHANGELOG.md      | 1 +
 l3build-check.lua | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2550ca2..ef1835e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ this project uses date-based 'snapshot' version identifiers.
 
 ### Fixed
 - Use correct name for `options` table in multi configuration management code
+- Correctly normalize luaotfload font cache path
 
 ## [2021-12-09]
 
diff --git a/l3build-check.lua b/l3build-check.lua
index 65ac222..f016c25 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -147,7 +147,7 @@ local function normalize_log(content,engine,errlevels)
     -- Images
     line = gsub(line, "<" .. pattern .. ">", "<../%1>")
     -- luaotfload files start with keywords
-    line = gsub(line, "from " .. pattern .. "%(", "from. ./%1(")
+    line = gsub(line, "from " .. pattern .. "$", "from ../%1")
     line = gsub(line, ": " .. pattern .. "%)", ": ../%1)")
     -- Deal with XeTeX specials
     if match(line, "^%.+\\XeTeX.?.?.?file") then





More information about the latex3-commits mailing list.