Thread View: comp.lang.postscript
3 messages
3 total messages
Started by Malcolm Herbert
Fri, 12 Nov 1993 06:06
Reducing the size of dvips output for TeX documents
Author: Malcolm Herbert
Date: Fri, 12 Nov 1993 06:06
Date: Fri, 12 Nov 1993 06:06
42 lines
3345 bytes
3345 bytes
LaTeX and TeX are both very good at producing extremely nice documents and so forth, and converting to PostScript is easy via the dvips program supplied by Radical-Eye software (I only have this one ... but I think Adobe also supply one as well) There is one small problem. When one is drafting a TeX document from home and you want to look at what you've produced, you run it through TeX, and then through dvips to get a PS file at the host. Now this is fine, except when you want to print that PS file on your local PostScript machine, because if you only have perhaps one page of document, you invariably get a file that is MUCH much bigger than what you started with, because TeX uses a font (computer modern?) for which there is no printer defined font, and so dvips must include the entire font definition table into your PS file. This is a real pain when one is only at 1200 bd. (Yes, I know you _can_ zip things up and send them, but that avoids the issue!) What I'd like to know is, is there a font set available for TeX that is the same as the standard fonts in a PS engine so that dvips doesn't have to include the font specification? For example, is there Helvetica, or Times that TeX knows about, which is the same as the Helvetica or Times as specified in the guts of, say the Laserwriter? For small, single page files, this change would reduce their size by as much as 70%, and more if you are using larger fonts, as they are bitmapped. This problem has probably more to do with what TeX knows about than what dvips should be doing ... it probably wouldn't be too hard for dvips to recognise the standard fonts, and make one or two redefinitions in its output file (like define /Helvetica findfont 12 scalefont setfont as /Fc for example). Even if this sort of thing isn't in a dvips at the moment, it should be ... ! If anyone can provide help/pointers where to look, it would be great! -- ============================================================================ Malcolm Herbert 2nd Yr Comms and Elec Eng s914431@minyos.xx.rmit.oz.au RMIT Melbourne Aust ============= Choral-net and choral-chat mailing lists manager ============= Anyone who hates Dogs and Kids Can't be All Bad. -- W. C. Fields
Re: Reducing the size of dvips output for TeX documents
Author: Sven Gohlke
Date: Fri, 12 Nov 1993 17:42
Date: Fri, 12 Nov 1993 17:42
23 lines
2071 bytes
2071 bytes
In <2bv94p$hb4@aggedor.rmit.OZ.AU> s914431@minyos.xx.rmit.OZ.AU (Malcolm Herbert) writes:
>What I'd like to know is, is there a font set available for TeX that is
>the same as the standard fonts in a PS engine so that dvips doesn't have
>to include the font specification? For example, is there Helvetica, or Times
>that TeX knows about, which is the same as the Helvetica or Times as specified
>in the guts of, say the Laserwriter? For small, single page files, this
>change would reduce their size by as much as 70%, and more if you are
>using larger fonts, as they are bitmapped.
You can try to use standard Postscript fonts in Your document. With NFSS2
there comes a collection of files that should make this for You (psnfss).
I never tried this but I hope this work.
NFSS shoul be available on every good TeX site via ftp (or
ftp.uni-stuttgart.de).
Sven
--
Internet: | Yellow Mail:
| Sven Gohlke
(gohlke@marie.physik.tu-berlin.de) | Lessingstra"se 10
| 12169 Berlin
Re: Reducing the size of dvips output for TeX documents
Author: Geoff Oakley
Date: Sun, 14 Nov 1993 23:15
Date: Sun, 14 Nov 1993 23:15
37 lines
2680 bytes
2680 bytes
In article <2bv94p$hb4@aggedor.rmit.OZ.AU> s914431@minyos.xx.rmit.OZ.AU (Malcolm Herbert) writes:
When one is drafting a TeX document from home and you want to look at what
you've produced, you run it through TeX, and then through dvips to get a PS
file at the host. Now this is fine, except when you want to print that PS
file on your local PostScript machine, because if you only have perhaps one
page of document, you invariably get a file that is MUCH much bigger than
what you started with, because TeX uses a font (computer modern?) for which
there is no printer defined font, and so dvips must include the entire font
definition table into your PS file. This is a real pain when one is only at
1200 bd. (Yes, I know you _can_ zip things up and send them, but that avoids
the issue!)
There are definitely several solutions better than what you are doing
at the moment.
The first to consider is sending with the .tex file, or the .dvi file
across the phone link to the machine that has the printer, and run
(tex if necessary, then) dvips on that machine. The dvi file in
particular is a very compact representation of the document.
Next consider using standard postscript fonts. The easiest way of
doing this is probably to use times.sty (or another font if you
prefer). That is,
\documentstyle[times]{article}
or some such thing.
good luck, geoff o
--
geoffo@cse.unsw.edu.au
Geoff Oakley: CS&E, UNSW, PO Box 1, Kensington, NSW 2033, Australia
Phone: +61 2 697 4043 Fax: +61 2 313 7987
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads