\input fontinst.sty

%\recordtransforms{map.tex}
\transformfont{hlxr8r}{\reencodefont{8r}{\fromafm{lfr}}}
\transformfont{hlxri8r}{\reencodefont{8r}{\fromafm{lfi}}}
\transformfont{hlxb8r}{\reencodefont{8r}{\fromafm{lfd}}}
\transformfont{hlxbi8r}{\reencodefont{8r}{\fromafm{lfdi}}}

\installfonts

\installfamily{T1}{hlx}{}
\installfamily{TS1}{hlx}{}

\installrawfont{hlxr8r}{hlxr8r,8r}{8r}{8r}{hlx}{m}{n}{}
\installfont{hlxr8t}{hlxr8r,patch-hlxr,latin}{T1}
  {T1}{hlx}{m}{n}{}
\installfont{hlxr8c}{hlxr8r,textcomp}{TS1}
  {TS1}{hlx}{m}{n}{}

\installrawfont{hlxri8r}{hlxri8r,8r}{8r}{8r}{hlx}{m}{it}{}
\installfont{hlxri8t}{hlxri8r,patch-hlxri,latin}{T1}
  {T1}{hlx}{m}{it}{}
\installfont{hlxri8c}{hlxri8r,textcomp}{TS1}
  {TS1}{hlx}{m}{it}{}

\installrawfont{hlxb8r}{hlxb8r,8r}{8r}{8r}{hlx}{b}{n}{}
\installfont{hlxb8t}{hlxb8r,patch-hlxb,latin}{T1}
  {T1}{hlx}{b}{n}{}
\installfont{hlxb8c}{hlxb8r,textcomp}{TS1}
  {TS1}{hlx}{b}{n}{}

\installrawfont{hlxbi8r}{hlxbi8r,8r}{8r}{8r}{hlx}{b}{it}{}
\installfont{hlxbi8t}{hlxbi8r,patch-hlxbi,latin}{T1}
  {T1}{hlx}{b}{it}{}
\installfont{hlxbi8c}{hlxbi8r,textcomp}{TS1}
  {TS1}{hlx}{b}{it}{}

\endinstallfonts

\bye

\endrecordtransforms

\input finstmsc.sty
% \AssumeMetafont % Ignore entries for CM
\resetstr{PSfontsuffix}{.pfb}
\adddriver{dvips}{hlx.map}
\input map.tex
\donedrivers

\bye

%%  These are the font shapes supported with LY1 encoding:
\DeclareFontFamily{LY1}{hlx}{}
\DeclareLucidaFontShape{LY1}{hlx}{m}{n}{lfr}{}
\DeclareLucidaFontShape{LY1}{hlx}{b}{n}{lfd}{}
\DeclareLucidaFontShape{LY1}{hlx}{m}{it}{lfi}{}
\DeclareLucidaFontShape{LY1}{hlx}{b}{it}{lfdi}{}

