From 1d07c96b0484896e2155c54b80b2de9dff8b968b Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Mon, 24 May 2010 23:21:51 +0300 Subject: Everything works fine under Windows now Strangely, OSFONTDIR is set under windows... It works even if it's unset anyway. --- otfl-font-nms.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index a74ba35..d9cf3c1 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -672,7 +672,7 @@ local function scan_os_fonts(fontnames, newfontnames) end -- under OSX, we don't rely on fc-list, we rely on some static -- directories instead - if os.name == "macosx" then + if os.name == "macosx" or os.type == "windows" or os.type == "msdos" or os.name == "cygwin" then if trace_search then logs.info("searching in static system directories...") end -- cgit v1.2.3