From 80e5042a10620dbb2c456cf5d3a472c66fe6a90f Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Fri, 19 Apr 2013 19:04:49 +0200 Subject: Verbosity reduction step 2 This implies a modification in otfl-fonts-merged.lua that should be asked to Hans... --- luaotfload.dtx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'luaotfload.dtx') diff --git a/luaotfload.dtx b/luaotfload.dtx index 03b63c1..e36bb36 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -1045,6 +1045,23 @@ _G.non_generic_context = { luatex_fonts = { local trapped_register = callback.register 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. -- cgit v1.2.3