[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix typo (0d2edaa)

Marcel Fabian Krüger tex at 2krueger.de
Thu Jun 9 14:53:32 CEST 2022


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

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

commit 0d2edaa3d1ff3ffd87bc30c23fc35ea8eb9e13fc
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Thu Jun 9 14:53:32 2022 +0200

    Fix typo


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

0d2edaa3d1ff3ffd87bc30c23fc35ea8eb9e13fc
 src/luaotfload-colors.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/luaotfload-colors.lua b/src/luaotfload-colors.lua
index 8aad8e4..59b0ab1 100644
--- a/src/luaotfload-colors.lua
+++ b/src/luaotfload-colors.lua
@@ -442,7 +442,7 @@ function luaotfload.set_colorhandler(cb)
   custom_setcolor = cb
 end
 function luaotfload.set_transparenthandler(cb)
-  custom_setcolor = cb
+  custom_settransparent = cb
 end
 function luaotfload.set_colorsplitter(cb)
   custom_splitcolor = cb
@@ -481,6 +481,7 @@ setmetatable(fonts.handlers.otf.statistics.usedfeatures.color, {
 })
 
 return function ()
+    assert(logreport == luaotfload.log.report)
     logreport = luaotfload.log.report
     if not fonts then
         logreport ("log", 0, "color",





More information about the latex3-commits mailing list.