%D \module
%D   [       file=type-mgopen,
%D        version=2008.07.27,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=MgOpen Collection,
%D         author=Wolfgang Schuster,
%D           date=\currentdate,
%D      copyright=Wolfgang Schuster]
%C
%C Copyright 2009 Wolfgang Schuster.
%C This file may be distributed under the GNU General Public License v. 2.0.

\starttypescriptcollection [mgopen]

% Canonica

\starttypescript [serif] [mgopen-canonica]
    \setups[font:fallback:serif]
    \definefontsynonym [Serif]           [MgOpenCanonica-Regular]    [features=default]
    \definefontsynonym [SerifItalic]     [MgOpenCanonica-Italic]     [features=default]
    \definefontsynonym [SerifBold]       [MgOpenCanonica-Bold]       [features=default]
    \definefontsynonym [SerifBoldItalic] [MgOpenCanonica-BoldItalic] [features=default]
\stoptypescript

\starttypescript [mgopen-canonica]
    \definetypeface [mgopen-canonica] [rm] [serif] [mgopen-canonica] [default]
\stoptypescript

% Cosmetica

\starttypescript [sans] [mgopen-cosmetica]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [MgOpenCosmetica-Regular]    [features=default]
    \definefontsynonym [SansItalic]     [MgOpenCosmetica-Italic]     [features=default]
    \definefontsynonym [SansBold]       [MgOpenCosmetica-Bold]       [features=default]
    \definefontsynonym [SansBoldItalic] [MgOpenCosmetica-BoldItalic] [features=default]
\stoptypescript

\starttypescript [mgopen-cosmetica]
    \definetypeface [mgopen-cosmetica] [ss] [sans] [mgopen-cosmetica] [default]
\stoptypescript

% Moderna

\starttypescript [sans] [mgopen-moderna]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [MgOpenModerna-Regular]    [features=default]
    \definefontsynonym [SansItalic]     [MgOpenModerna-Italic]     [features=default]
    \definefontsynonym [SansBold]       [MgOpenModerna-Bold]       [features=default]
    \definefontsynonym [SansBoldItalic] [MgOpenModerna-BoldItalic] [features=default]
\stoptypescript

\starttypescript [mgopen-moderna]
    \definetypeface [mgopen-moderna] [ss] [sans] [mgopen-moderna] [default]
\stoptypescript

% Modata

\starttypescript [sans] [mgopen-modata]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [MgOpenModata-Regular]    [features=default]
    \definefontsynonym [SansItalic]     [MgOpenModata-Italic]     [features=default]
    \definefontsynonym [SansBold]       [MgOpenModata-Bold]       [features=default]
    \definefontsynonym [SansBoldItalic] [MgOpenModata-BoldItalic] [features=default]
\stoptypescript

\starttypescript [mgopen-modata]
    \definetypeface [mgopen-modata] [ss] [sans] [mgopen-modata] [default]
\stoptypescript

\stoptypescriptcollection

\loadmarkfile{type-mgopen}

\endinput
