9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Postscript incantation
@ 2002-02-10 17:26 Lucio De Re
  0 siblings, 0 replies; 3+ messages in thread
From: Lucio De Re @ 2002-02-10 17:26 UTC (permalink / raw)
  To: 9fans mailing list

What did it take to convert the Volume 1 postscript file from
unprintable to printable?  I believe Russ "added" the fonts to it, but
what commands were issued to do this?

++L


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] Postscript incantation
  2002-02-10 17:41 Russ Cox
@ 2002-02-10 17:56 ` Lucio De Re
  0 siblings, 0 replies; 3+ messages in thread
From: Lucio De Re @ 2002-02-10 17:56 UTC (permalink / raw)
  To: 9fans

On Sun, Feb 10, 2002 at 12:41:49PM -0500, Russ Cox wrote:
> 
> I think for the Volume 1 conversion I used
> /sys/doc/cleanps, which does approximately the same thing
> but for a fixed set of needed fonts.
> 
Worked a charm (I needed a copy of the Alef paper).

Thanks a tonne.

++L


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] Postscript incantation
@ 2002-02-10 17:41 Russ Cox
  2002-02-10 17:56 ` Lucio De Re
  0 siblings, 1 reply; 3+ messages in thread
From: Russ Cox @ 2002-02-10 17:41 UTC (permalink / raw)
  To: 9fans

This is the script I typically use: fontify <foo.ps >/tmp/a
It looks at the postscript headers to figure out which
fonts are needed.

g% cat /bin/fontify
#!/bin/rc
echo %!PS-Adobe-2.0
cat $* | aux/download -f -H/sys/lib/postscript/font -mfontmap  -r/sys/lib/postscript/font/lw+
g%

I think for the Volume 1 conversion I used
/sys/doc/cleanps, which does approximately the same thing
but for a fixed set of needed fonts.

Russ


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-10 17:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-10 17:26 [9fans] Postscript incantation Lucio De Re
2002-02-10 17:41 Russ Cox
2002-02-10 17:56 ` Lucio De Re

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).