summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2010-05-24 22:31:18 +0300
committerElie Roux <elie.roux@telecom-bretagne.eu>2010-05-24 22:31:18 +0300
commitc9586d8e00c9a297d010c4644e126aca6cfdac47 (patch)
treef4da449c4640c8ec6f63c87e27f84d758c26e1aa /otfl-font-nms.lua
parenteefe0894f844cae176d0844d627914cfc5432008 (diff)
downloadluaotfload-c9586d8e00c9a297d010c4644e126aca6cfdac47.tar.gz
Renaming scan_texmf_tree in scan_texmf_fonts
as we don't scan only texmf_tree if OSFONTDIR is set
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 7900312..bfc463a 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -558,7 +558,7 @@ else
end
end
-local function scan_texmf_tree(fontnames, newfontnames)
+local function scan_texmf_fonts(fontnames, newfontnames)
--[[
The function that scans all fonts in the texmf tree, through kpathsea
variables OPENTYPEFONTS and TTFONTS of texmf.cnf
@@ -685,7 +685,7 @@ local function update_names(fontnames, force)
end
end
local newfontnames = fontnames_init()
- scan_texmf_tree(fontnames, newfontnames)
+ scan_texmf_fonts(fontnames, newfontnames)
if expandpath("$OSFONTDIR"):is_empty() then
scan_os_fonts(fontnames, newfontnames)
end