diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-11 14:26:39 +0200 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-11 14:26:39 +0200 |
commit | 2f5da31926b15ba663a65335fd17e8970eb7b49d (patch) | |
tree | 59065fc6662673b26d66aeef75771a14b0effd04 /otfl-font-nms.lua | |
parent | a34ba70ee4bf463c2ef499710bc319169c4d766b (diff) | |
download | luaotfload-2f5da31926b15ba663a65335fd17e8970eb7b49d.tar.gz |
Compatibility with LuaTeX 0.75
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r-- | otfl-font-nms.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index a8b3100..f6d6a6e 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -493,8 +493,8 @@ local function scan_texmf_fonts(fontnames, newfontnames) else logs.info("Scanning TEXMF and OS fonts...") end - local fontdirs = expandpath("$OPENTYPEFONTS"):gsub("^\.", "") - fontdirs = fontdirs .. expandpath("$TTFONTS"):gsub("^\.", "") + local fontdirs = expandpath("$OPENTYPEFONTS"):gsub("^%.", "") + fontdirs = fontdirs .. expandpath("$TTFONTS"):gsub("^%.", "") if not fontdirs:is_empty() then for _,d in next, splitpath(fontdirs) do scan_dir(d, fontnames, newfontnames, true) |