From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12354 Path: main.gmane.org!not-for-mail From: "Wolfgang Werners-Lucchini" Newsgroups: gmane.comp.tex.context Subject: Re: Metafont and Context Date: Fri, 23 May 2003 00:25:01 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=Default Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1053642289 25903 80.91.224.249 (22 May 2003 22:24:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 May 2003 22:24:49 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri May 23 00:24:47 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19IyTQ-0006et-00 for ; Fri, 23 May 2003 00:23:44 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 72F2D10B25; Fri, 23 May 2003 00:25:33 +0200 (MEST) Original-Received: from moutvdom.kundenserver.de (moutvdom.kundenserver.de [212.227.126.251]) by ref.ntg.nl (Postfix) with ESMTP id 1376410B22 for ; Fri, 23 May 2003 00:21:24 +0200 (MEST) Original-Received: from [212.227.126.220] (helo=mrvdomng.kundenserver.de) by moutvdom.kundenserver.de with esmtp (Exim 3.35 #1) id 19IyR9-000395-00 for ntg-context@ntg.nl; Fri, 23 May 2003 00:21:23 +0200 Original-Received: from [217.1.4.232] (helo=1und1/pt1094-284) by mrvdomng.kundenserver.de with esmtp (Exim 3.35 #1) id 19IyR9-0001ha-00 for ntg-context@ntg.nl; Fri, 23 May 2003 00:21:23 +0200 Original-To: X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1132 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12354 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12354 Hallo! > > Some questions about the typescript: > > We've reached the limits of my knowledge. I'll have to dig deeper before > I can be of any help. There is quite a bit I don't yet understand about > fonts in tex and Context. > > > > \starttypescript [serif] [duerer] > > ^ no [name] her? > > In other examples an encoding goes here, but it is just a key for > finding the typescript. This example works without specifying an > encoding. > > > > \starttypescript [Duerer] > > > \definetypeface [Duerer] [rm] [serif] [duerer] [default] > > > ^ > > what is this 5th parameter for? I have to set this to the fontname? > > It identifies the typescript for the size information. The typescript to > be found is [#3][#5][default], which in this case is ^ size > [serif][default][size]. There is a match for this in type-siz.tex. > > Note: this is how I have explained it on my help page, but I am not sure > it is correct. I've not been able to substitute other size typescripts, > so I must be missing something. I don't undestand \definebodyfont or the > size mechanism at all. > > > Why is there no section [size] needed? What are the defaults? > > As above, the default size is [serif][default][size] in type-siz.tex (I > think). > > > What about encoding? For example, an OT1 font doesn't contains german > > umlauts, a T1 font does. > > I'm puzzled in this case. A tfm is generated for a specific encoding. > Multiple encodings for the same font would require multiple tfm's. > Looking at one of my type1 fonts, I see the encoding I used when > installing it: > > tftopl texnansi-sar.tfm | grep CODINGSCHEME > (CODINGSCHEME TEXNANSIENCODING) > > This makes sense, because I used texnansi.enc when installing. But when > I look at Metafont Duerer: > > tftopl cdr10.tfm | grep CODINGSCHEME > (CODINGSCHEME ASCII CAPS AND DIGITS) > > What encoding is that, and how would I create a tfm with a different > encoding? As the creator of a metafont one can invent an encoding, say 'ASCII CAPS AND DIGITS' which is completly unknown by the rest of the world. And I can use T1 or OT1 or what ever. To create different encodings for a font the designer has to designate a parameter or parameterfile to select that. If the fontdesigner doesn't plan the use of different encodings, you have to use virtual fonts, I think. > > > By the way, there is also a typescript-section [special]. What can I > > do with this? > > I don't know; there are a few examples dealing with math mode in > type-spe.tex. > > > I will report about my attempts about my font 'bunt' in a second mail. > > I've never dealt with multiple design sizes (and don't understand single > design sizes yet). If you will send me your "bunt" font files I'll use > them for testing, although it may take some time before I can get to it. > > -Bill Thank you, Wolfgang