summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua2
1 files changed, 1 insertions, 1 deletions
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