summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-06-02 03:19:19 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-06-02 03:19:19 +0200
commit9cdf846537280dc9661b1ed88a58eb763b237d1d (patch)
tree5d625ac78e0d6b512f2199b4b130352b07739df9 /luaotfload-database.lua
parent1c05b861741add6fbc4a3185ad49b812e4f5771e (diff)
downloadluaotfload-9cdf846537280dc9661b1ed88a58eb763b237d1d.tar.gz
replace tfmdata.name with the quoted spec
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r--luaotfload-database.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua
index 22de3fa..b9695ad 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -788,14 +788,13 @@ resolve = function (_,_,specification) -- the 1st two parameters are used by Con
return specification.name, false, false
end --- resolve()
---- dummy required by luatex-fonts (cf. luatex-fonts-syn.lua)
-
resolve_fullpath = function (fontname, ext) --- getfilename()
if not fonts_loaded then
names.data = load_names()
end
local filenames = names.data.filenames
local idx = filenames.base[fontname]
+ or filenames.bare[fontname]
if idx then
return filenames.full[idx]
end