diff options
| -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,  | 
