From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19713 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: Sat, 9 Apr 2005 16:10:51 -0600 Message-ID: <426BBE0D@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 1113084545 11089 80.91.229.2 (9 Apr 2005 22:09:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2005 22:09:05 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 10 00:09:02 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 1DKO7p-0007qR-1p for gctc-ntg-context-518@m.gmane.org; Sun, 10 Apr 2005 00:08:21 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D14F2127C7; Sun, 10 Apr 2005 00:10:59 +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 29403-04; Sun, 10 Apr 2005 00:10:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18219127A0; Sun, 10 Apr 2005 00:10:55 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A23D127A0 for ; Sun, 10 Apr 2005 00:10:54 +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 29396-08 for ; Sun, 10 Apr 2005 00:10:53 +0200 (CEST) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id BCD5212796 for ; Sun, 10 Apr 2005 00:10:52 +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 j39MApS1499744; Sat, 9 Apr 2005 16:10:51 -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 j39MAgH935538; Sat, 9 Apr 2005 16:10:43 -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:19713 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19713 Thank you very much for responding, Thomas. >===== Original Message From "Thomas A.Schmitz" ===== >I am not sure I have understood everything you write, but here's a very >brief outline of what I think you need to do. There are two cases you >need to consider: I am in case 1: pfb-normal + pfb-expert >1. You have more than one font (this seems to be your case), normally >these will be postscript type1 fonts (extensions .pfb or .pfa). If you >want to mix characters from two fonts (say, normal letters from font A, >oldstyle numerals and maybe small caps from font B), you can most >easily do this via a virtual font. It's not too hard; I wrote a small >how-to which you can find on CTAN >(http://www.ctan.org/tex-archive/info/virtualfontshowto/?action=/tex- >archive/info/) >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. Ok, but Hans explicitly claimed to have done this for Latin Modern without virtual fonts, only encoding trickery (I'll c if I can find that message). Actually, I was really surprised when Hans said he could do this without virtual fonts, and have always been eager to learn the trick;-> With Alan Hoenig's help almost 2 years ago I contructed a complete virtual font for old style cmr using virtual fonts; I guess I can do that again (though with a non-TeX font I'm scared;-> I'll read your how-to). On the other hand, how will TeXFont handle virtual fonts? What does TeXfont need to do this correctly? Or do we just forget about TeXFont? Thanks again! Best Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523