summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/libertinus-math.lfg
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/fonts/mkiv/libertinus-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/libertinus-math.lfg30
1 files changed, 17 insertions, 13 deletions
diff --git a/tex/context/fonts/mkiv/libertinus-math.lfg b/tex/context/fonts/mkiv/libertinus-math.lfg
index 0b8ca42ad..02afa0e90 100644
--- a/tex/context/fonts/mkiv/libertinus-math.lfg
+++ b/tex/context/fonts/mkiv/libertinus-math.lfg
@@ -58,6 +58,9 @@ return {
presets.moveintegrals { factor = 1.5 },
presets.wipeitalics { },
{
+ tweak = "checkaccents",
+ },
+ {
tweak = "simplifykerns",
},
{
@@ -94,15 +97,15 @@ return {
},
-- First we set the dimensions of the initial accent which started out as zero but we want
-- a proper width.
- {
- tweak = "dimensions",
- list = {
- [0x00302] = { width = 1.8, anchor = 1.40, xoffset = .20 }, -- widehat
- [0x00303] = { width = 2.0, anchor = 1.50, xoffset = .30 }, -- widetilde
- [0x00306] = { width = 1.6, anchor = 1.30, xoffset = .15 }, -- widebreve
- [0x0030C] = { width = 1.3, anchor = 1.15, xoffset = .075 }, -- widecheck
- },
- },
+ -- {
+ -- tweak = "dimensions",
+ -- list = {
+ -- [0x00302] = { width = 1.8, anchor = 1.40, xoffset = .20 }, -- widehat
+ -- [0x00303] = { width = 2.0, anchor = 1.50, xoffset = .30 }, -- widetilde
+ -- [0x00306] = { width = 1.6, anchor = 1.30, xoffset = .15 }, -- widebreve
+ -- [0x0030C] = { width = 1.3, anchor = 1.15, xoffset = .075 }, -- widecheck
+ -- },
+ -- },
-- Then we deal with all offsets and heights in one go. So we treat the initial accent
-- as well as the variants here. None in libertinus.
-- We now copy these to the not wide slots so that we can set these to stretch as well,
@@ -154,10 +157,11 @@ return {
yoffset = .825,
},
radical = {
- height = .140,
- yoffset = .800,
- leftoffset = .075,
- yscale = .950,
+ height = .140,
+ yoffset = .6575,
+ leftoffset = .075,
+ rightoffset = .075,
+ yscale = .8,
},
stacker = {
height = .176,