Dear gang, I'm trying to install an expert font a with a non-standard encoding vector; can't use texnansi, ec, etc.. I tried the following: 1. I created an encoding file for my font (minion-o.enc), following the syntax /encminiono[ /ornament1 : /ornament23 /space ] def 2. I placed the encoding file in /texmf-fonts/fonts/enc/dvips/minion-o; 3. I ran TeXFont: ====================================================== encoding vector : minion-o vendor name : adobe source path : . font collection : minion-o texmf font root : c:\context\tex\texmf-fonts pdftex map file : minion-o-adobe-minion-o.map source path : . processing files : all on afm path locating afm files : using pattern * copying files : afm copying : pmnrp8a.afm copying files : pfb copying : pmnrp8a.pfb no map file at : c:\CONTEXT\tex\texmf-fonts/fonts/map/pdftex/context/min ion-o-adobe-minion-o.map font identifier : Minion-Ornaments -> text -> tfm + vf generating raw tfm/vpl : minion-o-raw-pmnrp8a (from pmnrp8a) ! tokens 3 to 257 in encoding must be literal names ] def ^ generating new vf : minion-o-pmnrp8a (from minion-o-raw-pmnrp8a) updating map file : minion-o-adobe-minion-o.map ====================================================== but \showfont does not show any of my characters. There appears to be one error: ====================================================== ! tokens 3 to 257 in encoding must be literal names ====================================================== The label says: ====================================================== name: minion-o-pmnrp8a encoding: minion-o mapping: minion-o handling: default ====================================================== What am I missing here? How can I can install this font with my own encoding so that \showfont will display it? I enclose the complete encoding vector. Best and Thnx Idris ====================================================== /encminiono[ /ornament1 /ornament2 /ornament3 /ornament4 /ornament5 /ornament6 /ornament7 /ornament8 /ornament9 /ornament10 /ornament11 /ornament12 /ornament13 /ornament14 /ornament15 /ornament16 /ornament17 /ornament18 /ornament19 /ornament20 /ornament21 /ornament22 /ornament23 /space ] def ====================================================== ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
Idris Samawi Hamid said this at Thu, 7 Apr 2005 12:43:33 -0600:
What am I missing here? How can I can install this font with my own encoding so that \showfont will display it?
Idris, You need to have precisely 256 glyphs in your encoding vector. Try padding your vector out with 232 /.notdef tokens, and you *should* be in business! -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
participants (2)
-
Adam Lindsay
-
Idris Samawi Hamid