summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2009-11-28 16:02:25 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2009-11-28 16:02:25 +0200
commit7d086e9fa542e9d1e214e698900e23701c96c617 (patch)
treebdd4579960865fb90c5e57b286c9f43b24f49568
parent2f7e5d92dd3653654bf4e42da9f883a16655037e (diff)
downloadluaotfload-7d086e9fa542e9d1e214e698900e23701c96c617.tar.gz
removing a warning in the logs, not relevant with the luaotfload system
-rw-r--r--luaotfload.dtx14
1 files changed, 13 insertions, 1 deletions
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')