summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2010-05-24 23:21:51 +0300
committerElie Roux <elie.roux@telecom-bretagne.eu>2010-05-24 23:21:51 +0300
commit1d07c96b0484896e2155c54b80b2de9dff8b968b (patch)
treee453899469ec8c56e8dc0a469b24afc65cb70632 /otfl-font-nms.lua
parent6441805f0a6e60d15cf4969cf5507eeecac88bc6 (diff)
downloadluaotfload-1d07c96b0484896e2155c54b80b2de9dff8b968b.tar.gz
Everything works fine under Windows now
Strangely, OSFONTDIR is set under windows... It works even if it's unset anyway.
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