From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30144 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: texfont: installed font only works with pdftex Date: Tue, 08 Aug 2006 23:26:19 +0200 Message-ID: <44D9017B.7020600@elvenkind.com> References: <1154883237.1057.2.camel@g5.home> <2AC5B68D-6F43-4850-8854-180D7A5EBC06@uni-bonn.de> <44D73F36.5020107@wxs.nl> <44D845D3.4000307@wxs.nl> <44D851AC.90603@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060808050002080802060403" X-Trace: sea.gmane.org 1155072401 23343 80.91.229.2 (8 Aug 2006 21:26:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Aug 2006 21:26:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 08 23:26:40 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 1GAZ5t-0004no-Ex for gctc-ntg-context-518@m.gmane.org; Tue, 08 Aug 2006 23:26:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8CACE1FE34; Tue, 8 Aug 2006 23:26:32 +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 17243-05; Tue, 8 Aug 2006 23:26:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F9171FE36; Tue, 8 Aug 2006 23:26:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 78A711FE36 for ; Tue, 8 Aug 2006 23:26:23 +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 16937-10-2 for ; Tue, 8 Aug 2006 23:26:21 +0200 (CEST) Original-Received: from post-25.mail.nl.demon.net (post-25.mail.nl.demon.net [194.159.73.195]) by ronja.ntg.nl (Postfix) with SMTP id 0CC3A1FE34 for ; Tue, 8 Aug 2006 23:26:20 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:59291 helo=[10.10.0.3]) by post-25.mail.nl.demon.net with esmtp (Exim 4.51) id 1GAZ5g-0008sJ-1b for ntg-context@ntg.nl; Tue, 08 Aug 2006 21:26:20 +0000 User-Agent: Mozilla Thunderbird 1.0.6-7.6.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: 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:30144 Archived-At: This is a multi-part message in MIME format. --------------060808050002080802060403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Andreas, Andreas Schneider wrote: > On Tue, 8 Aug 2006, Taco Hoekwater wrote: > >> Somehow you yourself (and not texfont!) have created a font map >> file called bgj.map for dvips, and that file is wrong. > > > Hmm, I have created it just for LaTeX. Since it contains only entries > for ec-bgj* (without 'raw') it should not interfere with the other > mapfiles (created by texfont) which are for ec-raw-bgj* and > texnansi-raw-bgj* (with 'raw'), or am I mistaken? Anyway xdvi complains > about texnansi-raw-bgj* (see example below which I had already included > in one of my previous mails). There are two problems that I can see. There is only one that you can fix, and there is another problem that is a base texfont issue. The fixable problem first: If there is a virtual font, then dvi processors will recursively break it down into its constituents (those are the *-raw-* font metrics). Eventually, when there are no longer virtual fonts to resolve, it looks for the 'base' fonts in its map file. This process works in a similar fashion for all programs like pdftex, dvipdfmx, dvips, and xdvi, but texfont only creates a map file for pdftex. Unf, the pdftex map file cannot be used by dvips, so for dvips you have to create your own (like you did). When you create a map file for dvips for a texfont-installed font family, it needs to have those *-raw-* entries that will map the fonts to the real postscript font files on your harddisk, and those were missing from your bgj.map. Using the attached map file fragment, I can create a postscript file that has fi ligatures of your example in texnansi encoding using dvips. I have no xdvi here to try it, but that should work as well. The second problem: texfont simply does not 'do' EC correctly (at least not on my machine). There are simply no fi ligatures, not in pdftex either. I will investigate this further. Taco --------------060808050002080802060403 Content-Type: text/plain; name="texnansi-bgj.map" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="texnansi-bgj.map" texnansi-raw-bgjb ElegantGaramondBT-Bold "TeXnANSIEncoding ReEncodeFont"