summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/xits-math.lfg
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/fonts/mkiv/xits-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/xits-math.lfg45
1 files changed, 31 insertions, 14 deletions
diff --git a/tex/context/fonts/mkiv/xits-math.lfg b/tex/context/fonts/mkiv/xits-math.lfg
index 374f03a0e..9eb1a1200 100644
--- a/tex/context/fonts/mkiv/xits-math.lfg
+++ b/tex/context/fonts/mkiv/xits-math.lfg
@@ -45,6 +45,31 @@ return {
expected = "Version 1.302",
},
{
+ tweak = "replacealphabets",
+ list = {
+ {
+ source = "uppercasescript",
+ target = "uppercasecalligraphic",
+ },
+ {
+ source = "uppercasescript",
+ target = "uppercasescript",
+ feature = "ss01",
+ },
+ },
+ },
+ presets.scripttocalligraphic { },
+ presets.rsfstoscript { rscale = 0.95 },
+ presets.rsfsuprighttoscript { rscale = 0.95 },
+ presets.moderntocalligraphic { rscale = 0.95 },
+ presets.eulertocalligraphic { rscale = 0.95 },
+ presets.xitsarabic { rscale = 0.88 },
+ presets.fallbacks { },
+ presets.moveitalics { correct = true },
+ presets.moveitalics { correct = true, letters = true },
+ presets.moveintegrals { factor = 1.4 },
+ presets.wipeitalics { },
+ {
tweak = "kerns",
list = {
[0x2F] = {
@@ -55,20 +80,6 @@ return {
},
},
},
- -- 0xFEOO should be chancery style, if present
- {
- tweak = "variants",
- kind = "script",
- feature = "ss01",-- this changes to chancery style for xits
- -- 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 = {
@@ -96,6 +107,12 @@ return {
tweak = "setoptions",
set = { "ignorekerndimensions" }
},
+ -- this is the mkiv section
+ {
+ tweak = "emulatelmtx",
+ feature = "emulatelmtx",
+ comment = "this is for mkiv",
+ },
},
},
alternates = {