diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-03-24 21:42:40 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-03-24 21:42:40 +0100 |
commit | 6a2738578157926c6ebd64048ddabb7d923b2be5 (patch) | |
tree | 908336b6d20b32c00548f2ee75ef8ae947979fb9 /tex/context/fonts/mkiv/lucida-opentype-math.lfg | |
parent | 188632f4b0f71c5170a20f1b151bde68f603bfd9 (diff) | |
download | context-6a2738578157926c6ebd64048ddabb7d923b2be5.tar.gz |
2022-03-24 21:17:00
Diffstat (limited to 'tex/context/fonts/mkiv/lucida-opentype-math.lfg')
-rw-r--r-- | tex/context/fonts/mkiv/lucida-opentype-math.lfg | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/tex/context/fonts/mkiv/lucida-opentype-math.lfg b/tex/context/fonts/mkiv/lucida-opentype-math.lfg index 769965386..6dc6eef2a 100644 --- a/tex/context/fonts/mkiv/lucida-opentype-math.lfg +++ b/tex/context/fonts/mkiv/lucida-opentype-math.lfg @@ -37,7 +37,7 @@ return { NoLimitSupFactor = 0, NoLimitSubFactor = 900, FractionRuleThickness = 55, - AccentBaseHeight = 650, + -- AccentBaseHeight = 650, AccentBaseDepth = 150, }, tweaks = { @@ -47,6 +47,29 @@ return { expected = "Version 1.802", }, { + tweak = "substitutes", + list = { + [0x2264] = "ss03", + [0x2265] = "ss03", + } + }, + -- \definefontfeature[mathlucida][copymathscripts=yes] + -- \definefontfeature[mathlucida][copymathscripts=yes,ss04=yes] + -- 0xFEOO should be chancery style, if present + { + tweak = "variants", + kind = "script", + feature = "ss04",-- this changes to chancery style for lucida + -- feature = false, -- use the saved ones (see typescript) + selector = 0xFE00, + }, + -- 0xFEO1 should be roundhand style, if present + { + tweak = "variants", + kind = "script", + selector = 0xFE01, + }, + { tweak = "dimensions", list = { -- these we fix here @@ -61,14 +84,14 @@ return { -- [0x23DD] = { depth = .6, yoffset = 0.4 }, }, }, - { - tweak = "fixprimes", - factor = 0.9, -- accent base height - -- smaller = true, -- replace multiples - scale = 1, -- glyph scale - -- fake = 0.65, -- replace multiples with this width proportion - -- keep = true, -- keep the text size prime (aka minute) - }, + { + tweak = "fixprimes", + factor = 0.8, -- accent base height + -- smaller = true, -- replace multiples + scale = 1.1, -- glyph scale + -- fake = 0.65, -- replace multiples with this width proportion + -- keep = true, -- keep the text size prime (aka minute) + }, { tweak = "checkspacing", }, @@ -84,12 +107,11 @@ return { }, }, alternates = { - italic = { feature = 'ss01', value = 1, comment = "Mathematical Alternative Lowercase Italic" }, + textitalic = { feature = 'ss01', value = 1, comment = "Mathematical Alternative Lowercase Italic" }, arrow = { feature = 'ss02', value = 1, comment = "Mathematical Alternative Smaller Arrows" }, operator = { feature = 'ss03', value = 1, comment = "Mathematical Alternative Smaller Operators" }, calligraphic = { feature = 'ss04', value = 1, comment = "Mathematical Alternative Calligraphic Characters" }, zero = { feature = 'ss05', value = 1, comment = "Mathematical Alternative Zero" }, - partial = { feature = 'ss20', value = 1, comment = "Mathematical Alternative Upright Partial Differential" }, }, bigslots = { 1, 2, 3, 4 |