diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-12-07 21:44:10 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-12-07 21:44:10 +0100 |
commit | fb63eac7402fbd3bb00d7591cc4fbac1b2db2582 (patch) | |
tree | bf692e177e1d157ddf6a038407fc86539ff5048f /tex/context/fonts/mkiv/xcharter-math.lfg | |
parent | 265ba2a85e0945a37972e22f23bcaac16d6c08a1 (diff) | |
download | context-fb63eac7402fbd3bb00d7591cc4fbac1b2db2582.tar.gz |
2022-12-07 20:24:00
Diffstat (limited to 'tex/context/fonts/mkiv/xcharter-math.lfg')
-rw-r--r-- | tex/context/fonts/mkiv/xcharter-math.lfg | 61 |
1 files changed, 14 insertions, 47 deletions
diff --git a/tex/context/fonts/mkiv/xcharter-math.lfg b/tex/context/fonts/mkiv/xcharter-math.lfg index c91ea6fa7..1ff5d41d8 100644 --- a/tex/context/fonts/mkiv/xcharter-math.lfg +++ b/tex/context/fonts/mkiv/xcharter-math.lfg @@ -12,40 +12,21 @@ return { copyright = "ConTeXt development team", mathematics = { parameters = { - -- NoLimitSupFactor = 0, - -- NoLimitSubFactor = 900, - -- AccentBaseHeight = 0, - -- AccentBaseDepth = 60, - -- RadicalDegreeBottomRaisePercent = 55, - -- RadicalKernAfterDegree = -600, - -- RadicalRuleThickness = 45, -- 55 in font - -- DelimiterPercent = 90, - -- DelimiterShortfall = 400, - -- DisplayOperatorMinHeight = 1800, -- 1300 in font (one size) - SubscriptShiftDown = 200, -- 300 in font - SubscriptShiftDownWithSuperscript = "1.3*SubscriptShiftDown", -- 1.5* in math-act - PrimeShiftUp = "1.2*SuperscriptShiftUp", - PrimeShiftUpCramped = "1.2*SuperscriptShiftUp", + SubscriptShiftDown = 200, -- 300 in font + SubscriptShiftDownWithSuperscript = "1.3*SubscriptShiftDown", -- 1.5* in math-act + PrimeShiftUp = "1.2*SuperscriptShiftUp", + PrimeShiftUpCramped = "1.2*SuperscriptShiftUp", + PrimeBaselineDropMax = "0.5*SuperscriptBaselineDropMax", }, tweaks = { aftercopying = { { tweak = "fixprimes", factor = 0.92, - -- scale = 1, }, { tweak = "addmirrors", }, -{ - tweak = "dimensions", - list = { - -- ["0x222B.variants.*"] = { axis = 0.15 }, - }, -}, -{ - -- tweak = "fixintegrals", -}, presets.scripttocalligraphic { }, presets.rsfstoscript { }, presets.rsfsuprighttoscript { }, @@ -78,23 +59,12 @@ return { [0x00393] = { bottomright = -0.20, }, -- upright Gamma }, }, -{ - tweak = "radicaldegreeanchors", - list = { - -- [0x221A] = { location = "left", hfactor = .1, vfactor = .3 }, - -- ["0x221A.variants.*"] = { location = "left", hfactor = .1, vfactor = .625 }, - -- ["0x221A.variants.1"] = { location = "left", hfactor = .1, vfactor = .575 }, - -- ["0x221A.variants.2"] = { location = "left", hfactor = .1, vfactor = .575 }, - -- ["0x221A.variants.3"] = { location = "left", hfactor = .1, vfactor = .55 }, - -- ["0x221A.variants.4"] = { location = "left", hfactor = .1, vfactor = .55 }, - -- ["0x221A.variants.5"] = { location = "left", hfactor = .1, vfactor = .55 }, - -- ["0x221A.variants.5"] = { location = "left", hfactor = .1, vfactor = .55 }, - -- ["0x221Aq.variants.6"] = { location = "left", hfactor = .1, vfactor = .55 }, - -- ["0x221A.parts.top"] = { location = "left", hfactor = .1, vfactor = 5.5 }, -- keep commented: bottom wins over top - ["0x221A.parts.bottom"] = { location = "left", hfactor = .1, vfactor = 1.025 }, - } -}, - + { + tweak = "radicaldegreeanchors", + list = { + ["0x221A.parts.bottom"] = { location = "left", hfactor = .1, vfactor = 1.025 }, + } + }, { tweak = "checkspacing", }, @@ -114,6 +84,9 @@ return { tweak = "addequals", }, { + tweak = "addprimed", + }, + { tweak = "addfourier", variant = 2, }, @@ -121,12 +94,6 @@ return { tweak = "setoptions", -- set = { "ignorekerndimensions" } }, - -- this is the mkiv section --- { --- tweak = "emulatelmtx", --- feature = "emulatelmtx", --- comment = "this is for mkiv", --- }, }, }, bigslots = { |