From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67113 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: (RSFS) font installation Date: Fri, 18 Mar 2011 05:27:10 +0200 Message-ID: <20110318032710.GB7791@khaled-laptop> References: <4D80C291.5090707@gmx.de> <4D81CECD.5020405@gmx.de> <4D823CA6.6060404@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300418859 28761 80.91.229.12 (18 Mar 2011 03:27:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2011 03:27:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 18 04:27:35 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0QLe-0006Sd-PM for gctc-ntg-context-518@m.gmane.org; Fri, 18 Mar 2011 04:27:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CC936CAB21; Fri, 18 Mar 2011 04:27:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6-PIbXEz4ogJ; Fri, 18 Mar 2011 04:27:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0741CCAAE1; Fri, 18 Mar 2011 04:27:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C73DDCAAE1 for ; Fri, 18 Mar 2011 04:27:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2JHjQQ1f8502 for ; Fri, 18 Mar 2011 04:27:14 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 139E9CAADC for ; Fri, 18 Mar 2011 04:27:14 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2I3RGEe024406 for ; Fri, 18 Mar 2011 04:27:16 +0100 Original-Received: by wwb28 with SMTP id 28so3688991wwb.2 for ; Thu, 17 Mar 2011 20:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=j2bOorGEebjVtX35IsZVatRwPQZH62+MGDDxH7Urslo=; b=i3UeRu/B239RrI9gg/cwfEMg9zwk3PwSf312GSZ7/ktFb5QcQ6/RXYUfZStDlIPvxc RbWeTqNj5Nddmjmu5t8ZsomhN1Uxp1YQIzyFebTpP6D7SUsCT3Mw/WKJlTiscchPGQnV K0mWGnb5BNpwolekQSgj7xBXntS+yO79obIII= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=AGRehhG87LActD9Gs9HFp/5A+onN8zft5dbU1ooDYGeyFGHyzRhy4uMk0lIjNs9fll lexD3rvPEOOaOvoUrRyKvn/TVkgQuqIYDbQN0tzaXc7GPNEZt/J3TVUHaDogXu78Cltx UvdJj36lHQ5T6ISdWopPiV4efj2MTUBVMpwE0= Original-Received: by 10.227.206.84 with SMTP id ft20mr608413wbb.161.1300418836034; Thu, 17 Mar 2011 20:27:16 -0700 (PDT) Original-Received: from localhost ([41.176.161.235]) by mx.google.com with ESMTPS id ed10sm1065713wbb.15.2011.03.17.20.27.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Mar 2011 20:27:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05Ekrrghp - 577a2e86f948 - 20110318 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:67113 Archived-At: On Thu, Mar 17, 2011 at 09:42:38PM -0500, mathew wrote: > > - If the .pfm and .pfb files are sufficient for Windows, why does > > mtxrun specifically search for .afm files and not also for .pfm? > > Probably because mtxrun (and the rest of ConTeXt and LuaTeX) are > written for Unix and ported to Windows, and Unix uses .afm files for > metrics. (Except OS X, which is different for historical reasons.) > > That and .afm files are much easier to work with because they're text > files. AFAIK, ConTeXt needs afm files to load type1 files, something related to encoding the font and ligatures/kerning. So you need bot afm and bfb/bfa files together somewhere context searches for fonts and it should work. PFM files are not needed at all (dunno what they are for actually, some obscure windows thing I guess). > But it might not be a bad idea for LuaTeX to automatically perform a > pfm2afm conversion and cache the converted files when necessary, and > probably not that hard to code. On the other hand, Type 1 fonts are > legacy at this point, so it might not be worth it. LuaTeX can load afm files thanks to the embedded, fontforge derived, font loader, but AFAIK it does not handle pfm files at all. Hans considers type1 fonts obsolete (and I agree with him :)) and he is unlikely to put much effort into supporting them. Regards, Khaled -- Khaled Hosny Egyptian Arab ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________