From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30233 Path: news.gmane.org!not-for-mail From: Andreas Schneider Newsgroups: gmane.comp.tex.context Subject: Re: texfont: installed font only works with pdftex Date: Fri, 11 Aug 2006 11:34:22 +0200 (CEST) Message-ID: 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> <44D9017B.7020600@elvenkind.com> 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 1155288894 30324 80.91.229.2 (11 Aug 2006 09:34:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 09:34:54 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 11 11:34:50 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 1GBTPj-0007o0-N8 for gctc-ntg-context-518@m.gmane.org; Fri, 11 Aug 2006 11:34:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B08C1FF05; Fri, 11 Aug 2006 11:34:46 +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 18295-04-13; Fri, 11 Aug 2006 11:34:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02A2E1FF0D; Fri, 11 Aug 2006 11:34:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14E5B1FF0D for ; Fri, 11 Aug 2006 11:34:38 +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 18295-04-12 for ; Fri, 11 Aug 2006 11:34:31 +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 005331FF05 for ; Fri, 11 Aug 2006 11:34:30 +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 k7B9YU8Q027907 for ; Fri, 11 Aug 2006 11:34:30 +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 k7B9YUxX001868 for ; Fri, 11 Aug 2006 11:34:30 +0200 Original-Received: from localhost (andreas@localhost) by rabat.Mathematik.Uni-Marburg.DE (8.13.1/8.13.1/Submit) with ESMTP id k7B9YMkh001864 for ; Fri, 11 Aug 2006 11:34:30 +0200 X-Authentication-Warning: rabat.Mathematik.Uni-Marburg.DE: andreas owned process doing -bs Original-To: mailing list for ConTeXt users In-Reply-To: <44D9017B.7020600@elvenkind.com> 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:30233 Archived-At: On Tue, 8 Aug 2006, Taco Hoekwater wrote: > 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. Thanks a lot, with that it works now (with the texnansi encoding)! These facts should be mentioned in the docs. I also have created another map file ec-bgj.map with the entries ec-raw-bgjb ElegantGaramondBT-Bold "ECEncoding ReEncodeFont" schrift.ps . [1] But gv gives an error when I try to view the ps file: Error: /undefined in ECEncoding Operand stack: Fa 139 --nostringval-- 29 13 --nostringval-- 28 38 101 --nostringval-- 3 91.3242 --nostringval-- 91.3242 0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1051/1123(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:80/300(L)-- --dict:10/12(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.01: Unrecoverable error, exit code 1 My printer does not print it either. Maybe the reason is that I use lm-ec.enc, but ECEncoding is defined in EC.enc which is slightly different. > 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. On my machine the font works without problems with pdftex (texexec --pdf) and the ec encoding, ligatures and umlauts are okay. Andreas