diff options
Diffstat (limited to 'tex/context/base/mkxl/font-con.lmt')
-rw-r--r-- | tex/context/base/mkxl/font-con.lmt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/font-con.lmt b/tex/context/base/mkxl/font-con.lmt index b36f18dfa..83b97847d 100644 --- a/tex/context/base/mkxl/font-con.lmt +++ b/tex/context/base/mkxl/font-con.lmt @@ -713,7 +713,7 @@ function constructors.scale(tfmdata,specification) local tl = mk.topleft local br = mk.bottomright local bl = mk.bottomleft - chr.mathkern = { -- singular -> should be patched in luatex ! + chr.mathkerns = { topright = tr and mathkerns(tr,vdelta) or nil, topleft = tl and mathkerns(tl,vdelta) or nil, bottomright = br and mathkerns(br,vdelta) or nil, @@ -727,6 +727,22 @@ function constructors.scale(tfmdata,specification) chr.italic = vi*hdelta end end + local vk = character.topleft + if vk and vk ~= 0 then + chr.topleft = vk*hdelta + end + local vk = character.topright + if vk and vk ~= 0 then + chr.topright = vk*hdelta + end + local vk = character.bottomleft + if vk and vk ~= 0 then + chr.bottomleft = vk*hdelta + end + local vk = character.bottomright + if vk and vk ~= 0 then + chr.bottomright = vk*hdelta + end -- local ft = character.options -- if ft then -- chr.options = ft |