This is a patched version of dvi2ps-1.8j for System V Rel.4 machines. This patch provides the following two feature. 1. Performance improvement. SVR4's fseek function flushes the stream buffer unconditionally. This causes a great performance problem when dvi2ps accesses font glyphs. The patched version uses wrapper routines defined in xxstdio.c of the system's standard I/O to get rid of redundant buffer flushes. 2. You can take a chance to generate missing fonts automatically by a program such as MakeTeXPK, which can be found in dvips package, by putting a new keyword "autoexec" and a new font type "auto" into the fontdesc file. On visiting a "font" line of "auto" type in the fontdesc, dvi2ps executes the program specified by the "autexec" keyword, in which "%R" and "%M" are substituted by the resolution of the current device and the required magnification in magstep, respectively. The "autoexec" line must preceed the "font" lines of "auto" types in the fontdesc file. This feature does not depend on SVR4, so can be enabled on any system. You have to add -DUSE_AUTO_FONT to CFLAGS in Makefile to enable this. The following is a fontdesc example which executes MakeTeXPK for missing fonts. # # Specify the program for automatic font generation, which is # supposed to put new PK fonts into /opt/tex/lib/fonts/pk/auto. autoexec /opt/xdvi/bin/MakeTeXPK %f %m %R magstep\(%M\) # # First check the prepared PK fonts. font pk * 3 /opt/tex/lib/fonts/pk/core/%f.%mpk # # Next check the PK fonts generated automatically before. font pk * 3 /opt/tex/lib/fonts/pk/auto/%f.%mpk # # Try to generate the font by MakeTeXPK if its tfm file exists. font auto * 0 /opt/tex/lib/fonts/tfm/%f.tfm # # Check the font generated automatically now. font pk * 3 /opt/tex/lib/fonts/pk/auto/%f.%mpk October 12, 1994 Hiroshi Nakano Ryukoku Univ., Seta, Otsu, Japan