diff options
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r-- | otfl-font-nms.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index 6793830..dcd75d3 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -587,7 +587,10 @@ local function read_fonts_conf(path, results) ]] local f = io.open(path) if not f then - error("Cannot open the file "..path) + if trace_search then + logs.report("cannot open file", "%s", path) + end + return results end local incomments = false for line in f:lines() do @@ -675,6 +678,7 @@ local function get_os_dirs() end end end + return {} end local function scan_os_fonts(fontnames, newfontnames) |