From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19262 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: kerning and TFM problems Date: Mon, 21 Mar 2005 17:55:05 +0100 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" ; format="flowed" X-Trace: sea.gmane.org 1111424501 29361 80.91.229.2 (21 Mar 2005 17:01:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2005 17:01:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 21 18:01:40 2005 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 1DDQBU-0005AF-3g for gctc-ntg-context-518@m.gmane.org; Mon, 21 Mar 2005 17:55:20 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD889127EE; Mon, 21 Mar 2005 17:57:28 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12316-01; Mon, 21 Mar 2005 17:57:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F3D31279B; Mon, 21 Mar 2005 17:57:24 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 180EA1279B for ; Mon, 21 Mar 2005 17:57:23 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12079-08 for ; Mon, 21 Mar 2005 17:57:22 +0100 (CET) Original-Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by ronja.ntg.nl (Postfix) with ESMTP id 50CDF1278B for ; Mon, 21 Mar 2005 17:57:22 +0100 (CET) Original-Received: (qmail 25531 invoked from network); 21 Mar 2005 16:57:21 -0000 Original-Received: from unknown (HELO [62.134.77.250]) (698580@[62.134.77.206]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 21 Mar 2005 16:57:21 -0000 Original-To: ntg-context@ntg.nl X-Virus-Scanned: by 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-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19262 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19262 Hi, I want to use OSX HelveticaNeue font. So I open it in FontForge and - because I'd like to use the kerning information - generate the Font with its PFB, AFM and TFM files. According to Bill's help page it should work by (renaming and) placing the phnr8r.tfm in its tfm folder, the phnr8a.afm and phnr8a.pfb in its respective folders (within my texfm-font tree). Then I need a mapfile texnansi-helveticaneue.map with the line: phnr8r HelveticaNeue 4 < phnr8a.pfb texnansi.enc And my test file looks like this: \loadmapfile[texnansi-adobe-helveticaneue.map] \definefontsynonym[HelveticaNeue][phnr8r][encoding=texnansi] \definefont[MySecondFont][HelveticaNeue] \starttext \MySecondFont I sang of leaves, of leaves of gold, and leaves of gold there grew. \stoptext But it results in problems with the TFM file. Why? ! Font \**MySecondFont**=phnr8r at 12.0pt not loadable: Bad metric (TFM) file. \relax \dododefinefont ...ontspec {#2}\rawfontidentifier \let \localrelativefontsiz... \redodefinefont #1#2#3->\dododefinefont {#1}{#2} \doifsetupselse {#3} {\setup... l.7 \MySecondFont I sang of leaves, of leaves of gold, and leaves of gold th... ? Steffen