[comp.windows.x] DVI previewers under X on Suns

delatizk@PEBBLES.BBN.COM (01/25/88)

I have been trying to use texx to preview TeX output (dvi files) under
X11R1 on a Sun 3/50. Texx fails to find fonts at the correct sizes (we
have other magnifications but not the ones it computes are necessary);
then when it tries to create the page format, it dies while in the
rasterizing process. I presume this has something to do with the fact
that it has been unable to find any font rasters to use.

If anyone has successfully used texx, I'd appreciate knowing how,
especially if you also don't have the exact collection of pixel files
it thinks it needs. I'm a complete neophyte where the internals of dvi
files and fonts are concerned, so please make no assumptions when
giving instructions.

---------------------------------------------------------------------------
|Jonathan Delatizky PhD                                                   |
|BBN Laboratories Inc.                             ARPA: delatizky@bbn.com|
|70 Fawcett Street                                  MaBell: (617) 873-3366|
|Cambridge MA 02238                                                       |
---------------------------------------------------------------------------

grunwald@uiucdcsm.cs.uiuc.edu (01/27/88)

Although I hacked ``texx'', I didn't do the routines which it uses to find the
font files.

I'll give you some suggestions, and I'd like to know how they worked.

1) You can specify the Dots Per Inch of your the desired fonts using e.g.

	% texx -dpi 118 foo.dvi

   to use 118 DPI fonts. Thus, if you're using the 118 DPI fonts used by
   'dvisun', you should be able to try this.

2) In the 'fontdesc' file, you should be able to change the 'slop factor'
   to make it be less picky about fonts. To be honest, I have little
   intuition about how this affects the font selection or what a good
   number would be.

As for the core dumps: Sorry 'bout that, I have to admit that one late night
I generated every font I thought I'd ever need, because I was sick of the
problem. I think the best solution would be to draw a small box around
the (intended) character. If someone makes the modifications to do this,
please let me know (it's non-trivial, because it would require looking at
the .tfm file to determine the width & height -- however, I think that the
imagen driver does this already)

Dirk Grunwald.
Univ. of Illinois