diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-19 19:04:49 +0200 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-19 19:04:49 +0200 |
commit | 80e5042a10620dbb2c456cf5d3a472c66fe6a90f (patch) | |
tree | 93798df565af773dd31ea83d24fbf9d746e29529 | |
parent | c80fad6066b1ab0ad40ef13d50945c2d3578694a (diff) | |
download | luaotfload-80e5042a10620dbb2c456cf5d3a472c66fe6a90f.tar.gz |
Verbosity reduction step 2
This implies a modification in otfl-fonts-merged.lua that should
be asked to Hans...
-rw-r--r-- | luaotfload.dtx | 17 | ||||
-rw-r--r-- | otfl-fonts-merged.lua | 2 |
2 files changed, 18 insertions, 1 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} diff --git a/otfl-fonts-merged.lua b/otfl-fonts-merged.lua index 44f42ed..19c8ce1 100644 --- a/otfl-fonts-merged.lua +++ b/otfl-fonts-merged.lua @@ -2926,7 +2926,7 @@ storage={ register=dummyfunction, shared={}, } -logs={ +logs=logs or { new=dummyreporter, reporter=dummyreporter, messenger=dummyreporter, |