Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Portable Document Format


 Contents
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.

Free readers for many platforms are available for download from the Adobe website, and there are several free open source readers, including Xpdf for POSIX-like systems with the X Window System; GPdf, a derivative of Xpdf for GNOME; GSPdf and ViewPDF, for GNUstep; and front-ends for many platforms to Ghostscript, q.v.

1 Technology

PDF is primarily the combination of three technologies:

1.1 PostScript

PostScript is a computer language – or more accurately a page description languageA page description language is a language that describes the contents of a printed page in a higher level than an actual output bitmap. Some page description languages are not complete enough to be considered a programming language, however, PostScript, o – that is run in an interpreter to generate an image. This process requires a fair amount of resources.

PDF is a subset of those PostScript language elements that define the graphics, and only requires a very simple interpreter. For instance, flow control commands like if and loop are 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 measurement remains intact.

Often the PostScript-like PDF code is generated from a source PostScript file. The graphics commands that the PS code outputs are collected and tokenizeTokenizing is the operation of splitting up a string of characters into a set of tokens. The term is also used when during the parsing of source code of some programming languages, the symbols are converted into another format that is much smaller. Most Bd, any files, graphics or fonts the document references are also collected, and then everything is compressed into a single file.

As a document format, PDF has several advantages over PostScript. One is that a document resides in a single file, whereas the same document in PostScript may span multiple files (graphics, etc.) and probably occupies more space. In addition, PDF contains already-interpreted results of the PostScript source code, so it is less computation-intensive and faster to open, and there is a more direct correspondence between changes to items in the PDF page description and changes to the resulting appearance of the page. Finally, if displayed with Adobe Reader, a font-substitution strategy ensures the document will be readable even if the end-user does not have the "proper" fonts installed.



Read more »

Non User