summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/minion-math.lfg
diff options
context:
space:
mode:
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,
},
}