summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-16 09:44:51 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-16 09:44:51 +0200
commit9e597b20c304c3dd1f2a49277e5c4bbbbb5ac9a1 (patch)
treecdc0c854300105b396e7aef821c740cdf24bfad0
parentdf8d8a5e5ec4a3e885a6b15087fc283ee69ecf06 (diff)
downloadluaotfload-9e597b20c304c3dd1f2a49277e5c4bbbbb5ac9a1.tar.gz
Warning if a file cannot be read in font conf
-rw-r--r--otfl-font-nms.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 4271b3c..02ae859 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -522,6 +522,7 @@ local function read_fonts_conf(path, results)
]]
local f = io.open(path)
if not f then
+ logs.info("Warning: unable to read "..path.. ", skipping...")
return results
end
local incomments = false