summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otfl-font-nms.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 5bad7c1..ac3f0ba 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -448,13 +448,6 @@ end
fonts.path_normalize = path_normalize
-if os.name == "macosx" then
- -- While Mac OS X 10.6 has a problem with TTC files, ignore them globally:
- font_extensions = { "otf", "ttf", "dfont" }
-else
- font_extensions = { "otf", "ttf", "ttc", "dfont" }
-end
-
names.blacklist = { }
local function read_blacklist()
@@ -482,6 +475,8 @@ local function read_blacklist()
end
end
+local font_extensions = { "otf", "ttf", "ttc", "dfont" }
+
local function scan_dir(dirname, fontnames, newfontnames, texmf)
--[[
this function scans a directory and populates the list of fonts