I think I am using the most up to date version of fontinst, on a linux machine and fontmsc won't generate any mapfile... I don't know of encoding files yet.
I first thought it might be a mistake on my account, but then I used a texfile for fontinst, that was reported working.
So then, let's use an unimportant example, that recreates the stuff, for me.
First I downloaded the ubuntu font from http://font.ubuntu.com, then I renamed it slightly, writing out the B stuff as Bold, etc.
Continued with font2afm for every single one of them, except for the mono fonts, and wrote a ubunt-ins.tex:
Code: Select all
\input fontinst.sty
\recordtransforms{ubuntu-rec.tex}
\substitutesilent{ul}{l}
\substitutesilent{el}{l}
\substitutesilent{db}{mb}
\substitutesilent{sb}{mb}
\substitutesilent{eb}{b}
\substitutesilent{ub}{b}
\substitutesilent{uc}{c}
\substitutesilent{ec}{c}
\substitutesilent{sc}{n}
\substitutesilent{ui}{it}
\substitutesilent{si}{it}
\transformfont{Ubuntu-Regular-8r}{\reencodefont{8r}{\fromafm{Ubuntu-Regular}}}
\transformfont{Ubuntu-RegularItalic-8r}{\reencodefont{8r}{\fromafm{Ubuntu-RegularItalic}}}
\transformfont{Ubuntu-Bold-8r}{\reencodefont{8r}{\fromafm{Ubuntu-Bold}}}
\transformfont{Ubuntu-BoldItalic-8r}{\reencodefont{8r}{\fromafm{Ubuntu-BoldItalic}}}
\transformfont{Ubuntu-Light-8r}{\reencodefont{8r}{\fromafm{Ubuntu-Light}}}
\transformfont{Ubuntu-LightItalic-8r}{\reencodefont{8r}{\fromafm{Ubuntu-LightItalic}}}
\transformfont{Ubuntu-Medium-8r}{\reencodefont{8r}{\fromafm{Ubuntu-Medium}}}
\transformfont{Ubuntu-MediumItalic-8r}{\reencodefont{8r}{\fromafm{Ubuntu-MediumItalic}}}
\transformfont{Ubuntu-Condensed-8r}{\reencodefont{8r}{\fromafm{Ubuntu-Condensed}}}
\installfonts
\installfamily{T1}{ubuntu}{}
\installfont{Ubuntu-Regular-8t}{Ubuntu-Regular-8r,newlatin option nosc}{t1}{T1}{ubuntu}{m}{n}{}
\installfont{Ubuntu-RegularItalic-8t}{Ubuntu-RegularItalic-8r,newlatin option nosc}{t1}{T1}{ubuntu}{m}{it}{}
\installfont{Ubuntu-Bold-8t}{Ubuntu-Bold-8r,newlatin option nosc}{t1}{T1}{ubuntu}{b}{n}{}
\installfont{Ubuntu-BoldItalic-8t}{Ubuntu-BoldItalic-8r,newlatin option nosc}{t1}{T1}{ubuntu}{b}{it}{}
\installfont{Ubuntu-Light-8t}{Ubuntu-Light-8r,newlatin option nosc}{t1}{T1}{ubuntu}{l}{n}{}
\installfont{Ubuntu-LightItalic-8t}{Ubuntu-LightItalic-8r,newlatin option nosc}{t1}{T1}{ubuntu}{l}{it}{}
\installfont{Ubuntu-Medium-8t}{Ubuntu-Medium-8r,newlatin option nosc}{t1}{T1}{ubuntu}{mb}{n}{}
\installfont{Ubuntu-MediumItalic-8t}{Ubuntu-MediumItalic-8r,newlatin option nosc}{t1}{T1}{ubuntu}{mb}{it}{}
\installfont{Ubuntu-Condensed-8t}{Ubuntu-Condensed-8r,newlatin option nosc}{t1}{T1}{ubuntu}{c}{n}{}
\endinstallfonts
\endrecordtransforms
\bye
After that being done, I created a file for creating the map:
Code: Select all
\input finstmsc.sty
\resetstr{PSfontsuffix}{.ttf}
\adddriver{dvips}{ubuntu.map}
\input ubuntu-rec.tex
\donedrivers
\bye
ubuntu-rec.tex:
Code: Select all
\storemapdata{Ubuntu-Regular-8r}{\frommtx{Ubuntu-Regular}}{\reencodefont{8r}}
\storemapdata{Ubuntu-RegularItalic-8r}{\frommtx{Ubuntu-RegularItalic}}{\reencodefont{8r}}
\storemapdata{Ubuntu-Bold-8r}{\frommtx{Ubuntu-Bold}}{\reencodefont{8r}}
\storemapdata{Ubuntu-BoldItalic-8r}{\frommtx{Ubuntu-BoldItalic}}{\reencodefont{8r}}
\storemapdata{Ubuntu-Light-8r}{\frommtx{Ubuntu-Light}}{\reencodefont{8r}}
\storemapdata{Ubuntu-LightItalic-8r}{\frommtx{Ubuntu-LightItalic}}{\reencodefont{8r}}
\storemapdata{Ubuntu-Medium-8r}{\frommtx{Ubuntu-Medium}}{\reencodefont{8r}}
\storemapdata{Ubuntu-MediumItalic-8r}{\frommtx{Ubuntu-MediumItalic}}{\reencodefont{8r}}
\storemapdata{Ubuntu-Condensed-8r}{\frommtx{Ubuntu-Condensed}}{\reencodefont{8r}}
\makemapentry{Ubuntu-Regular-8r}
\makemapentry{Ubuntu-RegularItalic-8r}
\makemapentry{Ubuntu-Bold-8r}
\makemapentry{Ubuntu-BoldItalic-8r}
\makemapentry{Ubuntu-Light-8r}
\makemapentry{Ubuntu-LightItalic-8r}
\makemapentry{Ubuntu-Medium-8r}
\makemapentry{Ubuntu-MediumItalic-8r}
\makemapentry{Ubuntu-Condensed-8r}