summaryrefslogtreecommitdiff
path: root/tex/context/base/font-def.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-def.lua')
-rw-r--r--tex/context/base/font-def.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/font-def.lua b/tex/context/base/font-def.lua
index 5dbd1f0fd..74073227a 100644
--- a/tex/context/base/font-def.lua
+++ b/tex/context/base/font-def.lua
@@ -437,6 +437,10 @@ function definers.read(specification,size,id) -- id can be optional, name can al
return tfmdata
end
+function font.getfont(id)
+ return fontdata[id] -- otherwise issues
+end
+
--[[ldx--
<p>We overload the <l n='tfm'/> reader.</p>
--ldx]]--