summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/minion-math.lfg
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-10-21 21:37:10 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-10-21 21:37:10 +0200
commit5d31142615a7efaf833be860e412995b42bf9c3c (patch)
treef2c6470f09089ef3005659783b834989ee7e1989 /tex/context/fonts/mkiv/minion-math.lfg
parentc0c1dea1daf21f2c21f6d8094f54f67138998baf (diff)
downloadcontext-5d31142615a7efaf833be860e412995b42bf9c3c.tar.gz
2022-10-21 21:13:00
Diffstat (limited to 'tex/context/fonts/mkiv/minion-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/minion-math.lfg48
1 files changed, 16 insertions, 32 deletions
diff --git a/tex/context/fonts/mkiv/minion-math.lfg b/tex/context/fonts/mkiv/minion-math.lfg
index 5216e1289..a768c0518 100644
--- a/tex/context/fonts/mkiv/minion-math.lfg
+++ b/tex/context/fonts/mkiv/minion-math.lfg
@@ -2,18 +2,6 @@
-- ConTeXt (math) develoipment have official copies of all the text minion and math
-- fonts without restrictions of usage in documents.
-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
-
local common = fonts.goodies.load("common-math.lfg")
local presets = common.mathematics.tweaks.presets
@@ -67,24 +55,19 @@ return {
{
tweak = "addmirrors",
},
- presets.matheulercalligraphic { rscale = 0.95 },
- presets.mathrsfscript { rscale = 0.95 },
- presets.mathxitsarabic { rscale = 0.88 },
+ presets.rsfstoscript { rscale = 0.97 },
+ presets.rsfsuprighttoscript { rscale = 0.97 },
+ presets.moderntocalligraphic { rscale = 0.97 },
+ presets.eulertocalligraphic { rscale = 0.97 },
+ presets.xitsarabic { rscale = 0.88 },
+ presets.fallbacks { },
+ presets.moveitalics { correct = true },
+ presets.moveitalics { correct = true, letters = true },
+ presets.moveintegrals { factor = 1.3 },
+ presets.wipeitalics { },
{
tweak = "simplifykerns",
},
- presets.moveitalics {
- correct = true
- },
- { -- Check!
- tweak = "replacealphabets",
- list = {
- {
- source = "uppercasecalligraphic",
- target = "uppercasescript",
- },
- },
- },
{
tweak = "extendaccents",
},
@@ -115,12 +98,13 @@ return {
tweak = "addfourier",
variant = 1,
},
+ -- this is the mkiv section
+ {
+ tweak = "emulatelmtx",
+ feature = "emulatelmtx",
+ comment = "this is for mkiv",
+ },
},
},
- --
- -- experimental fixes for mkiv:
- --
- dimensions = dimensions,
- kerns = kerns,
},
}