[comp.text.tex] Meta fonts to BDF problem

nrd@redwood22.cray.com (Neal Dalton) (02/07/91)

I am tring to generate BDF files from MF files and the font comes out
with extra spacing.

I hack on the BDF to find out what it was, but went I finally got rid
of the extra spacing between characters and I wasn`t sure of why.

My procedure to convert them uses the SeeTeX's mfToBDF.  I do know a
sparc itn't a 100 dpi, but that was what I wanted.

Here is the procedure:

cmmf '\smode="sparc1"; mag=1.00000;' input wncysc10
mftobdf -dvi 100 -dev sparc1 wncysc10.100pk
bdftosnf wncysc10.100.bdf >wncysc10.100.snf
mkfontdir
xset +fp `pwd`
xterm -fn wncysc10.100

Thanks for *any* help you can give me.

Neal  /\    /   _     /   \|||/                   Neal Dalton
     /  \  / _  _\   /   /     \                  Cray Research, inc
    /    \/_</_(_/\_/   (  o o  )                 655-F Lone Oak Dr.
                         \  ^  /                  Eagan, MN 55121
                          \ 0 /                   Fax:   (612) 683-5599
Internet: nrd@cray.com     \_/                    800 #: 1-800-BUG-CRAY
    uucp: uunet!cray!nrd                          Phone: (612) 683-5607

mleisher@nmsu.edu (Mark Leisher) (02/07/91)

In article <163954.26480@timbuk.cray.com> nrd@redwood22.cray.com (Neal Dalton) writes:

 >
 >   My procedure to convert them uses the SeeTeX's mfToBDF.  I do know a
 >   sparc itn't a 100 dpi, but that was what I wanted.
 >
 >   Here is the procedure:
 >
 >   cmmf '\smode="sparc1"; mag=1.00000;' input wncysc10
 >   mftobdf -dvi 100 -dev sparc1 wncysc10.100pk
 >   bdftosnf wncysc10.100.bdf >wncysc10.100.snf
 >   mkfontdir
 >   xset +fp `pwd`
 >   xterm -fn wncysc10.100

For Sun consoles, you probably want 85dpi fonts from mftobdf.  So you
should generate the BDF fonts like this:

        mftobdf -dvi 100 -mag 283 wncysc10.100pk

Also, xterm doesn't work well at all with variable width fonts.  The
wncysc10 BDF font will probably be variable width, and you'll have to
hack the width changes by hand anyway.
-----------------------------------------------------------------------------
mleisher@nmsu.edu                      "I laughed.
Mark Leisher                                I cried.
Computing Research Lab                          I fell down.
New Mexico State University                        It changed my life."
Las Cruces, NM                     - Rich [Cowboy Feng's Space Bar and Grille]