summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/fonts/mkiv/stixtwo-math.lfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/fonts/mkiv/stixtwo-math.lfg')
-rw-r--r--Master/texmf-dist/tex/context/fonts/mkiv/stixtwo-math.lfg49
1 files changed, 38 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/context/fonts/mkiv/stixtwo-math.lfg b/Master/texmf-dist/tex/context/fonts/mkiv/stixtwo-math.lfg
index 881de752381..811daffdbea 100644
--- a/Master/texmf-dist/tex/context/fonts/mkiv/stixtwo-math.lfg
+++ b/Master/texmf-dist/tex/context/fonts/mkiv/stixtwo-math.lfg
@@ -52,11 +52,16 @@ return {
AccentBaseDepth = 30,
FlattenedAccentTopShiftUp = 0,
RadicalKernAfterDegree = -500,
- DelimiterPercent = 90,
- DelimiterShortfall = 400,
+ DelimiterPercent = 85,
+ DelimiterShortfall = 400,
+ DelimiterDisplayPercent = 90,
+ DelimiterDisplayShortfall = 400,
DisplayOperatorMinHeight = 1800, -- 1800 in font
PrimeShiftUp = "1.3*SuperscriptShiftUp",
PrimeShiftUpCramped = "1.3*SuperscriptShiftUp",
+ RadicalDisplayStyleVerticalGap = "RadicalVerticalGap", --170, 85
+-- SuperscriptSnap = 1000,
+-- SubscriptSnap = 500,
},
tweaks = {
aftercopying = {
@@ -76,13 +81,34 @@ return {
tweak = "replacealphabets",
list = {
{
- source = "uppercasescript",
- target = "uppercasecalligraphic",
+ source = "uppercasescript",
+ target = "uppercasecalligraphic",
+ unicode = "uppercasescript",
},
{
- source = "uppercasescript",
- target = "uppercasescript",
- feature = "ss01",
+ source = "uppercasescript",
+ target = "uppercasescript",
+ feature = "ss01",
+ },
+ {
+ source = { first = 0xE17D, last = 0xE195 },
+ target = "uppercasesansgreek",
+ unicode = "uppercasegreeknormal",
+ },
+ {
+ source = { first = 0xE196, last = 0xE1AE }, -- maybe last = E1B3
+ target = "lowercasesansgreek",
+ unicode = "lowercasegreeknormal",
+ },
+ {
+ source = { first = 0xE1BF, last = 0xE1D7 },
+ target = "uppercaseitalicsansgreek",
+ unicode = "uppercasegreekitalic",
+ },
+ {
+ source = { first = 0xE1D8, last = 0xE1F0 }, -- maybe last = E1F5
+ target = "lowercaseitalicsansgreek",
+ unicode = "lowercasegreekitalic",
},
},
},
@@ -199,10 +225,6 @@ return {
{
tweak = "fixslashes",
},
- { -- already exists, but not good spacing
- tweak = "addbars",
- advance = 0.4,
- },
{
tweak = "replacerules",
minus = {
@@ -251,6 +273,11 @@ return {
}
}
},
+{
+ tweak = "addbars",
+ advance = 0.3,
+ check = true, -- only add triples
+},
-- this is the mkiv section
{
tweak = "emulatelmtx",