From 7d086e9fa542e9d1e214e698900e23701c96c617 Mon Sep 17 00:00:00 2001
From: Elie Roux <elie.roux@telecom-bretagne.eu>
Date: Sat, 28 Nov 2009 16:02:25 +0200
Subject: removing a warning in the logs, not relevant with the luaotfload
 system

---
 luaotfload.dtx | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index 2ef3370..0a4e464 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -369,12 +369,24 @@ end
 %
 %    Some more modules. We don't load neither \texttt{font-enc.lua} nor
 %    \texttt{font-afm.lua} as it will never be used here.
+%    
+%    We also remove a warning from \texttt{font-fnt.lua} as it not relevant
+%    with Lua\TeX{}tra.
 %
 %    \begin{macrocode}
 
 luaotfload.loadmodule('node-res.lua')
 luaotfload.loadmodule('node-inj.lua')
-luaotfload.loadmodule('node-fnt.lua')
+
+do
+  local temp = texio.write_nl
+  texio.write_nl = function (...)
+    return
+  end
+  luaotfload.loadmodule('node-fnt.lua')
+  texio.write_nl = temp
+end
+
 luaotfload.loadmodule('node-dum.lua')
 
 luaotfload.loadmodule('font-ini.lua')
-- 
cgit v1.2.3

