Article View: comp.lang.postscript
Article #415Re: psroff generates huge files
From: Alfred Kayser
Date: Tue, 07 Apr 1992 20:20
Date: Tue, 07 Apr 1992 20:20
61 lines
2459 bytes
2459 bytes
brown@vidiot.UUCP (Vidiot) writes:
>In article <1992Apr03.160755.13148@brtph560.bnr.ca> psycho@brtpa25.bnr.ca (Paul Jezioranski) writes:
><A 25 page man file took up almost 800k of disk space when I "psroff"ed it.
><I checked out the file and it appears that psroff grid maps each character to
><the page as follows:
><
>[...]
><
><The words in the sentence above are "of time, people have been". This seems
><very wasteful when compared to another postscript file I have that does
><sentences/paragraphs like this:
><
><(of time, people have been) 72 712 T
><
><Is there any way to reduce the size of the output file, or am I using an
><outdated version of psroff??
>I don't know what the latest version of psroff does (Chris will let us know),
>but maybe you could change over to groff, which does what you want and gives
>you 100% DWB functions and a few things more.
Sorry for the long include, but psroff as it is installed (version
3.x I believe) does optimize output and outputs data in the form of:
%!PS-Adobe-1.0
....... Reasonable long header removed ....
/Times-Bold 9 SetFont
72 649(DESCRIPTION)Y
/Times-Italic 10 SetFont
108 637(gif2ps)Y
/Times-Roman 10 SetFont
137.1(is)X
148.5(a)X
157.6(filter)X
182(which)X
211.1(converts)X
249.8(gif)X
265.6(images)X
298.8(into)X
319.1(PostScript.)X
370.6(The)X
390.8(option)X
421('-eps')X
448.8(enables)X
483.5(EPSF)X
510.6(format,)X
108 625(which)Y
135.8(can)X
153.1(be)X
166(included)X
204(in)X
215.1(for)X
230.1(example)X
267.6(\(La\)Tex)X
304(documents.)X
As you can see, this is really very normal PS code.
(example is excerpt from psroff-ed manpage of 'gif2ps')
--
-- Ir. Alfred Kayser. PACS, OS/2, TCP/IP. --- Email: AKayser@et.tudelft.nl --
-- CARDIT, Delft University of Technology ------------ Tel: (31)-15-786179 --
-- P.O.Box 5031, 2600 GA Delft, The Netherlands ------ Fax: (31)-15-784898 --
Technical Details
Message-ID:
<alfred.702678056@dutepp13>Path:
arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!unido!mcsun!sun4nl!dutrun!donau!alfredReferences:
<1992Apr03.160755.13148@brtph560.bnr.ca> <3234@vidiot.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!unido!mcsun!sun4nl!dutrun!donau!alfred From: AKayser@dnpap.et.tudelft.nl (Alfred Kayser) Newsgroups: comp.lang.postscript Subject: Re: psroff generates huge files Message-ID: <alfred.702678056@dutepp13> Date: 7 Apr 92 20:20:56 GMT References: <1992Apr03.160755.13148@brtph560.bnr.ca> <3234@vidiot.UUCP> Sender: news@donau.et.tudelft.nl (UseNet News System) Organization: Delft University of Technology, Dept. of Electrical Engineering Lines: 61 Nntp-Posting-Host: dutepp13.et.tudelft.nl