summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/font-con.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/font-con.lmt')
-rw-r--r--tex/context/base/mkxl/font-con.lmt30
1 files changed, 22 insertions, 8 deletions
diff --git a/tex/context/base/mkxl/font-con.lmt b/tex/context/base/mkxl/font-con.lmt
index ddaf8afb1..319d5fe48 100644
--- a/tex/context/base/mkxl/font-con.lmt
+++ b/tex/context/base/mkxl/font-con.lmt
@@ -533,12 +533,6 @@ function constructors.scale(tfmdata,specification)
targetparameters.scriptscale = scriptscale
targetparameters.scriptscriptscale = scriptscriptscale
- -- todo: maybe retrofit to font-con.lua
-
- local oldmath = properties.oldmath
- targetproperties.oldmath = oldmath
- target.oldmath = oldmath
-
local mathcontrol = properties.mathcontrol
targetproperties.mathcontrol = mathcontrol
target.mathcontrol = mathcontrol
@@ -706,10 +700,26 @@ function constructors.scale(tfmdata,specification)
if vi and vi ~= 0 then
chr.vitalic = vi*hdelta
end
- local va = character.accent
+-- local va = character.accent
+-- if va and not chr.topanchor then
+-- chr.topanchor = va
+-- end
+ local va = character.topanchor
+ if va then
+ chr.topanchor = va*vdelta
+ end
+ va = character.bottomanchor
if va then
- chr.topaccent = va*vdelta
+ chr.bottomanchor = va*vdelta
end
+ local vo = character.topovershoot
+ if vo then
+ chr.topovershoot = vo*hdelta
+ end
+ -- vo = character.bottomovershoot
+ -- if vo then
+ -- chr.bottomovershoot = vo*hdelta
+ -- end
if stackmath then -- not ok yet
local mk = character.mathkerns
if mk then
@@ -755,6 +765,10 @@ function constructors.scale(tfmdata,specification)
if sm then
chr.smaller = sm
end
+ local mi = character.mirror
+ if mi then
+ chr.mirror = mi
+ end
local fa = character.flataccent
if fa then
chr.flataccent = fa