[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix typo (6de1aa5)

Marcel Fabian Krüger tex at 2krueger.de
Mon Jun 13 20:59:55 CEST 2022


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

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

commit 6de1aa56d4e1efda1d7dce1fdf4b34e82e018709
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Jun 13 20:59:55 2022 +0200

    Fix typo


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

6de1aa56d4e1efda1d7dce1fdf4b34e82e018709
 src/luaotfload-colors.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/luaotfload-colors.lua b/src/luaotfload-colors.lua
index 1253ae2..52f251e 100644
--- a/src/luaotfload-colors.lua
+++ b/src/luaotfload-colors.lua
@@ -82,7 +82,7 @@ local function lpeg_repeat(patt, count)
 end
 
 local split_color     = spaces * C(lpeg_repeat(digit16, 6)) * (opaque + C(lpeg_repeat(digit16, 2)))^-1 * spaces * -1
-                      + spaces * (C((spaces * (1 - R', ')^1)^1) + Cc(nil)) * spaces * (',' * spaces * C((spaces * (1 - R' ,')^1)^1)^-1 * spaces)^-1 * -1
+                      + spaces * (C((spaces * (1 - S', ')^1)^1) + Cc(nil)) * spaces * (',' * spaces * C((spaces * (1 - S' ,')^1)^1)^-1 * spaces)^-1 * -1
 
 luatexbase.create_callback('luaotfload.split_color', 'exclusive', function(value)
     local rgb, a = lpegmatch(split_color, value)





More information about the latex3-commits mailing list.