summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/dejavu-math.lfg
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/fonts/mkiv/dejavu-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/dejavu-math.lfg25
1 files changed, 14 insertions, 11 deletions
diff --git a/tex/context/fonts/mkiv/dejavu-math.lfg b/tex/context/fonts/mkiv/dejavu-math.lfg
index 728a5f2fc..af6a4bd55 100644
--- a/tex/context/fonts/mkiv/dejavu-math.lfg
+++ b/tex/context/fonts/mkiv/dejavu-math.lfg
@@ -24,8 +24,15 @@ return {
DelimiterPercent = 90,
DelimiterShortfall = 400,
DisplayOperatorMinHeight = 1800, -- 1333 in font
+ -- ScriptPercentScaleDown = 70, -- 80 in font (set in typescript)
+ -- ScriptScriptPercentScaleDown = 55, -- 65 in font (set in typescript)
+ SubscriptShiftDown = 177, -- 277 in font
+ SuperscriptShiftUp = 428, -- 381 in font
+ SubscriptShiftDownWithSuperscript = "1.3*SubscriptShiftDown", -- trial and error
-- PrimeRaisePercent = 50, -- 50 default
- PrimeRaiseComposedPercent = 10, -- 25 default
+ -- PrimeRaiseComposedPercent = 10, -- 25 default
+ PrimeShiftUp = "1.4*SuperscriptShiftUp",
+ PrimeShiftUpCramped = "1.4*SuperscriptShiftUp",
},
tweaks = {
aftercopying = {
@@ -33,17 +40,9 @@ return {
tweak = "version",
expected = "Version 1.106",
},
--- {
--- tweak = "fixprimes",
--- scale = 0.85,
--- -- smaller = true,
--- factor = 1,
--- },
{
tweak = "fixprimes",
- scale = 1,
- -- smaller = true,
- factor = 0.8,
+ factor = 0.63,
},
{
tweak = "addmirrors",
@@ -89,7 +88,8 @@ return {
[0x27EB] = { topright = -0.1, bottomright = -0.1 },
["0x27EB.variants.*"] = { topright = -0.2, bottomright = -0.2 },
--
-
+ [0x00393] = { bottomright = -0.30, }, -- upright Gamma
+ --
["0x222B.parts.bottom"] = { bottomright = -0.20 }, -- int
["0x222C.parts.bottom"] = { bottomright = -0.15 }, -- iint
["0x222D.parts.bottom"] = { bottomright = -0.10 }, -- iiint
@@ -197,6 +197,9 @@ return {
tweak = "addfourier",
variant = 1,
},
+ {
+ tweak = "addprimed",
+ },
-- this is the mkiv section
{
tweak = "emulatelmtx",