From 9eb02dc4f8ed2a0c7fb79a50b97de7fef56d33c6 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 25 Jun 2010 18:15:33 +0300 Subject: Really fix printing file name before loading it io.flush() is needed, otherwise nothing gets printed until the loading is finished. --- otfl-font-nms.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index 12da443..5bad7c1 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -263,6 +263,7 @@ local lastislog = 0 function log(fmt, ...) lastislog = 1 texio.write_nl(format("luaotfload | %s", format(fmt,...))) + io.flush() end logs = logs or { } -- cgit v1.2.3