From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30015 Path: news.gmane.org!not-for-mail From: Andreas Schneider Newsgroups: gmane.comp.tex.context Subject: texfont produces faked ligatures with ec encoding Date: Sun, 6 Aug 2006 10:07:52 +0200 (CEST) Message-ID: 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 1154851800 2389 80.91.229.2 (6 Aug 2006 08:10:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2006 08:10:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 06 10:09:59 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 1G9dhp-0007uA-88 for gctc-ntg-context-518@m.gmane.org; Sun, 06 Aug 2006 10:09:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8B6A91FFA7; Sun, 6 Aug 2006 10:09:52 +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 16196-05; Sun, 6 Aug 2006 10:09:52 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D8721FEBA; Sun, 6 Aug 2006 10:07:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3EF6F1FEBA for ; Sun, 6 Aug 2006 10:07:57 +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 16308-01 for ; Sun, 6 Aug 2006 10:07:53 +0200 (CEST) Original-Received: from mailhost.Mathematik.Uni-Marburg.de (pc12577.Mathematik.Uni-Marburg.DE [137.248.123.2]) by ronja.ntg.nl (Postfix) with SMTP id 316B31FEB9 for ; Sun, 6 Aug 2006 10:07:53 +0200 (CEST) Original-Received: from rabat.Mathematik.uni-marburg.de (rabat [137.248.123.12]) by mailhost.Mathematik.Uni-Marburg.de (8.13.1/8.13.1) with ESMTP id k7687qup015117 for ; Sun, 6 Aug 2006 10:07:52 +0200 Original-Received: from rabat.Mathematik.Uni-Marburg.DE (localhost [127.0.0.1]) by rabat.Mathematik.uni-marburg.de (8.13.1/8.13.1) with ESMTP id k7687qeZ028012 for ; Sun, 6 Aug 2006 10:07:52 +0200 Original-Received: from localhost (andreas@localhost) by rabat.Mathematik.Uni-Marburg.DE (8.13.1/8.13.1/Submit) with ESMTP id k7687qvo028009 for ; Sun, 6 Aug 2006 10:07:52 +0200 X-Authentication-Warning: rabat.Mathematik.Uni-Marburg.DE: andreas owned process doing -bs Original-To: ntg-context@ntg.nl 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:30015 Archived-At: 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