Adobe Portable Document Format
This page contains guidelines for properly producing and sending PDF files. A little preparation and testing can avoid a lot of problems.
What is PDF?
When you convert a document into Portable Document Format (PDF), you obtain a file that can be read, navigated, searched, and printed by anyone with a PDF viewer, such as (the free) Adobe Acrobat Reader. Since PDF viewers exist on a wide variety of platforms, PDF files are universal.
The look of a PDF file online is identical to a printout of the original document. Thus, PDF is most suitable for published works. That is, PDF is useful for documents that would otherwise normally be printed. If a document can be printed or generated in PostScript format, it can be converted to PDF. (In fact, PDF is one way to help validate PostScript content.)
Like PostScript, PDF files are not easily edited except for minor textual changes on a page. However, PDF files are better structured to allow entire pages to be independently inserted and deleted.
By compressing the graphics in a document, PDF files are typically much smaller than PostScript files. In comparison to HyperText Markup Language (HTML), PDF is particularly useful for stabilized web content where small size, quality layout, and excellent typography are needed.
The most reliable and flexible way of producing a PDF file is to generate a PostScript file from the original document and convert the PostScript file to PDF with Adobe Acrobat Distiller. For word processors on Windows and Macintosh platforms, another way is to use the Adobe PDF Writer printer driver to "print" a document to PDF. Both Acrobat Distiller and PDF Writer are part of the Adobe Acrobat product.
If the original document contains Encapsulated PostScript (EPS) figures, use the Distiller method. PDF Writer uses the attached EPS preview (if it exists) and not the PostScript part of these EPS figures, which is usually not the desired result.
See also the service Create Adobe PDF Online. This service offers a limited free trial of up to three document conversions from a variety of input formats. At present, the unlimited paid subscription service is offered only to the US and Canada at USD$9.99 per month.
A free option is to try a version of Ghostscript with the ps2pdf utility (normally included). This utility sets Ghostscript to use the pdfwrite output device and tries to mimic Distiller and its options.
Following are some guidelines to help avoid problems with PDF. The main goal is to make sure that the resulting PDF files are self-contained.
Generating Proper PostScript
- Use PostScript Type 1 fonts whenever possible.
Some TeX installations use fixed-resolution PostScript Type 3 fonts for the Computer Modern typeface. Because these fonts are not scalable, there are problems in presenting these documents attractively and quickly onscreen. See Creating Quality Adobe PDF Files from TeX with DVIPS for a solution. In short, configure
dvips to generate PostScript files that use Type 1 versions of Computer Modern.
If you must use TrueType fonts (typically with a word processor), see How Acrobat Distiller and PDF Writer Handle Fonts. In this case, PDF Writer may produce better results.
In general, do not mix PostScript Type 1 and TrueType versions of the same typeface; use the PostScript version.
- Do not include the standard fonts when originally generating a PostScript file (before distilling).
The standard 13 fonts are regular, bold, italic, and bold-italic variants of Times, Courier, Helvetica, and the font Symbol. PostScript versions of these fonts come standard with PostScript printers and with Acrobat Reader, so there is no need to include them.
One problem is that including these fonts during generation may unintentionally pull in TrueType versions if these are installed on the computer.
- Include all other non-standard fonts when generating a PostScript file.
Note that TrueType versions of Times New Roman and Courier New are actually non-standard fonts. Thus, they should be included. Better yet, use Times and Courier instead.
The standard ICSE typeface for body text is Times. Use the ICSE proceedings publication format files as a guide.
Producing Proper PDF
- Optimize for print when distilling PostScript files to PDF.
This Acrobat Distiller (version 4.0) setting determines the appropriate job options for PDF files that are meant to be printed. (The files will still display fine in Acrobat Reader, but some ICSE reviewers may wish to read a printed copy.)
- Embed all fonts when distilling.
This Acrobat Distiller job option ensures that PDF files can be displayed properly with the right font. Otherwise, during viewing, Acrobat Reader may have to instantiate a multiple master font with the appropriate characteristics. The result may be less than optimal for unusual typefaces.
Note that Distiller will not embed the standard PostScript fonts.
- Subset all embedded fonts below 100 percent when distilling.
To save some space, this Acrobat Distiller job option allows unused characters of an embedded font to not be included. Some typeface licenses may require this to avoid whole fonts being extracted out of documents and used without permission.
- Produce binary PDF files and use .pdf as the filename suffix.
The binary form of a PDF file is more compact than its ASCII text form. Binary PDF is the most commonly expected form for transmission.
- Check PDF files by viewing them in Acrobat Reader on another machine.
Also check the document information that the right fonts (preferably PostScript Type 1) are being used and/or embedded.
Depending on specific submission instructions, to send a PDF document, you will either send an e-mail attachment or use an electronic file upload.