[comp.text.tex] gftodvi and gray/black/slant fonts

kenc@madmax.Viewlogic.COM (Kenstir) (01/10/91)

How do you generate the .tfm files for teh gray/black/slant fonts
which you need to use gftodvi?  I have the UnixTeX 3.0 stuff from
labrea.stanford.edu:/pub/tex/unix3.0.

I tried running metafont on `gray.mf' but that file just includes `grdov'
and *that* file had bogosity in it...

(I appreciate any help!)
--
Kenneth H. Cox
Viewlogic Systems, Inc.
kenstir@viewlogic.com
...!harvard!cg-atla!viewlog!kenstir

jg@prg.ox.ac.uk (Jeremy Gibbons) (01/10/91)

kenc@madmax.Viewlogic.COM (Kenstir) writes 

> I tried running metafont on `gray.mf' but that file just includes `grdov'
> and *that* file had bogosity in it...

`Bogosity'? Must be an Americanism :-)

Remember that gray fonts can't be magnified, nor can they really be run off
for different devices. In fact, they aren't device independent at all. This is
because the characters must be a whole number of device pixels wide. So, you
really want gray.mf to say

> input grlocal % `standard' gray font is for default mode (whatever that is)

(Quite why the standard in the distribution is for a Dover, I don't know.)
Then grlocal.mf should say

> % Gray font for `localfont' (whatever that may be)
>
> mode_setup;
>
> if mode<>localfont: 
>    errmessage "This file is for " & mode_name[localfont] & " only"; 
>    def input suffix t = enddef;
> fi
>
> font_identifier "GRAYLOCAL";
> input grayf;
> bye.

Jeremy

*-----------------------------------------------------------------------*
|  Jeremy Gibbons (jg@uk.ac.oxford.prg)   Funky Monkey Multimedia Corp  |
*-----------------------------------------------------------------------*