diff options
author | Hans Hagen <pragma@wxs.nl> | 2016-12-05 15:15:35 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-12-05 15:15:35 +0100 |
commit | ae375264381ae74f70415b2351bdbf209248e1af (patch) | |
tree | 53b73e40d13451a146c3bdac8a1d54431862c449 /tex/context/fonts/mkiv/type-imp-stix.mkiv | |
parent | e677a7fb12047017595fb29e212463dcb1cb2fa6 (diff) | |
download | context-ae375264381ae74f70415b2351bdbf209248e1af.tar.gz |
2016-12-05 14:50:00
Diffstat (limited to 'tex/context/fonts/mkiv/type-imp-stix.mkiv')
-rw-r--r-- | tex/context/fonts/mkiv/type-imp-stix.mkiv | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/tex/context/fonts/mkiv/type-imp-stix.mkiv b/tex/context/fonts/mkiv/type-imp-stix.mkiv new file mode 100644 index 000000000..697037b43 --- /dev/null +++ b/tex/context/fonts/mkiv/type-imp-stix.mkiv @@ -0,0 +1,64 @@ +%D \module +%D [ file=type-otf, +%D version=2007.07.30, +%D title=\CONTEXT\ Typescript Macros, +%D subtitle=Stix, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +%D We provide typescripts for version one and two of the stix fonts. There is a +%D xits variant based on the first (not opentype) release that also provides +%D bidirectional math. + +\definefontfeature + [stixtwomath] + [ss02=yes] % otherwise weird (non italic) g + +\starttypescriptcollection[stix] + + % version one + + \starttypescript [\s!math] [stix] [\s!name] + \definefontsynonym[MathRoman][\s!file:stixmath-regular.otf] [\s!features={\s!math\mathsizesuffix,mathextra}] + \stoptypescript + + \starttypescript [\s!serif] [stix] [\s!name] + \setups[\s!font:\s!fallback:\s!serif] + \definefontsynonym[\s!Serif] [\s!file:stix-regular.otf] [\s!features=\s!default] + \definefontsynonym[\s!SerifBold] [\s!file:stix-bold.otf] [\s!features=\s!default] + \definefontsynonym[\s!SerifItalic] [\s!file:stix-italic.otf] [\s!features=\s!default] + \definefontsynonym[\s!SerifBoldItalic][\s!file:stix-bolditalic.otf][\s!features=\s!default] + \stoptypescript + + \starttypescript[stix] + \definetypeface [stix] [\s!rm] [\s!serif] [stix] [\s!default] + \definetypeface [stix] [\s!mm] [\s!math] [stix] [\s!default] + \stoptypescript + + % version two + + \starttypescript [\s!math] [stixtwo] [\s!name] + \definefontsynonym[MathRoman][\s!file:stix2math.otf] [\s!features={\s!math\mathsizesuffix,stixtwomath,mathextra},\s!goodies=stix-two-math] + \stoptypescript + + \starttypescript [\s!serif] [stixtwo] [\s!name] + \setups[\s!font:\s!fallback:\s!serif] + \definefontsynonym[\s!Serif] [\s!file:stix2text-regular.otf] [\s!features=\s!default] + \definefontsynonym[\s!SerifBold] [\s!file:stix2text-bold.otf] [\s!features=\s!default] + \definefontsynonym[\s!SerifItalic] [\s!file:stix2text-italic.otf] [\s!features=\s!default] + \definefontsynonym[\s!SerifBoldItalic][\s!file:stix2text-bolditalic.otf][\s!features=\s!default] + \stoptypescript + + \starttypescript[stixtwo] + \definetypeface [\typescriptone] [\s!rm] [\s!serif] [stixtwo] [\s!default] + \definetypeface [\typescriptone] [\s!ss] [\s!serif] [stixtwo] [\s!default] + \definetypeface [\typescriptone] [\s!tt] [\s!mono] [dejavu] [\s!default] [\s!rscale=0.895] + \definetypeface [\typescriptone] [\s!mm] [\s!math] [stixtwo] [\s!default] + \stoptypescript + +\stoptypescriptcollection |