From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20681 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: Installing Truetype fonts in context. Date: Sat, 4 Jun 2005 21:28:18 +0200 Message-ID: References: <200506041421.47001.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117913208 31543 80.91.229.2 (4 Jun 2005 19:26:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2005 19:26:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 04 21:26:44 2005 Return-path: 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 1DeeGy-0000cL-8O for gctc-ntg-context-518@m.gmane.org; Sat, 04 Jun 2005 21:25:32 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9466C127F4; Sat, 4 Jun 2005 21:28:58 +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 26717-03-5; Sat, 4 Jun 2005 21:28:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 716AE127FD; Sat, 4 Jun 2005 21:28:53 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3380127FD for ; Sat, 4 Jun 2005 21:28: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 26717-03-4 for ; Sat, 4 Jun 2005 21:28:51 +0200 (CEST) Original-Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by ronja.ntg.nl (Postfix) with ESMTP id E088A127F4 for ; Sat, 4 Jun 2005 21:28:49 +0200 (CEST) Original-Received: from fwd24.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1DeeK9-0004Cx-00; Sat, 04 Jun 2005 21:28:49 +0200 Original-Received: from [192.168.0.2] (V+mvF+ZcZe+AEfVeAzBVo3Gr45Tm76bKMJoNiVfxklGhhUMOgp10s2@[84.177.59.153]) by fwd24.sul.t-online.de with esmtp id 1DeeK1-1WEH5M0; Sat, 4 Jun 2005 21:28:41 +0200 In-Reply-To: <200506041421.47001.john@wexfordpress.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.730) X-ID: V+mvF+ZcZe+AEfVeAzBVo3Gr45Tm76bKMJoNiVfxklGhhUMOgp10s2@t-dialin.net X-TOI-MSGID: 1bcb34a1-3775-4f9e-a774-59ea00dacc43 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20681 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20681 On Jun 4, 2005, at 4:21 PM, John R. Culleton wrote: > > --Like a good little TeXer I have always avoided Truetype fonts. > But now I have a situation where the customer is requesting it, > and has provided the font. So I have tried to follow the > instructinns in the pdftex manual as well as those in Texfont > Explained manual. First I got apparently clean results but the font > looks just like Computer Modern. The only error message I can > see is one asking for a pfb file which of course I don't have. > > Then following an earlier post I tried something like this. The font > is a Devangari font, or perhaps more properly a Western font that > looks a bit like Devnagari script. Here is my run script: > > ----------------------------------------------------- > ttf2afm -e 8r.enc -o ds_izmir.afm ds_izmir.ttf > texfont --en=8r --ve=truetype --co=all --makepath --install > cd /usr/share/texmf-local/fonts/map/pdftex/context/ > cat *map >plus.map > mv plus.map /usr/share/texmf/fonts/map/pdftex/updmap > updmap > texhash > ----------------------------------------------------------- > With this run stream texfont has two complaints: first that it is > an unknown > vendor and > second that it cannot find either a pfa or pfb file. > > There is a trick to it I am sure, and I am sure I do not know the > trick. > > > > John Culleton > The answers to all your publishing questions are found > in the excellent books listed in the word-famous shortlist! > http://wexfordpress.com/tex/shortlist.pdf > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > This: http://tug.org/pracjourn/2005-2/schmitz/schmitz.pdf might have a lot of information that is too basic for you, but it just might hold some useful bits and pieces. In your case, the key is that you created a afm. If texfont "sees" a afm, it expects the font to be a pfb. The tfm it creates is valid nevertheless, you just have to adjust the map accordingly. But if you follow the advice in the article above, things should be easier. Good luck Thomas