diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-11-13 20:59:32 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-11-13 20:59:32 +0100 |
commit | a1b3f047bf4bc1043366fc8556099cda37e83dab (patch) | |
tree | 87ec3c08ddfc162934969c72a8c29f7980778af1 /tex/context/fonts/mkiv/minion-math.lfg | |
parent | e1968f3ee77c1485c06a567aed0bc0e2eb5c7d01 (diff) | |
download | context-a1b3f047bf4bc1043366fc8556099cda37e83dab.tar.gz |
2021-11-13 20:35:00
Diffstat (limited to 'tex/context/fonts/mkiv/minion-math.lfg')
-rw-r--r-- | tex/context/fonts/mkiv/minion-math.lfg | 39 |
1 files changed, 33 insertions, 6 deletions
diff --git a/tex/context/fonts/mkiv/minion-math.lfg b/tex/context/fonts/mkiv/minion-math.lfg index 863836c1c..13d11edc6 100644 --- a/tex/context/fonts/mkiv/minion-math.lfg +++ b/tex/context/fonts/mkiv/minion-math.lfg @@ -1,5 +1,14 @@ -local kern_W = { bottomright = { { kern = -150 } } } -local kern_V = { bottomright = { { kern = -200 } } } +local dimensions, kerns if CONTEXTLMTXMODE == 0 then + + local kern_W = { bottomright = { { kern = -150 } } } + local kern_V = { bottomright = { { kern = -200 } } } + + kerns = { + [0x1D449] = kern_V, -- 𝑉 + [0x1D44A] = kern_W, -- 𝑊 + } + +end return { name = "minion-math", @@ -21,10 +30,28 @@ return { }, }, mathematics = { - kerns = { - [0x1D449] = kern_V, -- 𝑉 - [0x1D44A] = kern_W, -- 𝑊 - -- todo: ssty 1/2 + tweaks = { + aftercopying = { + { + tweak = "dimensions", + list = dimensions, + }, + { + tweak = "fixprimes", + factor = 0.85, + }, + { + tweak = "checkspacing", + }, + { + tweak = "addscripts", + }, + }, }, + -- + -- experimental fixes for mkiv: + -- + dimensions = dimensions, + kerns = kerns, }, } |