From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30042 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: texfont produces faked ligatures with ec encoding Date: Sun, 06 Aug 2006 18:53:57 +0200 Message-ID: <1154883237.1057.2.camel@g5.home> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154883281 10792 80.91.229.2 (6 Aug 2006 16:54:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2006 16:54:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 06 18:54:39 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G9ltc-0005ml-FR for gctc-ntg-context-518@m.gmane.org; Sun, 06 Aug 2006 18:54:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1F121FFDF; Sun, 6 Aug 2006 18:54:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22939-02; Sun, 6 Aug 2006 18:54:30 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A90311FDE6; Sun, 6 Aug 2006 18:54:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7209D1FDE6 for ; Sun, 6 Aug 2006 18:54:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22938-02-2 for ; Sun, 6 Aug 2006 18:54:24 +0200 (CEST) Original-Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by ronja.ntg.nl (Postfix) with SMTP id B07931FDDC for ; Sun, 6 Aug 2006 18:54:24 +0200 (CEST) Original-Received: from fwd34.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1G9ltQ-00054L-04; Sun, 06 Aug 2006 18:54:24 +0200 Original-Received: from g5.home (TJ2QaqZCwek7-A7FCY-I1l1JtssaUjml+pad8GxQrohKg2pnP-P6YV@[84.172.106.244]) by fwd34.sul.t-online.de with esmtp id 1G9ltJ-10ZAw40; Sun, 6 Aug 2006 18:54:17 +0200 Original-To: mailing list for ConTeXt users In-Reply-To: X-Mailer: Evolution 2.6.2 X-ID: TJ2QaqZCwek7-A7FCY-I1l1JtssaUjml+pad8GxQrohKg2pnP-P6YV@t-dialin.net X-TOI-MSGID: 1071d361-8666-49a0-8a82-66452d42b4b1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30042 Archived-At: 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