[comp.sys.atari.st] showdvi fonts?

piner@newton.physics.purdue.edu (Richard Piner) (08/25/90)

I copied showdvi and showdvifonts from terminator this weekend.
The documentation is sparse to say the least. I've figured out
how to change the showdvi.fnt file to point to the directory
with the fonts, but showdvi says it can't find "cmr10" (plus other
fonts too). There has to be something I'm missing. What's the trick?

						R. Piner

dinolt@wdl1.wdl.fac.com (George W Dinolt) (08/29/90)

This is really a note from Jeff Long (longj@LONEX.RADC.AF.MIL). He
asked me to post it for him.  Comments, etc. should be addressed 
directly to him. (dinolt@wdl1.wdl.fac.com)
----------------------------------------------------------------------

A while back someone posted a note asking for help getting SHOWDVI to load
the fonts it needs. I have spent a couple of days getting my show/print
dvi set-up and working with my monochrome system and 30 meg drive and
HP-DeskJet printer.
      I took 1.5 Meg of PK fonts from my Sun at work and d/led them and
then moved them into single fonts files using FLIB.TTP (which came with
the showdvi distribution I got from Terminator).  I still use the same
fontlib for the screen that was included in the file showdvifnt.zoo, but
that zoo file had only enough fonts for the screen driver, not any 300dpi
fonts for my deskjet.
      Anyway, the point of this is to present my general findings on using
show/printdvi.  I have the fontlibs in a directory like I:\fonts\screen
and I:\fonts\printer and each of these folders has the fontfiles for the
resolutions needed.  I believe the screen directory has PK0083 thru
PK0144 in single magsteps.  My printer directory has a very complete
collection of 300dpi fonts from PK0300 to PK0622.
      I boot show/printdvi from the root level of my F: drive (using
Neodesk :-)) and have the showdvi.fnt and printdvi.fnt files located on C:
drive in a folder labeled C:\CONFIG\.  The two font config files are just
modified versions of ones that came with the distributions.
   They look like this:
; the fonts for the ATARI SM 124
flib 100 I:\fonts\screen ;magstep 0
flib 110 I:\fonts\screen ;magstep half
flib 120 I:\fonts\screen ;magstep 1
flib 144 I:\fonts\screen ;magstep 2
flib 173 I:\fonts\screen ;magstep 3
flib 207 I:\fonts\screen ;magstep 4
flib 249 I:\fonts\screen ;magstep 5
; now the fonts for the HP-DESKJET
flib 300 I:\fonts\printer ;magstep 0
flib 329 I:\fonts\printer ;magstep half
flib 360 I:\fonts\printer ;magstep 1
flib 432 I:\fonts\printer ;magstep 2
flib 518 I:\fonts\printer ;magstep 3
flib 622 I:\fonts\printer ;magstep 4
flib 746 I:\fonts\printer ;magstep 5
; now single fonts
pk_str %d\%s

;--------end of config file-----------

NOTICE:  I had to CHANGE THE LAST LINE to read as shown!! It originally
was different (I don't remember exactly how), and I couldn't get either
 program to locate my individual pk fontfiles when they were located as separate
 font files.  Before I moved all the fonts into fontlibs, I had each
 pk file in folders like:
I:\fonts\tex\fonts\300\cmr10   (where "cmr10" was the individual pk file)
and with the last line of the config file changed to read as shown, it
could locate the files.

I would strongly recommend working from fontlibs, as it keeps your
directory tree much cleaner!  As a service, I would be willing to provide
copies of my 300 dpi fontlibs to someone if they send me 3 ds/dd disks in
a mailer that I can use to return them in, along with $2.00 to cover the
return postage.  Like I said, the printer fontlibs amount to a little over
1.5 Meg, so I don't think it is practical to post them to the net!!

By the way, about a year ago, I posted a port of BibTeX for the ST to the
net.  I would appreciate it if anyone who has used it could at least give
me feedback on how it is working for them!
My new net address is:
                       longj@lonex.radc.af.mil
and if anyone wants the fonts, mail the disks and stuff to me at:
      Jeff Long
      3003 Saturn Drive
      Rome NY. 13440
      (home)(315)-339-6096

jkl