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/xits-math.lfg | |
parent | e1968f3ee77c1485c06a567aed0bc0e2eb5c7d01 (diff) | |
download | context-a1b3f047bf4bc1043366fc8556099cda37e83dab.tar.gz |
2021-11-13 20:35:00
Diffstat (limited to 'tex/context/fonts/mkiv/xits-math.lfg')
-rw-r--r-- | tex/context/fonts/mkiv/xits-math.lfg | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/tex/context/fonts/mkiv/xits-math.lfg b/tex/context/fonts/mkiv/xits-math.lfg index 88d3a8d45..f166afc80 100644 --- a/tex/context/fonts/mkiv/xits-math.lfg +++ b/tex/context/fonts/mkiv/xits-math.lfg @@ -1,23 +1,3 @@ --- \setupbodyfont[xits] --- --- $ABC$ $\cal ABC$ $\mathalternate{cal}\cal ABC$ --- --- \setupmathematics[italics=1] test $a;b;a; b; f;$ test\par % fontitalics --- \setupmathematics[italics=2] test $a;b;a; b; f;$ test\par % fontdata --- \setupmathematics[italics=3] test $a;b;a; b; f;$ test\par % quad based --- \setupmathematics[italics=4] test $a;b;a; b; f;$ test\par % combination of 1 and 3 - -local italics = { - defaultfactor = 0.025, - disableengine = true, - corrections = { - -- [0x1D44E] = 0.99, -- a (fraction of quad) - -- [0x1D44F] = 100, -- b (font points) - [0x1D453] = -0.0375, -- f - -- todo: ssty 1/2 - } -} - return { name = "xits-math", version = "1.00", @@ -35,14 +15,26 @@ return { }, }, mathematics = { - -- italics = { - -- ["xits-math"] = italics, - -- }, - -- kernpairs = { - -- [0x1D44A] = { -- 𝑊 - -- [0x1D434] = -200, -- 𝐴 - -- }, - -- }, + tweaks = { + aftercopying = { + { + tweak = "dimensions", + list = { + -- nothing yet + }, + }, + { + tweak = "fixprimes", + factor = 0.85, + }, + { + tweak = "checkspacing", + }, + { + tweak = "addscripts", + }, + }, + }, alternates = { calligraphic = { feature = 'ss01', value = 1, comment = "Mathematical Calligraphic Alphabet" }, greekssup = { feature = 'ss02', value = 1, comment = "Mathematical Greek Sans Serif Alphabet" }, |