summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload.dtx')
-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')