summaryrefslogtreecommitdiff
path: root/tex/context/base/font-ext.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-ext.lua')
-rw-r--r--tex/context/base/font-ext.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/font-ext.lua b/tex/context/base/font-ext.lua
index df8cbe160..89d5927d4 100644
--- a/tex/context/base/font-ext.lua
+++ b/tex/context/base/font-ext.lua
@@ -902,7 +902,9 @@ function fonts.helpers.addprivate(tfmdata,name,characterdata)
privates = { }
properties.privates = privates
end
- privates[name] = lastprivate
+ if name then
+ privates[name] = lastprivate
+ end
properties.lastprivate = lastprivate
tfmdata.characters[lastprivate] = characterdata
if properties.finalized then