summaryrefslogtreecommitdiff
path: root/tex/context/base/font-tfm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-tfm.lua')
-rw-r--r--tex/context/base/font-tfm.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/font-tfm.lua b/tex/context/base/font-tfm.lua
index 1ccb69303..1877f08c3 100644
--- a/tex/context/base/font-tfm.lua
+++ b/tex/context/base/font-tfm.lua
@@ -364,7 +364,10 @@ function tfm.scale(tfmtable, scaledpoints, relativeid)
local sharedkerns = { }
for k,v in next, characters do
local chr, description, index
- if ischanged then
+ if isvirtual then
+ description = descriptions[k] or v
+ -- no index
+ elseif ischanged then
-- basemode hack
local c = changed[k]
if c then