\input fontinst.sty

\recordtransforms{fgm-rec.tex}

\transformfont{fgmr8r}{\reencodefont{8r}{\fromafm{fgmr8a}}}
\transformfont{fgmb8r}{\reencodefont{8r}{\fromafm{fgmb8a}}}
\transformfont{fgmr8xa}{\fromafm{fgmr8x}}
\transformfont{fgmb8xa}{\fromafm{fgmb8x}}

\transformfont{fgmrc8r}{\reencodefont{8r}{\fromafm{fgmrc8a}}}
\transformfont{fgmbc8r}{\reencodefont{8r}{\fromafm{fgmbc8a}}}

\transformfont{fgmri8r}{\reencodefont{8r}{\fromafm{fgmri8a}}}
\transformfont{fgmbi8r}{\reencodefont{8r}{\fromafm{fgmbi8a}}}
\transformfont{fgmri8xa}{\fromafm{fgmri8x}}
\transformfont{fgmbi8xa}{\fromafm{fgmbi8x}}

\transformfont{fgml8rc}{\reencodefont{8r}{\fromafm{fgml8ac}}}
\transformfont{fgmr8rc}{\reencodefont{8r}{\fromafm{fgmr8ac}}}
\transformfont{fgmb8rc}{\reencodefont{8r}{\fromafm{fgmb8ac}}}

\transformfont{fgmli8rc}{\reencodefont{8r}{\fromafm{fgmli8ac}}}
\transformfont{fgmri8rc}{\reencodefont{8r}{\fromafm{fgmri8ac}}}
\transformfont{fgmbi8rc}{\reencodefont{8r}{\fromafm{fgmbi8ac}}}

\installfonts

\installfamily{8r}{fgm}{}

\installrawfont{fgmr8r}{fgmr8r,8r}{8r}{8r}{fgm}{m}{n}{}
\installrawfont{fgmb8r}{fgmb8r,8r}{8r}{8r}{fgm}{b}{n}{}

\installrawfont{fgmrc8r}{fgmrc8r,8r}{8r}{8r}{fgm}{m}{sc}{}
\installrawfont{fgmbc8r}{fgmbc8r,8r}{8r}{8r}{fgm}{b}{sc}{}

\installrawfont{fgmri8r}{fgmri8r,8r}{8r}{8r}{fgm}{m}{it}{}
\installrawfont{fgmbi8r}{fgmbi8r,8r}{8r}{8r}{fgm}{b}{it}{}

\installrawfont{fgml8rc}{fgml8rc,8r}{8r}{8r}{fgm}{lc}{n}{}
\installrawfont{fgmr8rc}{fgmr8rc,8r}{8r}{8r}{fgm}{c}{n}{}
\installrawfont{fgmb8rc}{fgmb8rc,8r}{8r}{8r}{fgm}{bc}{n}{}

\installrawfont{fgmli8rc}{fgmli8rc,8r}{8r}{8r}{fgm}{lc}{it}{}
\installrawfont{fgmri8rc}{fgmri8rc,8r}{8r}{8r}{fgm}{c}{it}{}
\installrawfont{fgmbi8rc}{fgmbi8rc,8r}{8r}{8r}{fgm}{bc}{it}{}

\endinstallfonts

\installfonts

\installfamily{OT1}{fgmx}{}

\installfont{fgmr9t}{fgmr8r,fgmr8xa,newlatin}{ot1}{OT1}{fgmx}{m}{n}{}
\installfont{fgmb9t}{fgmb8r,fgmb8xa,newlatin}{ot1}{OT1}{fgmx}{b}{n}{}

\installfont{fgmrc7t}{fgmrc8r,newlatin}{ot1}{OT1}{fgmx}{m}{sc}{}
\installfont{fgmbrc7t}{fgmbc8r,newlatin}{ot1}{OT1}{fgmx}{b}{sc}{}

\installfont{fgmri9t}{fgmri8r,fgmri8xa,newlatin}{ot1}{OT1}{fgmx}{m}{it}{}
\installfont{fgmbi9t}{fgmbi8r,fgmbi8xa,newlatin}{ot1}{OT1}{fgmx}{b}{it}{}

\installfont{fgml7tc}{fgml8rc,newlatin}{ot1}{OT1}{fgmx}{lc}{n}{}
\installfont{fgmr7tc}{fgmr8rc,newlatin}{ot1}{OT1}{fgmx}{c}{n}{}
\installfont{fgmb7tc}{fgmb8rc,newlatin}{ot1}{OT1}{fgmx}{bc}{n}{}

\installfont{fgmli7tc}{fgmli8rc,newlatin}{ot1}{OT1}{fgmx}{lc}{it}{}
\installfont{fgmri7tc}{fgmri8rc,newlatin}{ot1}{OT1}{fgmx}{c}{it}{}
\installfont{fgmbi7tc}{fgmbi8rc,newlatin}{ot1}{OT1}{fgmx}{bc}{it}{}

\endinstallfonts

\installfonts

\installfamily{OT1}{fgmj}{}

\installfont{fgmr9o}{fgmr8r,fgmr8xa,unsetnum,kernoff,fgmrc8r,kernon,newlatin}{ot1}{OT1}{fgmj}{m}{n}{}
\installfont{fgmb9o}{fgmb8r,fgmb8xa,unsetnum,kernoff,fgmbc8r,kernon,newlatin}{ot1}{OT1}{fgmj}{b}{n}{}

\installfontas{fgmrc7t}{OT1}{fgmj}{m}{sc}{}
\installfontas{fgmbc7t}{OT1}{fgmj}{b}{sc}{}

\installfont{fgmri9o}{fgmri8r,fgmri8xa,newlatin}{ot1}{OT1}{fgmj}{m}{it}{}
\installfont{fgmbi9o}{fgmbi8r,fgmbi8xa,newlatin}{ot1}{OT1}{fgmj}{b}{it}{}

\installfontas{fgml7tc}{OT1}{fgmj}{lc}{n}{}
\installfontas{fgmr7tc}{OT1}{fgmj}{c}{n}{}
\installfontas{fgmb7tc}{OT1}{fgmj}{bc}{n}{}

\installfontas{fgmli7tc}{OT1}{fgmj}{lc}{it}{}
\installfontas{fgmri7tc}{OT1}{fgmj}{c}{it}{}
\installfontas{fgmbi7tc}{OT1}{fgmj}{bc}{it}{}

\endinstallfonts

\installfonts

\installfamily{T1}{fgmx}{}

\installfont{fgmr9e}{fgmr8r,fgmr8xa,newlatin}{t1}{T1}{fgmx}{m}{n}{}
\installfont{fgmb9e}{fgmb8r,fgmb8xa,newlatin}{t1}{T1}{fgmx}{b}{n}{}

\installfont{fgmrc8t}{fgmrc8r,newlatin}{t1}{T1}{fgmx}{m}{sc}{}
\installfont{fgmbc8t}{fgmbc8r,newlatin}{t1}{T1}{fgmx}{b}{sc}{}

\installfont{fgmri8t}{fgmri8r,fgmri8xa,newlatin}{t1}{T1}{fgmx}{m}{it}{}
\installfont{fgmbi8t}{fgmbi8r,fgmbi8xa,newlatin}{t1}{T1}{fgmx}{b}{it}{}

\installfont{fgml8tc}{fgml8rc,newlatin}{t1}{T1}{fgmx}{lc}{n}{}
\installfont{fgmr8tc}{fgmr8rc,newlatin}{t1}{T1}{fgmx}{c}{n}{}
\installfont{fgmb8tc}{fgmb8rc,newlatin}{t1}{T1}{fgmx}{bc}{n}{}

\installfont{fgmli8tc}{fgmli8rc,newlatin}{t1}{T1}{fgmx}{lc}{it}{}
\installfont{fgmri8tc}{fgmri8rc,newlatin}{t1}{T1}{fgmx}{c}{it}{}
\installfont{fgmbi8tc}{fgmbi8rc,newlatin}{t1}{T1}{fgmx}{bc}{it}{}

\endinstallfonts

\installfonts

\installfamily{T1}{fgmj}{}

\installfont{fgmr9d}{fgmr8r,fgmr8xa,unsetnum,kernoff,fgmrc8r,kernon,newlatin}{t1}{T1}{fgmj}{m}{n}{}
\installfont{fgmb9d}{fgmb8r,fgmb8xa,unsetnum,kernoff,fgmbc8r,kernon,newlatin}{t1}{T1}{fgmj}{b}{n}{}

\installfontas{fgmrc8t}{T1}{fgmj}{m}{sc}{}
\installfontas{fgmbc8t}{T1}{fgmj}{b}{sc}{}

\installfont{fgmri8t}{fgmri8r,fgmri8xa,newlatin}{t1}{T1}{fgmj}{m}{it}{}
\installfont{fgmbi8t}{fgmbi8r,fgmbi8xa,newlatin}{t1}{T1}{fgmj}{b}{it}{}

\installfontas{fgml8tc}{T1}{fgmj}{lc}{n}{}
\installfontas{fgmr8tc}{T1}{fgmj}{c}{n}{}
\installfontas{fgmb8tc}{T1}{fgmj}{bc}{n}{}

\installfontas{fgmli8tc}{T1}{fgmj}{lc}{it}{}
\installfontas{fgmri8tc}{T1}{fgmj}{c}{it}{}
\installfontas{fgmbi8tc}{T1}{fgmj}{bc}{it}{}

\endinstallfonts

\installfonts

\installfamily{TS1}{fgmx}{}

\installfont{fgmr9c}{fgmr8r,fgmr8xa,fgmrc8r suffix oldstyle,textcomp}{ts1}{TS1}{fgmx}{m}{n}{}
\installfont{fgmb9c}{fgmb8r,fgmb8xa,fgmbc8r suffix oldstyle,textcomp}{ts1}{TS1}{fgmx}{b}{n}{}

\installfontas{fgmr9c}{TS1}{fgmx}{m}{sc}{}
\installfontas{fgmb9c}{TS1}{fgmx}{b}{sc}{}

\installfont{fgmri9c}{fgmri8r,fgmri8xa,textcomp}{ts1}{TS1}{fgmx}{m}{it}{}
\installfont{fgmbi9c}{fgmbi8r,fgmbi8xa,textcomp}{ts1}{TS1}{fgmx}{b}{it}{}

\installfont{fgml8cc}{fgml8rc,textcomp}{ts1}{TS1}{fgmx}{lc}{n}{}
\installfont{fgmr8cc}{fgmr8rc,textcomp}{ts1}{TS1}{fgmx}{mc}{n}{}
\installfont{fgmb8cc}{fgmb8rc,textcomp}{ts1}{TS1}{fgmx}{bc}{n}{}

\installfont{fgmli8cc}{fgmli8rc,textcomp}{ts1}{TS1}{fgmx}{lc}{it}{}
\installfont{fgmri8cc}{fgmri8rc,textcomp}{ts1}{TS1}{fgmx}{mc}{it}{}
\installfont{fgmbi8cc}{fgmbi8rc,textcomp}{ts1}{TS1}{fgmx}{bc}{it}{}

\endinstallfonts

\installfonts

\installfamily{TS1}{fgmj}{}

\installfont{fgmr9z}{fgmr8r,fgmr8xa,fgmr8r suffix oldstyle,textcomp}{ts1}{TS1}{fgmj}{m}{n}{}
\installfont{fgmb9z}{fgmb8r,fgmb8xa,fgmb8r suffix oldstyle,textcomp}{ts1}{TS1}{fgmj}{b}{n}{}

\installfontas{fgmr9z}{TS1}{fgmj}{m}{sc}{}
\installfontas{fgmb9z}{TS1}{fgmj}{b}{sc}{}

\installfont{fgmri9c}{fgmri8r,fgmri8xa,textcomp}{ts1}{TS1}{fgmj}{m}{it}{}
\installfont{fgmbi9c}{fgmbi8r,fgmbi8xa,textcomp}{ts1}{TS1}{fgmj}{b}{it}{}

\installfontas{fgml8cc}{TS1}{fgmj}{lc}{n}{}
\installfontas{fgmr8cc}{TS1}{fgmj}{mc}{n}{}
\installfontas{fgmb8cc}{TS1}{fgmj}{bc}{n}{}

\installfontas{fgmli8cc}{TS1}{fgmj}{lc}{it}{}
\installfontas{fgmri8cc}{TS1}{fgmj}{mc}{it}{}
\installfontas{fgmbi8cc}{TS1}{fgmj}{bc}{it}{}

\endinstallfonts

\endrecordtransforms

\bye
