From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12341 Path: main.gmane.org!not-for-mail From: "Wolfgang Werners-Lucchini" Newsgroups: gmane.comp.tex.context Subject: Re: Metafont and Context Date: Thu, 22 May 2003 01:05:56 +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: 8bit X-Trace: main.gmane.org 1053560481 19511 80.91.224.249 (21 May 2003 23:41:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 May 2003 23:41:21 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu May 22 01:41:20 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 19IdCy-00054W-00 for ; Thu, 22 May 2003 01:41:20 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7832E10AE7; Thu, 22 May 2003 01:43:10 +0200 (MEST) Original-Received: from moutvdom.kundenserver.de (moutvdom.kundenserver.de [212.227.126.249]) by ref.ntg.nl (Postfix) with ESMTP id 5FA0310ACE for ; Thu, 22 May 2003 01:39:40 +0200 (MEST) Original-Received: from [212.227.126.221] (helo=mrvdomng.kundenserver.de) by moutvdom.kundenserver.de with esmtp (Exim 3.35 #1) id 19IdBM-0004em-00 for ntg-context@ntg.nl; Thu, 22 May 2003 01:39:40 +0200 Original-Received: from [217.1.4.177] (helo=1und1/pt1094-284) by mrvdomng.kundenserver.de with esmtp (Exim 3.35 #1) id 19IdBL-0002dU-00 for ntg-context@ntg.nl; Thu, 22 May 2003 01:39:40 +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:12341 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12341 Hallo! > > > Has anybody written typescripts for one of the Metafonts available > > > at CTAN and can send me an example or two? > > I've added a Metafont example to my page: > > http://home.salamander.com/~wmcclain/context-help.html#newfont-mf > > I don't know much about Metafont, and your comments (as always) are > welcome. > > In particular, I have two questions: > > (1) I don't specify encoding, because I'm not sure how encoding > interacts with MF. Is it even required? The typescript works without > encoding references. > > (2) texexec + pdftex do not generate .pk files like xdvi does. Is that > an option I've missed? In the example I give I first create a .dvi > version of the file and have xdvi create the .pk files, which then can > be read by pdftex. > > -Bill Thank you very much for your work! Some questions about the typescript: > % Typescript for the Duerer metafont typeface. > % > % The ``Informal'' is a serifed variation; I assign it to > % italic so that we can access both it and slanted in the same > % setup. > % > \starttypescript [serif] [duerer] ^ no [name] her? > \definefontsynonym [Duerer-Roman] [cdr10] > \definefontsynonym [Duerer-Bold] [cdb10] > \definefontsynonym [Duerer-Slanted] [cdsl10] > \definefontsynonym [Duerer-Informal] [cdi10] > \stoptypescript > > \starttypescript [sans] [duerer] ^ no [name] her? > \definefontsynonym [Duerer-Sans] [cdss10] > \stoptypescript > > \starttypescript [mono] [duerer] ^ no [name] her? > \definefontsynonym [Duerer-Mono] [cdtt10] > \stoptypescript > > \starttypescript [serif] [duerer] [name] > \definefontsynonym [Serif] [Duerer-Roman] > \definefontsynonym [SerifBold] [Duerer-Bold] > \definefontsynonym [SerifSlanted] [Duerer-Slanted] > \definefontsynonym [SerifItalic] [Duerer-Informal] > \stoptypescript > > \starttypescript [sans] [duerer] [name] > \definefontsynonym [Sans] [Duerer-Sans] > \stoptypescript > > \starttypescript [mono] [duerer] [name] > \definefontsynonym [Mono] [Duerer-Mono] > \stoptypescript > > \starttypescript [Duerer] > \definetypeface [Duerer] [rm] [serif] [duerer] [default] ^ what is this 5th parameter for? I have to set this to the fontname? > \definetypeface [Duerer] [ss] [sans] [duerer] [default] > \definetypeface [Duerer] [tt] [mono] [duerer] [default] > \stoptypescript Why is there no section [size] needed? What are the defaults? I see, that Duerer is designed only in one size. This is not always the case with metafonts. For example, I should can say things like: Use font with designsize 10pt for all the fontsizes lower and equal to 10pt and scale acoordingly. Use font with designsize 11pt for the fontsize 11pt. Use font with designsize 14.4pt for fontsizes from 12pt to infinity and scale them. What about encoding? For example, an OT1 font doesn't contains german umlauts, a T1 font does. By the way, there is also a typescript-section [special]. What can I do with this? I will report about my attempts about my font 'bunt' in a second mail. Gruß, Wolfgang