diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-04-01 11:01:40 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-04-01 11:01:40 +0200 |
commit | c1224cc330e695938cfcf944f8e9d0c14c15fa8c (patch) | |
tree | 1ab4e67a616e7338f91cded3a0d803d61a185ea3 /tex/context/base/mkxl/font-imp-tracing.lmt | |
parent | 6a2738578157926c6ebd64048ddabb7d923b2be5 (diff) | |
download | context-c1224cc330e695938cfcf944f8e9d0c14c15fa8c.tar.gz |
2022-04-01 09:35:00
Diffstat (limited to 'tex/context/base/mkxl/font-imp-tracing.lmt')
-rw-r--r-- | tex/context/base/mkxl/font-imp-tracing.lmt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tex/context/base/mkxl/font-imp-tracing.lmt b/tex/context/base/mkxl/font-imp-tracing.lmt index 749a3c964..3de48af6f 100644 --- a/tex/context/base/mkxl/font-imp-tracing.lmt +++ b/tex/context/base/mkxl/font-imp-tracing.lmt @@ -190,9 +190,9 @@ local function initialize(tfmdata,key,value) local blcolor = { "startcolor", "trace:3" } -- b / db local tlcolor = { "startcolor", "trace:4" } -- y / dy for unicode, character in next, characters do - local mathkern = character.mathkern - local italic = character.vitalic or character.italic - if mathkern or (italic and italic ~= 0) then + local mathkerns = character.mathkerns + local italic = character.vitalic or character.italic + if mathkerns or (italic and italic ~= 0) then local width = character.width or 0 local height = character.height or 0 local depth = character.depth or 0 @@ -206,11 +206,11 @@ local function initialize(tfmdata,key,value) count = count + 1 list[count] = pop count = count + 1 list[count] = black end - if mathkern then - local br = mathkern.bottomright - local tr = mathkern.topright - local bl = mathkern.bottomleft - local tl = mathkern.topleft + if mathkerns then + local br = mathkerns.bottomright + local tr = mathkerns.topright + local bl = mathkerns.bottomleft + local tl = mathkerns.topleft if br then local done = false for i=1,#br do |