From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19721 Path: news.gmane.org!not-for-mail From: Idris Samawi Hamid Newsgroups: gmane.comp.tex.context Subject: RE: Encoding and mapping glyphs from an expert font Date: Sun, 10 Apr 2005 01:37:28 -0600 Message-ID: <426D1F70@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113118500 6795 80.91.229.2 (10 Apr 2005 07:35:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2005 07:35:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 10 09:34:56 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 1DKWy7-0002X6-Di for gctc-ntg-context-518@m.gmane.org; Sun, 10 Apr 2005 09:34:55 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 61980127F3; Sun, 10 Apr 2005 09:37:37 +0200 (CEST) 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 15971-06; Sun, 10 Apr 2005 09:37:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C24B9127E1; Sun, 10 Apr 2005 09:37:33 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F643127E1 for ; Sun, 10 Apr 2005 09:37:32 +0200 (CEST) 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 16100-04 for ; Sun, 10 Apr 2005 09:37:31 +0200 (CEST) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id EC195127D5 for ; Sun, 10 Apr 2005 09:37:30 +0200 (CEST) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by eagle.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j3A7bTS1465330; Sun, 10 Apr 2005 01:37:29 -0600 Original-Received: from webmail.colostate.edu (csunts4.acns.colostate.edu [129.82.100.135]) by lamar.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j3A7bJH705114; Sun, 10 Apr 2005 01:37:20 -0600 X-WebMail-UserID: ishamid Original-To: "Thomas A.Schmitz" , mailing list for ConTeXt users X-EXP32-SerialNo: 00002247, 00002264 X-Mailer: Infinite Mobile Delivery (Hydra) SMTP v3.62.01 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 Xref: news.gmane.org gmane.comp.tex.context:19721 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19721 Hi Thomas, Adam, and all... >===== Original Message From "Thomas A.Schmitz" >So there is no simple answer to your question. TeX knows to pick up >zerooldstyle instead of zero either >1. because you have a virtual font that says MAPFONT 1, so it knows it >will have to use a different pfb than for the rest, or >2. because the encoding file points to character zerooldstyle within >the ttf. You are right. I just realized that I misunderstood what Hans meant by avoiding virtual fonts: I was assuming all this time that the \usetypescript[map][latin-modern-os][texnansi] setup was mapping latin modern to cmmi10, etc. I looked at the log of a test file for latin-modern-os: no mention of cmmi10, etc. I looked at the pdf, listed all fonts, and boom, only one font, lmr12.pfb. I opened lmr12 in FontLab and, lo and behold, it contains a palette of old style numerals! So what Hans meant was that there is no need for a virtual font to remap lmr itself, not that you could actually map the numerals of lmr to cmmibi without a virtual font. The OldStyle to MathItalic mappings are apparently useful for local switches like \os, but not for global setups. Oh well, I certainly learned a lot about fonts and ConTeXt this past day-and-a-half, so I guess it was not a total waste of time. Now I guess I have to make some virtual fonts (sigh), so it's now on to Thomas' how-to. Thnx to all Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523