diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-12-01 13:43:10 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-12-01 13:43:10 +0100 |
commit | 08fa92c1c94d9faddee48590a1a20506e89c191c (patch) | |
tree | 12bbf6fa56b69c47340d4c15f8f601be2d9487b5 /tex/context/base/mkxl/font-con.lmt | |
parent | 2593c827482f6c5a315d504cd5316879d6172656 (diff) | |
download | context-08fa92c1c94d9faddee48590a1a20506e89c191c.tar.gz |
2022-12-01 12:41:00
Diffstat (limited to 'tex/context/base/mkxl/font-con.lmt')
-rw-r--r-- | tex/context/base/mkxl/font-con.lmt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/font-con.lmt b/tex/context/base/mkxl/font-con.lmt index daf106a8a..117e81a66 100644 --- a/tex/context/base/mkxl/font-con.lmt +++ b/tex/context/base/mkxl/font-con.lmt @@ -502,7 +502,12 @@ function constructors.scale(tfmdata,specification) local scaledheight = defaultheight * vdelta local scaleddepth = defaultdepth * vdelta -- - local textcontrol = properties.textcontrol + local textcontrol = properties.textcontrol or 0 + if targetproperties.mode == "base" then + textcontrol = textcontrol | 0x02 | 0x04 -- todo symbolic + elseif targetproperties.mode == "none" then + textcontrol = textcontrol | 0x08 -- todo symbolic + end targetproperties.textcontrol = textcontrol target.textcontrol = textcontrol -- |