summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx17
1 files changed, 17 insertions, 0 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index 03b63c1..e36bb36 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1047,6 +1047,23 @@ callback.register = dummy_function
% \end{macrocode}
%
+% In order to have an output with normal verbosity, we need to pre-override
+% some \CONTEXT log function:
+%
+% \begin{macrocode}
+
+local dummylogfunction=function() end
+local dummylogreporter=function(c) return function(...) log(string.formatters(...)) end end
+
+_G.logs={
+ new=dummylogreporter,
+ reporter=dummylogreporter,
+ messenger=dummylogreporter,
+ report=dummylogfunction,
+}
+
+% \end{macrocode}
+%
% Now that things are sorted out we can finally load the fontloader.
%
% \begin{macrocode}