% ConTeXt support of SEMAF font
% (C) Vit Zyka, 2008, vit.zyka@seznam.cz, license: GNU GPL
% semaf font: (C) Vit Zyka, license: see www.stormtype.com
%
\tracetypescriptstrue

% -map -------------------------------------------------------------------
\starttypescript [map] [semaf,semaf-person,semaf-empty] [ec]
  \loadmapfile[semaf.map]
\stoptypescript

% -base pillar -----------------------------------------------------------
\starttypescript [sans] [semaf] [name]
  \setups [font:fallback:sans]
  \definefontsynonym [Sans]		  [Semaf-Roman]
  \definefontsynonym [SansBold]	          [Semaf-Bold]
  \definefontsynonym [SansSlanted]	  [Semaf-Slanted]
  \definefontsynonym [SansBoldSlanted]    [Semaf-Bold-Slanted]
  \definefontsynonym [SansItalic]	  [Semaf-Slanted]
  \definefontsynonym [SansBoldItalic]	  [Semaf-Bold-Slanted]
  \definefontsynonym [SansRegular]        [Sans]
\stoptypescript

\starttypescript [sans] [semaf] [ec]
  \definefontsynonym [Semaf-Roman]        [smfr10]  [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Bold]         [smfb10]  [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Slanted]      [smfsl10] [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Bold-Slanted] [smfbsl10][encoding=\typescriptthree]
\stoptypescript

\starttypescript [mono] [semaf] [name]
  \setups [font:fallback:mono]
  \definefontsynonym [Mono]		  [Semaf-Mono-Roman]
  \definefontsynonym [MonoRegular]        [Mono]
\stoptypescript

\starttypescript [mono] [semaf] [ec]
  \definefontsynonym [Semaf-Mono-Roman]   [smftt10] [encoding=\typescriptthree]
\stoptypescript

% -person pillar ---------------------------------------------------------
\starttypescript [sans] [semaf-person] [name]
  \setups [font:fallback:sans]
  \definefontsynonym [Sans]		  [Semaf-Person-Roman]
  \definefontsynonym [SansBold]	          [Semaf-Person-Bold]
  \definefontsynonym [SansSlanted]	  [Semaf-Person-Slanted]
  \definefontsynonym [SansBoldSlanted]    [Semaf-Person-Bold-Slanted]
  \definefontsynonym [SansItalic]	  [Semaf-Person-Slanted]
  \definefontsynonym [SansBoldItalic]	  [Semaf-Person-Bold-Slanted]
  \definefontsynonym [SansRegular]        [Sans]
\stoptypescript

\starttypescript [sans] [semaf-person] [ec]
  \definefontsynonym [Semaf-Person-Roman]        [smfpr10]  [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Person-Bold]         [smfpb10]  [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Person-Slanted]      [smfpsl10] [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Person-Bold-Slanted] [smfpbsl10][encoding=\typescriptthree]
\stoptypescript

\starttypescript [mono] [semaf-person] [name]
  \setups [font:fallback:mono]
  \definefontsynonym [Mono]		  [Semaf-Mono-Person-Roman]
  \definefontsynonym [MonoRegular]        [Mono]
\stoptypescript

\starttypescript [mono] [semaf-person] [ec]
  \definefontsynonym [Semaf-Mono-Person-Roman]   [smfptt10] [encoding=\typescriptthree]
\stoptypescript

% -empty pillar ----------------------------------------------------------
\starttypescript [sans] [semaf-empty] [name]
  \setups [font:fallback:sans]
  \definefontsynonym [Sans]		  [Semaf-Empty-Roman]
  \definefontsynonym [SansBold]	          [Semaf-Empty-Bold]
  \definefontsynonym [SansSlanted]	  [Semaf-Empty-Slanted]
  \definefontsynonym [SansBoldSlanted]    [Semaf-Empty-Bold-Slanted]
  \definefontsynonym [SansItalic]	  [Semaf-Empty-Slanted]
  \definefontsynonym [SansBoldItalic]	  [Semaf-Empty-Bold-Slanted]
  \definefontsynonym [SansRegular]        [Sans]
\stoptypescript

\starttypescript [sans] [semaf-empty] [ec]
  \definefontsynonym [Semaf-Empty-Roman]        [smfer10]  [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Empty-Bold]         [smfeb10]  [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Empty-Slanted]      [smfesl10] [encoding=\typescriptthree]
  \definefontsynonym [Semaf-Empty-Bold-Slanted] [smfebsl10][encoding=\typescriptthree]
\stoptypescript

\starttypescript [mono] [semaf-empty] [name]
  \setups [font:fallback:mono]
  \definefontsynonym [Mono]		  [Semaf-Mono-Empty-Roman]
  \definefontsynonym [MonoRegular]        [Mono]
\stoptypescript

\starttypescript [mono] [semaf-empty] [ec]
  \definefontsynonym [Semaf-Mono-Empty-Roman]   [smfett10] [encoding=\typescriptthree]
\stoptypescript

% -exa --------------------------------------------------------------------
\starttypescript [Semaf] [ec]
  \definebodyfontenvironment [Semaf][default][interlinespace=1.2ex]
  \definetypeface [Semaf] [ss] [sans] [semaf] [default] [encoding=\typescripttwo]
  \definetypeface [Semaf] [tt] [mono] [semaf] [default] [encoding=\typescripttwo]
\stoptypescript

\starttypescript [Semaf-Person] [ec]
  \definebodyfontenvironment [Semaf-Person][default][interlinespace=1.2ex]
  \definetypeface [Semaf-Person] [ss] [sans] [semaf-person] [default] [encoding=\typescripttwo]
  \definetypeface [Semaf-Person] [tt] [mono] [semaf-person] [default] [encoding=\typescripttwo]
\stoptypescript

\starttypescript [Semaf-Empty] [ec]
  \definebodyfontenvironment [Semaf][default][interlinespace=1.2ex]
  \definetypeface [Semaf-Empty] [ss] [sans] [semaf-empty] [default] [encoding=\typescripttwo]
  \definetypeface [Semaf-Empty] [tt] [mono] [semaf-empty] [default] [encoding=\typescripttwo]
\stoptypescript

\endinput

% end of t-type-semaf.tex
