% Macros to use the Voynich EVA font (METAFONT version)
% \newcommand{\lastedit}{2026-02-05 12:08:22 by stolfi}

\makeatletter \endlinechar=-1

  \DeclareFontEncoding{T1}{}{}
  \DeclareFontFamily{T1}{voy}{}
  \DeclareFontShape{T1}{voy}{m}{n}{ <-> voyeva12 }{}

  \def\eva#1{\hbox{\fontencoding{T1}\fontfamily{voy}\selectfont #1}}
  
  \def\evasfont{\small\fontencoding{T1}\fontfamily{voy}\selectfont}
  \def\evas#1{\hbox{\evasfont #1}}
  \newcommand{\evasstrut}{{\evasfont\vrule height 3.7ex depth 1.2ex width 0pt}}
  \newcommand{\evasstrutt}{{\evasfont\vrule height 3.9ex depth 1.4ex width 0pt}}
  \newcommand{\evasstruttt}{{\evasfont\vrule height 4.2ex depth 1.7ex width 0pt}}
  
  \def\evaafont{\normalsize\fontencoding{T1}\fontfamily{voy}\selectfont}
  \def\evaa#1{\hbox{\evaafont #1}}
  \newcommand{\evaastrut}{{\evaafont\vrule height 3.7ex depth 1.2ex width 0pt}}
  \newcommand{\evaastrutt}{{\evaafont\vrule height 3.9ex depth 1.4ex width 0pt}}
  \newcommand{\evaastruttt}{{\evaafont\vrule height 4.2ex depth 1.7ex width 0pt}}
  
  \def\evabfont{\Large\fontencoding{T1}\fontfamily{voy}\selectfont}
  \def\evab#1{\hbox{\evabfont #1}}
  \newcommand{\evabstrut}{{\evabfont\vrule height 3.7ex depth 1.2ex width 0pt}}
  \newcommand{\evabstrutt}{{\evabfont\vrule height 3.9ex depth 1.4ex width 0pt}}
  \newcommand{\evabstruttt}{{\evabfont\vrule height 4.2ex depth 1.7ex width 0pt}}
  
  \def\evacfont{\huge\fontencoding{T1}\fontfamily{voy}\selectfont}
  \def\evac#1{\hbox{\evacfont #1}}
  \newcommand{\evacstrut}{{\evacfont\vrule height 3.7ex depth 1.2ex width 0pt}}
  \newcommand{\evacstrutt}{{\evacfont\vrule height 3.9ex depth 1.4ex width 0pt}}
  \newcommand{\evacstruttt}{{\evacfont\vrule height 4.2ex depth 1.7ex width 0pt}}
  
  \def\evadfont{\Huge\fontencoding{T1}\fontfamily{voy}\selectfont}
  \def\evad#1{\hbox{\evadfont #1}}
  \newcommand{\evadstrut}{{\evadfont\vrule height 3.7ex depth 1.2ex width 0pt}}
  \newcommand{\evadstrutt}{{\evadfont\vrule height 3.9ex depth 1.4ex width 0pt}}
  \newcommand{\evadstruttt}{{\evadfont\vrule height 4.2ex depth 1.7ex width 0pt}}
  
  \def\evagfont{\HUGE\fontencoding{T1}\fontfamily{voy}\selectfont}
  \def\evag#1{\hbox{\evagfont #1}}
  \newcommand{\evagstrut}{{\evagfont\vrule height 3.7ex depth 1.2ex width 0pt}}
  \newcommand{\evagstrutt}{{\evagfont\vrule height 3.9ex depth 1.4ex width 0pt}}
  \newcommand{\evagstruttt}{{\evagfont\vrule height 4.2ex depth 1.7ex width 0pt}}

  % Special EVA characters:
  \def\evdot{\char`\:}
  \def\evast{\char`\*}
  \def\evbox{\char`\#}
  \def\evspc{\char`\.}
  
  % Sets of EVA strings:
  \def\evset#1{\{#1\}}
  
  % Compositions of gliphs and glyph pieces:
  \def\evaccent#1#2{\hbox{\hbox to 0pt{#1\hss}#2}}
        
  
\makeatother \endlinechar=`\^^M

% END
