diff options
Diffstat (limited to 'tex/context/fonts/mkiv/lucida-opentype-math.lfg')
-rw-r--r-- | tex/context/fonts/mkiv/lucida-opentype-math.lfg | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/tex/context/fonts/mkiv/lucida-opentype-math.lfg b/tex/context/fonts/mkiv/lucida-opentype-math.lfg index 1ca9e77eb..a8cd48ca2 100644 --- a/tex/context/fonts/mkiv/lucida-opentype-math.lfg +++ b/tex/context/fonts/mkiv/lucida-opentype-math.lfg @@ -24,6 +24,12 @@ local dimensions, kerns if CONTEXTLMTXMODE == 0 then end +-- When set this will bypass the italic correction hackery! +local integral_variants = { bottomright = -0.20 } +-- local integral_top = { topright = 0.05 } +local integral_bottom = { bottomright = -0.45 } + + return { name = "lucida-opentype-math", version = "1.00", @@ -113,6 +119,54 @@ return { -- topright = 0, bottomright = -0.2, }, + + ["0x7D.parts.top"] = { + topright = -0.15, + }, -- right brace top + ["0x7D.parts.bottom"] = { + bottomright = -0.15, + }, -- right brace bottom + ["0x7D.variants.*"] = { + topright = -0.15, + bottomright = -0.15, + }, -- right brace variants + ["0x29.parts.top"] = { + topright = -0.25, + }, -- right parenthesis top + ["0x29.parts.bottom"] = { + bottomright = -0.25, + }, -- right parenthesis bottom + ["0x29.variants.*"] = { + topright = -0.2, + bottomright = -0.2, + }, -- right parenthesis variants + ["0x221A.parts.top"] = { + topright = 0.2, + }, -- right radical top + ["0x221A.parts.bottom"] = { + bottomright = 0.2, + }, -- right radical bottom + ["0x221A.variants.*"] = { + topright = 0.2, + bottomright = 0.2, + }, -- right radical variants + + -- angle + [0x27E9] = { topright = -0.2, bottomright = -0.2 }, + ["0x27E9.variants.*"] = { topright = -0.3, bottomright = -0.3 }, + [0x27EB] = { topright = -0.2, bottomright = -0.2 }, + ["0x27EB.variants.*"] = { topright = -0.3, bottomright = -0.3 }, + + ["0x222B.variants.*"] = integral_variants, ["0x222B.parts.top"] = integral_top, ["0x222B.parts.bottom"] = integral_bottom, + ["0x222C.variants.*"] = integral_variants, ["0x222C.parts.top"] = integral_top, ["0x222C.parts.bottom"] = integral_bottom, + ["0x222D.variants.*"] = integral_variants, ["0x222D.parts.top"] = integral_top, ["0x222D.parts.bottom"] = integral_bottom, + ["0x222E.variants.*"] = integral_variants, ["0x222E.parts.top"] = integral_top, ["0x222E.parts.bottom"] = integral_bottom, + ["0x222F.variants.*"] = integral_variants, ["0x222F.parts.top"] = integral_top, ["0x222F.parts.bottom"] = integral_bottom, + ["0x2230.variants.*"] = integral_variants, ["0x2230.parts.top"] = integral_top, ["0x2230.parts.bottom"] = integral_bottom, + ["0x2231.variants.*"] = integral_variants, ["0x2231.parts.top"] = integral_top, ["0x2231.parts.bottom"] = integral_bottom, + ["0x2232.variants.*"] = integral_variants, ["0x2232.parts.top"] = integral_top, ["0x2232.parts.bottom"] = integral_bottom, + ["0x2233.variants.*"] = integral_variants, ["0x2233.parts.top"] = integral_top, ["0x2233.parts.bottom"] = integral_bottom, + }, }, { |