summaryrefslogtreecommitdiff
path: root/tex/context/base/font-afm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-afm.lua')
-rw-r--r--tex/context/base/font-afm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/font-afm.lua b/tex/context/base/font-afm.lua
index 0aca634bb..400136d70 100644
--- a/tex/context/base/font-afm.lua
+++ b/tex/context/base/font-afm.lua
@@ -1103,7 +1103,7 @@ fonts.formats.pfb = "type1"
local function check_afm(specification,fullname)
local foundname = findbinfile(fullname, 'afm') or "" -- just to be sure
if foundname == "" then
- foundname = fonts.names.getfilename(fullname,"afm")
+ foundname = fonts.names.getfilename(fullname,"afm") or ""
end
if foundname == "" and afm.autoprefixed then
local encoding, shortname = match(fullname,"^(.-)%-(.*)$") -- context: encoding-name.*