summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-19 19:04:49 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-19 19:04:49 +0200
commit80e5042a10620dbb2c456cf5d3a472c66fe6a90f (patch)
tree93798df565af773dd31ea83d24fbf9d746e29529 /luaotfload.dtx
parentc80fad6066b1ab0ad40ef13d50945c2d3578694a (diff)
downloadluaotfload-80e5042a10620dbb2c456cf5d3a472c66fe6a90f.tar.gz
Verbosity reduction step 2
This implies a modification in otfl-fonts-merged.lua that should be asked to Hans...
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}