diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-11-13 20:59:32 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-11-13 20:59:32 +0100 |
commit | a1b3f047bf4bc1043366fc8556099cda37e83dab (patch) | |
tree | 87ec3c08ddfc162934969c72a8c29f7980778af1 /tex/context/fonts/mkiv/ebgaramond.lfg | |
parent | e1968f3ee77c1485c06a567aed0bc0e2eb5c7d01 (diff) | |
download | context-a1b3f047bf4bc1043366fc8556099cda37e83dab.tar.gz |
2021-11-13 20:35:00
Diffstat (limited to 'tex/context/fonts/mkiv/ebgaramond.lfg')
-rw-r--r-- | tex/context/fonts/mkiv/ebgaramond.lfg | 46 |
1 files changed, 20 insertions, 26 deletions
diff --git a/tex/context/fonts/mkiv/ebgaramond.lfg b/tex/context/fonts/mkiv/ebgaramond.lfg index 862e4e85d..7a509893d 100644 --- a/tex/context/fonts/mkiv/ebgaramond.lfg +++ b/tex/context/fonts/mkiv/ebgaramond.lfg @@ -5,32 +5,26 @@ return { author = "Hans Hagen", copyright = "ConTeXt development team", mathematics = { --- tweaks = { --- aftercopying = { --- function(target,original,...) --- local crap = { --- [0x1D453] = { .20, 1.20 }, --- [0x1D454] = { .15, 1.15 }, --- } --- local characters = target.characters --- local function adapt(k,v) --- local character = characters[k] --- local width = character.width --- character.width = v[2]*width --- -- character.commands = { { "offset", v[1]*width, 0, k } } --- character.xoffset = v[1]*width --- local smaller = original.characters[k].smaller --- if smaller and smaller ~= k then --- adapt(smaller,v) --- end --- end --- for k, v in next, crap do --- adapt(k,v) --- end --- end, --- }, --- }, - + tweaks = { + aftercopying = { + { + tweak = "dimensions", + list = { + [0x1D453] = { 0, 1, .2 }, -- offset width italic + }, + }, + { + tweak = "fixprimes", + factor = 0.85, + }, + { + tweak = "checkspacing", + }, + { + tweak = "addscripts", + }, + }, + }, alternates = { partial = { feature = 'ss02', value = 1, comment = "Curved partial" }, semibold = { feature = 'ss04', value = 1, comment = "Semibold" }, |