ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Werners-Lucchini" <wwl@musensturm.de>
Subject: Re: Metafont and Context
Date: Thu, 22 May 2003 01:05:56 +0200	[thread overview]
Message-ID: <E19IdBL-0002dU-00@mrvdomng.kundenserver.de> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=Default, Size: 3371 bytes --]

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

             reply	other threads:[~2003-05-21 23:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21 23:05 Wolfgang Werners-Lucchini [this message]
2003-05-22 13:49 ` Bill McClain
  -- strict thread matches above, loose matches on Subject: below --
2003-05-22 22:25 Wolfgang Werners-Lucchini
2003-05-21 23:39 Wolfgang Werners-Lucchini
2003-05-18 20:40 Wolfgang Werners-Lucchini
2003-05-20 21:10 ` Bill McClain
2003-05-21 12:17   ` Hans Hagen
2003-05-17 23:40 Wolfgang Werners-Lucchini
2003-05-18 15:52 ` Bill McClain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E19IdBL-0002dU-00@mrvdomng.kundenserver.de \
    --to=wwl@musensturm.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).