[comp.windows.x] Postps -- postscript previewer

dheller@cory.Berkeley.EDU (Dan Heller) (05/24/88)

I've compiled postps -- the postscript previewer, but the fonts
are not found.  Does anyone have a table (.postps file?) that works
so I can use this program?  I noticed that andrew has a sizeable
list of fonts which seem like they could map more precisely to
what postps is looking for in font names/sizes.  But how does one
convert them to X11 fonts?  And is it worth doing that?

Dan Heller	<island!argv@sun.com>

ackerman@athena.mit.edu (Mark S. Ackerman) (06/04/88)

In article <3618@pasteur.Berkeley.Edu> dheller@cory.Berkeley.EDU (Dan Heller) 
writes:

	>I've compiled postps -- the postscript previewer, but the fonts
	>are not found.  Does anyone have a table (.postps file?) that works
	>so I can use this program?  

First, postps is not a general-purpose Postscript previewer.  It is
intended for the Postscript output of Scribe.  There is another
version around here somewhere that works for psroff.  Postps doesn't
implement the full PostScript language -- it does the appropriate
macros for the mark-up language, and it doesn't do graphics.  (There
is a version that didn't make the release that does boxes, underlines,
and change bars for Scribe, tho.  It also handles figures gracefully
by ignoring them.)  Postps fell out of some work I've been doing on
developing a full-scale browser system, and doing all of Postscript was 
not necessary for this.

As for your specific question, you need the .psfonts file that has the
user-override for the font table.  The documentation for changing the
font table at the bottom of the .psfonts file.

Briefly, the .psfonts file overrides the built-in font_table array located
just before the init_fonts() procedure.  You can also change that, but at
your own risk.


	>I noticed that andrew has a sizeable
	>list of fonts which seem like they could map more precisely to
	>what postps is looking for in font names/sizes.  But how does one
	>convert them to X11 fonts?  And is it worth doing that?

Can't help you.  Note that postps doesn't care where you got the font,
as long as it's a X11 font.  If you use the Adobe fonts, tho, you'll
get a close similarity (not an exact one for some reason - the Adobe
screen fonts are a little off) between the printed page and the screen
display.


				Mark Ackerman
				MIT/Project Athena