From d621fdb65e0074acf851d70022d573fd4a6601e5 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 25 Jun 2010 18:50:22 +0300 Subject: 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. --- otfl-font-nms.lua | 9 ++------- 1 file 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 -- cgit v1.2.3