PDF

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 216.94.11.2 (talk) at 10:29, 11 July 2002. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Jump to navigation Jump to search

Portable Document Format (PDF) is a file format developed by Adobe Systems for representing documents in a manner that is independent of the original application software, hardware, and operating system used to create those documents. A PDF file can describe documents containing any combination of text, graphics, and images in a device independent and resolution independent format. These documents can be one page or thousands of pages, very simple or extremely complex with a rich use of fonts, graphics, colour, and images.

PDF is primarly the combination of three technologies:

  • a cut-down form of PostScript for generating the layout and graphics
  • a font-embedding/replacement system to allow fonts to travel with the documents, and
  • a compresson system to bundle these elements into a single file.

PostScript is computer language, or more accurately a page description language, that is run in an interpreter to generate an image. This is a complex process that requires a fair amount of resources in order to work.

PDF is a subset of those PostScript language elements that define the graphics, and do not require an interpreter. For instance, flow control commands like if and whileare removed, while graphics commands such as lineto remain.

That means that the process of turning PDF back into a graphic is a matter of simply reading the description, rather than running a program in the PS interpreter. However the entire PS world in terms of fonts, layout and measurment remains intact.

Typicall the PostScript-like PDF code is generated from a source PostScript file. The graphics commands that the PS code outputted are collected and tokenized, any files, graphics or fonts the document references are also collected, and then everything is compressed into a single file.

There are several advantages to the PDF format. One is that there is only a single small file to transfer, whereas with the same file in PostScript format one must send the additional materials on their own. In addition the PostScript code is already interpreted, so it is faster to display on the screen. Finally the PDF system includes a font-replacement strategy that ensures the document will be readable even if the end-user does not have the "proper" fonts installed.

External links:

See also:


This article (or an earlier version of it) contains material from FOLDOC.