summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-lmt.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/lpdf-lmt.lmt')
-rw-r--r--tex/context/base/mkxl/lpdf-lmt.lmt8
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/lpdf-lmt.lmt b/tex/context/base/mkxl/lpdf-lmt.lmt
index 0861e0916..9bb3319d4 100644
--- a/tex/context/base/mkxl/lpdf-lmt.lmt
+++ b/tex/context/base/mkxl/lpdf-lmt.lmt
@@ -480,10 +480,16 @@ do
local w
local e = c and c[char]
if e then
- w = e.width or 0
+-- w = e.width or 0
+-- local a = e.advance
+-- if a then
+-- w = a
+-- end
local a = e.advance
if a then
w = a
+ else
+ w = e.width or 0
end
end
if not w then