Sorry, I haven't followed this thread closely (so I have no idea if this has already been solved), but I had a similar symptom a while ago. It turned out that it was something with the default EC.enc that ships with tetex. Can you try to do the conversion again, this time using lm-ec.enc instead of EC.enc? I can send a longer explanation if that's of interest, but I found that it solved the problem in my case. Thomas On Sun, 2006-08-06 at 10:07 +0200, Andreas Schneider wrote:
Hi,
with the ec encoding, texfont produces faked ligatures, although the font has real fi and fl ligatures. With the texnansi encoding and the same commands, the ligatures are ok. (I checked this by compiling a simple sample file, just changing \setupencoding[default=ec] to \setupencoding[default=texnansi].) The font I'm trying to install is Bitstream Elegant Garamond (bgj) which I have got from a CorelDraw CD. I used the following commands to install the font (note that the fontroot is set because I create a Debian package):
mkdir -p debian/font-elegantgaramond/usr/share/texmf texfont --fontroot=debian/font-elegantgaramond/usr/share/texmf --vendor=bitstrea --collection=eleggar --encoding=texnansi --makepath --install
TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004
encoding vector : texnansi vendor name : bitstrea source path : . font collection : eleggar texmf font root : debian/font-elegantgaramond/usr/share/texmf pdftex map file : texnansi-bitstrea-eleggar.map source path : . processing files : all on afm path locating afm files : using pattern * copying files : afm copying : bgjb.afm copying : bgjr.afm copying : bgjri.afm copying files : pfb copying : bgjb.pfb copying : bgjr.pfb copying : bgjri.pfb no map file at : debian/font-elegantgaramond/usr/share/texmf/fonts/map/pdftex/context/texnansi-bitstrea-eleggar.map
font identifier : ElegantGaramondBT-Bold -> text -> tfm + vf generating raw tfm/vpl : texnansi-raw-bgjb (from bgjb) generating new vf : texnansi-bgjb (from texnansi-raw-bgjb)
font identifier : ElegantGaramondBT-Roman -> text -> tfm + vf generating raw tfm/vpl : texnansi-raw-bgjr (from bgjr) generating new vf : texnansi-bgjr (from texnansi-raw-bgjr)
font identifier : ElegantGaramondBT-Italic -> text -> tfm + vf generating raw tfm/vpl : texnansi-raw-bgjri (from bgjri) generating new vf : texnansi-bgjri (from texnansi-raw-bgjri) updating map file : texnansi-bitstrea-eleggar.map
generating : ls-r databases
texfont --fontroot=debian/font-elegantgaramond/usr/share/texmf --vendor=bitstrea --collection=eleggar --encoding=ec --makepath --install
TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004
encoding vector : ec vendor name : bitstrea source path : . font collection : eleggar texmf font root : debian/font-elegantgaramond/usr/share/texmf pdftex map file : ec-bitstrea-eleggar.map source path : . processing files : all on afm path locating afm files : using pattern * copying files : afm copying : bgjb.afm copying : bgjr.afm copying : bgjri.afm copying files : pfb copying : bgjb.pfb copying : bgjr.pfb copying : bgjri.pfb no map file at : debian/font-elegantgaramond/usr/share/texmf/fonts/map/pdftex/context/ec-bitstrea-eleggar.map
font identifier : ElegantGaramondBT-Bold -> text -> tfm + vf generating raw tfm/vpl : ec-raw-bgjb (from bgjb) generating new vf : ec-bgjb (from ec-raw-bgjb)
font identifier : ElegantGaramondBT-Roman -> text -> tfm + vf generating raw tfm/vpl : ec-raw-bgjr (from bgjr) generating new vf : ec-bgjr (from ec-raw-bgjr)
font identifier : ElegantGaramondBT-Italic -> text -> tfm + vf generating raw tfm/vpl : ec-raw-bgjri (from bgjri) generating new vf : ec-bgjri (from ec-raw-bgjri) updating map file : ec-bitstrea-eleggar.map
generating : ls-r databases
rm -vf debian/font-elegantgaramond/usr/share/texmf/ls-R ,,debian/font-elegantgaramond/usr/share/texmf/ls-R" entfernt mkdir -p debian/font-elegantgaramond/usr/share/texmf/tex/context/typescript cp -v type-eleggar.tex debian/font-elegantgaramond/usr/share/texmf/tex/context/typescript/ ,,type-eleggar.tex" -> ,,debian/font-elegantgaramond/usr/share/texmf/tex/context/typescript/type-eleggar.tex" mkdir -p debian/font-elegantgaramond/etc/texmf/updmap.d cp -v debian/10bgj.cfg debian/font-elegantgaramond/etc/texmf/updmap.d ,,debian/10bgj.cfg" -> ,,debian/font-elegantgaramond/etc/texmf/updmap.d/10bgj.cfg" mkdir -p debian/font-elegantgaramond/usr/share/texmf/fonts/map/dvips/bgj cp -v *.map debian/font-elegantgaramond/usr/share/texmf/fonts/map/dvips/bgj ,,bgj.map" -> ,,debian/font-elegantgaramond/usr/share/texmf/fonts/map/dvips/bgj/bgj.map" mkdir -p debian/font-elegantgaramond/usr/share/texmf/tex/latex/bgj cp -v *.fd debian/font-elegantgaramond/usr/share/texmf/tex/latex/bgj ,,t1bgj.fd" -> ,,debian/font-elegantgaramond/usr/share/texmf/tex/latex/bgj/t1bgj.fd" mkdir -p debian/font-elegantgaramond/usr/share/texmf/tex/latex/bgj cp -v eleggar.sty debian/font-elegantgaramond/usr/share/texmf/tex/latex/bgj ,,eleggar.sty" -> ,,debian/font-elegantgaramond/usr/share/texmf/tex/latex/bgj/eleggar.sty"
The typescript I'm using is the following:
% Typescript for serif family Bitstream ElegantGaramond
\usetypescriptfile[type-buy]
% load map file \starttypescript[map][eleggar][\defaultencoding] \loadmapfile[\defaultencoding-bitstrea-eleggar.map] \stoptypescript
% mapping from PostScript name to TFM file name \starttypescript[serif][eleggar][\defaultencoding] \definefontsynonym[ElegantGaramondBT-Bold][\defaultencoding-bgjb][encoding=\defaultencoding] \definefontsynonym[ElegantGaramondBT-Roman][\defaultencoding-bgjr][encoding=\defaultencoding] \definefontsynonym[ElegantGaramondBT-Italic][\defaultencoding-bgjri][encoding=\defaultencoding] \stoptypescript
% mapping from generic family name to PostScript name \starttypescript[serif][eleggar][name] \usetypescript[serif][fallback] \definefontsynonym[Serif] [ElegantGaramondBT-Roman] \definefontsynonym[SerifItalic][ElegantGaramondBT-Italic] \definefontsynonym[SerifBold] [ElegantGaramondBT-Bold] \stoptypescript
% family definition \starttypescript [eleggar] \definetypeface [eleggar] [rm] [serif] [eleggar] [default] [encoding=\defaultencoding] \stoptypescript
What do I do wrong?
Thank you for your help
Andreas _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context