summaryrefslogtreecommitdiff
path: root/tex/context/base/font-tfm.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-12-06 15:24:00 +0100
committerHans Hagen <pragma@wxs.nl>2010-12-06 15:24:00 +0100
commit6280d1ef2e5287ec38724e27e064f3373b275c57 (patch)
tree490e03b274cd0bac1a154cf361efc167c5f0453c /tex/context/base/font-tfm.lua
parent55fb472f8c13eb3219584f41bde43e45d1f67b49 (diff)
downloadcontext-6280d1ef2e5287ec38724e27e064f3373b275c57.tar.gz
beta 2010.12.06 15:24
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