%D \module

%D   [       file=type-vista,

%D        version=2008.06.08,

%D          title=\CONTEXT\ Typescript Macros,

%D       subtitle=Vista Font Definitions,

%D         author=Wolfgang Schuster,

%D           date=\currentdate,

%D      copyright=Wolfgang Schuster]



\definefontfeature[latin-default]  [default]  [script=latn]

\definefontfeature[latin-smallcaps][smallcaps][script=latn]

\definefontfeature[latin-oldstyle] [oldstyle] [script=latn]



\starttypescriptcollection[vista]



\starttypescript [serif] [cambria,constantia]

  \setups[font:fallback:serif]

  \definefontsynonym [Serif]           [\typescripttwo-Regular]    [features=latin-default]

  \definefontsynonym [SerifBold]       [\typescripttwo-Bold]       [features=latin-default]

  \definefontsynonym [SerifItalic]     [\typescripttwo-Italic]     [features=latin-default]

  \definefontsynonym [SerifBoldItalic] [\typescripttwo-BoldItalic] [features=latin-default]

  \definefontsynonym [SerifCaps]       [Serif]                     [features=latin-smallcaps]

\stoptypescript



\starttypescript [sans] [calibri,candara,corbel]

  \setups[font:fallback:sans]

  \definefontsynonym [Sans]           [\typescripttwo-Regular]    [features=latin-default]

  \definefontsynonym [SansBold]       [\typescripttwo-Bold]       [features=latin-default]

  \definefontsynonym [SansItalic]     [\typescripttwo-Italic]     [features=latin-default]

  \definefontsynonym [SansBoldItalic] [\typescripttwo-BoldItalic] [features=latin-default]

  \definefontsynonym [SansCaps]       [Sans]                      [features=latin-smallcaps]

\stoptypescript



\starttypescript [mono] [consolas]

  \setups[font:fallback:mono]

  \definefontsynonym [Mono]           [\typescripttwo-Regular]    [features=latin-default]

  \definefontsynonym [MonoBold]       [\typescripttwo-Bold]       [features=latin-default]

  \definefontsynonym [MonoItalic]     [\typescripttwo-Italic]     [features=latin-default]

  \definefontsynonym [MonoBoldItalic] [\typescripttwo-BoldItalic] [features=latin-default]

\stoptypescript



\definetypescriptprefix [f:cambria]    [CAMBRIA]

\definetypescriptprefix [f:constantia] [CONSTAN]

\definetypescriptprefix [f:calibri]    [CALIBRI]

\definetypescriptprefix [f:candara]    [CANDARA]

\definetypescriptprefix [f:corbel]     [CORBEL]

\definetypescriptprefix [f:consolas]   [CONSOLA]



\starttypescript [serif] [cambria,constantia]

  \definefontsynonym [\typescripttwo-Regular]    [file:\typescriptprefix{f:\typescripttwo}]  [features=latin-default]

  \definefontsynonym [\typescripttwo-Bold]       [file:\typescriptprefix{f:\typescripttwo}B] [features=latin-default]

  \definefontsynonym [\typescripttwo-Italic]     [file:\typescriptprefix{f:\typescripttwo}I] [features=latin-default]

  \definefontsynonym [\typescripttwo-BoldItalic] [file:\typescriptprefix{f:\typescripttwo}Z] [features=latin-default]

\stoptypescript



\starttypescript [sans] [calibri,candara,corbel]

  \definefontsynonym [\typescripttwo-Regular]    [file:\typescriptprefix{f:\typescripttwo}]  [features=latin-default]

  \definefontsynonym [\typescripttwo-Bold]       [file:\typescriptprefix{f:\typescripttwo}B] [features=latin-default]

  \definefontsynonym [\typescripttwo-Italic]     [file:\typescriptprefix{f:\typescripttwo}I] [features=latin-default]

  \definefontsynonym [\typescripttwo-BoldItalic] [file:\typescriptprefix{f:\typescripttwo}Z] [features=latin-default]

\stoptypescript



\starttypescript [mono] [consolas]

  \definefontsynonym [\typescripttwo-Regular]    [file:\typescriptprefix{f:\typescripttwo}]  [features=latin-default]

  \definefontsynonym [\typescripttwo-Bold]       [file:\typescriptprefix{f:\typescripttwo}B] [features=latin-default]

  \definefontsynonym [\typescripttwo-Italic]     [file:\typescriptprefix{f:\typescripttwo}I] [features=latin-default]

  \definefontsynonym [\typescripttwo-BoldItalic] [file:\typescriptprefix{f:\typescripttwo}Z] [features=latin-default]

\stoptypescript



\starttypescript [cambria]

  \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default]

\stoptypescript



\starttypescript [constantia]

  \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default]

\stoptypescript



\starttypescript [calibri]

  \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default]

\stoptypescript



\starttypescript [candara]

  \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default]

\stoptypescript



\starttypescript [corbel]

  \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default]

\stoptypescript



\starttypescript [consolas]

  \definetypeface [\typescriptone] [tt] [mono] [\typescriptone] [default]

\stoptypescript



\stoptypescriptcollection



\endinput

