summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-06-25 18:50:22 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-06-25 18:50:22 +0300
commitd621fdb65e0074acf851d70022d573fd4a6601e5 (patch)
treee657fd46ccc83022324b77974b963d6db5a3a6db /otfl-font-nms.lua
parent9eb02dc4f8ed2a0c7fb79a50b97de7fef56d33c6 (diff)
downloadluaotfload-d621fdb65e0074acf851d70022d573fd4a6601e5.tar.gz
Re-enable ttc fonts in MacOSX
This way it is easier for people to actually find the broken ones so we can blacklist them explicitly.
Diffstat (limited to 'otfl-font-nms.lua')
-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