From - Sat Oct 12 17:49:37 2002
Return-Path: <a.delmotte@largevision.com>
Received: from hosting1.tiscalinet.be (hosting1.tiscali.be [212.35.2.94])
    by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g9CFnPB65177 for
    <metafont@ens.fr>; Sat, 12 Oct 2002 17:49:25 +0200 (CEST)
Received: from [62.235.232.21] (helo=adelmotte) by hosting1.tiscalinet.be
    with smtp (Tiscalinet) id 180OW2-0007wJ-00 for <metafont@ens.fr>;
    Sat, 12 Oct 2002 17:49:22 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
From: "Alain Delmotte" <a.delmotte@largevision.com>
To: metafont@ens.fr
Date: Sat, 12 Oct 2002 17:48:11 +0200
X-Mailer: Kanari Mailer 1.0
Organization: =?ISO-8859-1?Q?Le Liseron =E9ditions?=
X-Priority: 3
Message-Id: 3da8443b00262e83@ADELMOTTE
X-Kdocid: 3da83ef1001185de
X-Kparentid: X-Krootid: 3da83ef1001185de
X-Klevel: 0
X-Scanner: exiscan *180OW2-0007wJ-00*HKv.vJh3bHI*
    http://duncanthrax.net/exiscan/
Content-Transfer-Encoding: 8bit
X-Mime-Autoconverted: from base64 to 8bit by nef.ens.fr id g9CFnPB65177
X-Virus-Scanner: AMaVis 0.2.0-pre6 / Virus Scan
X-Loop: metafont@nef.ens.fr
X-Sequence: 579
Precedence: list
Subject: [metafont] Gray font

Hi!

I am trying to use metafont with the miktex distribution,
with WinEdt as editor.

metafont works and creates the .2602gf file;
gftodvi works and creates the .dvi file;
but when I want to view this one I have the drawing of
the letter, but not as a gray character, instead I get it
as series of letters.

This is because I do not have the gray.pk font (gray.tfm exists).
I do not manage to create the .pk font.

How should I do?
How could I create WinEdt controls to do automatically?

Thanks,

Alain Delmotte


From - Sat Oct 12 18:43:06 2002
Return-Path: <bdesgraupes@easyconnect.fr>
Received: from smarthost2.mail.easynet.fr (smarthost2.mail.easynet.fr
    [212.180.1.69]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id
    g9CGguB71589 for <metafont@ens.fr>; Sat, 12 Oct 2002 18:42:56 +0200 (CEST)
Received: from [212.11.43.158] (helo=easyconnect.fr) by
    smarthost2.mail.easynet.fr with esmtp (Exim 3.35 #1 (Debian)) id
    180PLm-0003Vd-00; Sat, 12 Oct 2002 18:42:50 +0200
Message-Id: <3DA85103.ECEF8466@easyconnect.fr>
Date: Sat, 12 Oct 2002 18:42:43 +0200
From: Bernard Desgraupes <bdesgraupes@easyconnect.fr>
Reply-To: bdesgraupes@easyconnect.fr
X-Mailer: Mozilla 4.5 [fr] (Macintosh; U; PPC)
X-Accept-Language: fr,pdf
Mime-Version: 1.0
To: Alain Delmotte <a.delmotte@largevision.com>
Cc: metafont@ens.fr
Subject: Re: [metafont] Gray font
References: 3da8443b00262e83@ADELMOTTE
Content-Type: text/plain; charset=us-ascii;
    x-mac-type="54455854";
    x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit
X-Virus-Scanner: AMaVis 0.2.0-pre6 / Virus Scan
X-Loop: metafont@nef.ens.fr
X-Sequence: 580
Precedence: list




> Hi!
>
> I am trying to use metafont with the miktex distribution,
> with WinEdt as editor.
>
> metafont works and creates the .2602gf file;
> gftodvi works and creates the .dvi file;
> but when I want to view this one I have the drawing of
> the letter, but not as a gray character, instead I get it
> as series of letters.
>
> This is because I do not have the gray.pk font (gray.tfm exists).
> I do not manage to create the .pk font.
>
> How should I do?

There is no gray.pk
The pk's depend on the resolution of your printer. If you have a printer, say, at 600 dpi,
what you are expecting is gray600.pk

This can be generated by mf in two steps :
1-
mf \mode=your_mode  ; input gray.mf
where your_mode is the appropriate mode for your printer. Look in the file modes.mf what
is the best choise.
On my 600 dpi laser I use mode canonex so it goes
mf \mode=canonex  ; input gray.mf

2- This gives you a file gray600.gf which you convert to pk with gftopk  (not gftodvi)
It also produces the tfm in the same time


>
> How could I create WinEdt controls to do automatically?

Usually maketexpk takes care of that automatically (at leas on Unix and on MacOS). Dunno
on win.


Hope this helps

Bernard






