%% public version
%% Copyright 2008 Clea F. Rees
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Clea F. Rees.
%
% This work consists of all files listed in manifest.txt.
\input fontinst.sty
\needsfontinstversion{1.926}
%:substitutions
%bold for bold extended
\substitutesilent{bx}{b}
\substitutesilent{sl}{it}
\substitutesilent{si}{sc}
\substitutesilent{sc}{n}
%:simulate small caps (if optical small caps are unavailable)
%800 is fontinst's default
\setint{smallcapsscale}{800}
%:record transformations for later map file creation
\recordtransforms{yv2-rec.tex}
%:transformations - reencode
	\transformfont{yv2r8r}{\reencodefont{8r}{\fromafm{yv2r8a}}}
	\transformfont{yv2ri8r}{\reencodefont{8r}{\fromafm{yv2ri8a}}}
	\transformfont{yv2b8r}{\reencodefont{8r}{\fromafm{yv2b8a}}}
	\transformfont{yv2bi8r}{\reencodefont{8r}{\fromafm{yv2bi8a}}}
%reencode condensed widths
	\transformfont{yv2r8rc}{\reencodefont{8r}{\fromafm{yv2r8ac}}}
	\transformfont{yv2ri8rc}{\reencodefont{8r}{\fromafm{yv2ri8ac}}}
	\transformfont{yv2b8rc}{\reencodefont{8r}{\fromafm{yv2b8ac}}}
	\transformfont{yv2bi8rc}{\reencodefont{8r}{\fromafm{yv2bi8ac}}}
%reencode expanded widths
	\transformfont{yv2m8r}{\reencodefont{8r}{\fromafm{yv2m8a}}}
	\transformfont{yv2mi8r}{\reencodefont{8r}{\fromafm{yv2mi8a}}}
	\transformfont{yv2x8r}{\reencodefont{8r}{\fromafm{yv2x8a}}}
	\transformfont{yv2xi8r}{\reencodefont{8r}{\fromafm{yv2xi8a}}}
%:installation - creation of virtual fonts
	\installfonts
		\installfamily{T1}{yv2}{}
		\installfont{yv2r8t}{yv2r8r,newlatin}{t1}{T1}{yv2}{m}{n}{}
%:if simulating small caps
		\installfont{yv2ri8t}{yv2ri8r,newlatin}{t1}{T1}{yv2}{m}{it}{}
%:repeat for bold fonts
		\installfont{yv2b8t}{yv2b8r,newlatin}{t1}{T1}{yv2}{b}{n}{}
		\installfont{yv2bi8t}{yv2bi8r,newlatin}{t1}{T1}{yv2}{b}{it}{}
%:condensed widths
		\installfont{yv2r8tc}{yv2r8rc,newlatin}{t1}{T1}{yv2}{mc}{n}{}
		\installfont{yv2ri8tc}{yv2ri8rc,newlatin}{t1}{T1}{yv2}{mc}{it}{}
%:bold condensed
		\installfont{yv2b8tc}{yv2b8rc,newlatin}{t1}{T1}{yv2}{bc}{n}{}
		\installfont{yv2bi8tc}{yv2bi8rc,newlatin}{t1}{T1}{yv2}{bc}{it}{}
%:expanded widths
		\installfont{yv2m8t}{yv2m8r,newlatin}{t1}{T1}{yv2}{mb}{n}{}
		\installfont{yv2mi8t}{yv2mi8r,newlatin}{t1}{T1}{yv2}{mb}{it}{}
%:bold expanded
		\installfont{yv2x8t}{yv2x8r,newlatin}{t1}{T1}{yv2}{eb}{n}{}
		\installfont{yv2xi8t}{yv2xi8r,newlatin}{t1}{T1}{yv2}{eb}{it}{}
%:if simulating small caps
		\installfamily{TS1}{yv2}{}
		\installfont{yv2r8c}{yv2r8r,textcomp}{ts1}{TS1}{yv2}{m}{n}{}
%TS1 deals with symbols, so small-caps are the same, but we want the symbols to be available when the shape sc is active
		\installfont{yv2ri8c}{yv2ri8r,textcomp}{ts1}{TS1}{yv2}{m}{it}{}
%:repeat for bold fonts
		\installfont{yv2b8c}{yv2b8r,textcomp}{ts1}{TS1}{yv2}{b}{n}{}
		\installfont{yv2bi8c}{yv2bi8r,textcomp}{ts1}{TS1}{yv2}{b}{it}{}
%:and condensed widths
		\installfont{yv2r8cc}{yv2r8rc,textcomp}{ts1}{TS1}{yv2}{mc}{n}{}
		\installfont{yv2ri8cc}{yv2ri8rc,textcomp}{ts1}{TS1}{yv2}{mc}{it}{}
%:and bold condensed
		\installfont{yv2b8cc}{yv2b8rc,textcomp}{ts1}{TS1}{yv2}{bc}{n}{}
		\installfont{yv2bi8cc}{yv2bi8rc,textcomp}{ts1}{TS1}{yv2}{bc}{it}{}
%:and expanded widths
		\installfont{yv2m8c}{yv2m8r,textcomp}{ts1}{TS1}{yv2}{mb}{n}{}
		\installfont{yv2mi8c}{yv2mi8r,textcomp}{ts1}{TS1}{yv2}{mb}{it}{}
%:and bold expanded
		\installfont{yv2x8c}{yv2x8r,textcomp}{ts1}{TS1}{yv2}{eb}{n}{}
		\installfont{yv2xi8c}{yv2xi8r,textcomp}{ts1}{TS1}{yv2}{eb}{it}{}
	\endinstallfonts
\endrecordtransforms
\bye
