All Topics  
Portable Document Format

 

   Email Print
   Bookmark   Link






 

Portable Document Format



 
 
Portable Document Format (PDF) is a file format
File format

A file format is a particular way to encode information for storage in a computer file.Since a disk drive, or indeed any computer storage, can store only bits, the computer must have some way of converting information to 0s and 1s and vice-versa....
 created by Adobe Systems
Adobe Systems

Adobe Systems Incorporated is an United States computer Computer software company headquartered in San Jose, California, USA. The company has historically focused upon the creation of multimedia and creativity software products, with a more-recent foray into rich Internet application software development....
 in 1993 for document exchange. PDF is used for representing two-dimensional documents in a manner independent of the application software, hardware, and operating system.

Each PDF file encapsulates a complete description of a fixed-layout 2-D document (and, with Acrobat 3-D, embedded 3-D documents) that includes the text, fonts, images, and 2-D vector graphics
Vector graphics

Vector graphics is the use of geometrical Primitive s such as point s, line , curves, and shapes or polygon, which are all based upon mathematical equations, to represent s in computer graphics....
 which compose the documents.

Formerly a proprietary format, PDF was officially released as an open standard
Open standard

An open standard is a standard that is publicly available and has various rights to use associated with it, and various properties of how it was designed....
 on July 1, 2008, and published by the ISO
International Organization for Standardization

The International Organization for Standardization , widely known as ISO , is an international standard-setting body composed of representatives from various national standards organizations....
 as ISO 32000-1:2008.

s adoption in the early days of the format's history was slow.






Discussion
Ask a question about 'Portable Document Format'
Start a new discussion about 'Portable Document Format'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Portable Document Format (PDF) is a file format
File format

A file format is a particular way to encode information for storage in a computer file.Since a disk drive, or indeed any computer storage, can store only bits, the computer must have some way of converting information to 0s and 1s and vice-versa....
 created by Adobe Systems
Adobe Systems

Adobe Systems Incorporated is an United States computer Computer software company headquartered in San Jose, California, USA. The company has historically focused upon the creation of multimedia and creativity software products, with a more-recent foray into rich Internet application software development....
 in 1993 for document exchange. PDF is used for representing two-dimensional documents in a manner independent of the application software, hardware, and operating system.

Each PDF file encapsulates a complete description of a fixed-layout 2-D document (and, with Acrobat 3-D, embedded 3-D documents) that includes the text, fonts, images, and 2-D vector graphics
Vector graphics

Vector graphics is the use of geometrical Primitive s such as point s, line , curves, and shapes or polygon, which are all based upon mathematical equations, to represent s in computer graphics....
 which compose the documents.

Formerly a proprietary format, PDF was officially released as an open standard
Open standard

An open standard is a standard that is publicly available and has various rights to use associated with it, and various properties of how it was designed....
 on July 1, 2008, and published by the ISO
International Organization for Standardization

The International Organization for Standardization , widely known as ISO , is an international standard-setting body composed of representatives from various national standards organizations....
 as ISO 32000-1:2008.

History

PDF's adoption in the early days of the format's history was slow. Adobe Acrobat
Adobe Acrobat

Adobe Acrobat is a family of software developed by Adobe Systems, designed to view, create, manipulate and manage files in Adobe's Portable Document Format ....
, Adobe's suite for reading and creating PDFs, was not freely available; early versions of PDF had no support for external hyperlinks, reducing its usefulness on the World Wide Web
World Wide Web

The World Wide Web is a very large set of interlinked hypertext documents accessed via the Internet. With a Web browser, one can view Web pages that may contain writing, s, videos, and other multimedia and navigate between them using hyperlinks....
; the additional size of the PDF document compared to plain text meant significantly longer download times over the slower modem
Modem

Modem is a peripheral device that modulation an analog carrier wave Signal to encode digital information, and also demodulation such a carrier signal to decode the transmitted information....
s common at the time, and rendering the files was slow on less powerful machines. Additionally, there were competing formats such as Envoy
Envoy (WordPerfect)

In computing, Envoy was a portable document file format marketed by WordPerfect Corporation, created as a competitor for Acrobat Pro. It was introduced by Tumbleweed Communications Corporation in 1993 and shipped with WordPerfect Office in March 1994....
, Common Ground Digital Paper and even Adobe's own PostScript
PostScript

PostScript is a dynamically typed concatenative programming language programming language created by John Warnock and Charles Geschke in 1982. PostScript is best known for its use as a page description language in the electronic and desktop publishing areas....
 format (.ps); in those early years, the PDF file was mainly popular in desktop publishing
Desktop publishing

Desktop publishing combines a personal computer and WYSIWYG page layout software to create publication documents on a computer for either Publishing or small scale local Multifunction printer output and distribution....
 workflow
Workflow

A workflow is a depiction of a sequence of operations, declared as work of a person, work of a simple or complex mechanism, work of a group of persons, work of an organization of staff, or machines....
.

Adobe soon started distributing its Acrobat Reader (now Adobe Reader) program at no cost, and continued supporting the original PDF, which eventually became the de facto standard
De facto standard

A de facto standard is a custom, convention, product, or system that has achieved a dominant position by public acceptance or market forces . De facto is a Latin phrase meaning "concerning the fact" or "in practice", and is used in opposition to de jure ....
 for printable documents on the web (a standard web document
Web document

Web document is a similar concept to web page, except it is a broader termwith the following distinctions: ...
).

The PDF file format has changed several times and continues to evolve, as new versions of Adobe Acrobat were released. There have been nine versions of PDF with corresponding Acrobat releases:
  • (1993) - PDF 1.0 / Acrobat 1.0
  • (1994) - PDF 1.1 / Acrobat 2.0
  • (1996) - PDF 1.2 / Acrobat 3.0
  • (1999) - PDF 1.3 / Acrobat 4.0
  • (2001) - PDF 1.4 / Acrobat 5.0
  • (2003) - PDF 1.5 / Acrobat 6.0
  • (2005) - PDF 1.6 / Acrobat 7.0
  • (2006) - PDF 1.7 / Acrobat 8.0
  • (2008) - PDF 1.7, Adobe Extension Level 3 / Acrobat 9.0


The ISO 32000-1:2008 PDF open standard was published by the ISO on July 1, 2008. PDF is now a published ISO standard, titled Document management -- Portable document format -- Part 1: PDF 1.7

According to the ISO PDF standard abstract:

ISO 32000-1:2008 specifies a digital form for representing electronic documents to enable users to exchange and view electronic documents independent of the environment in which they were created or the environment in which they are viewed or printed. It is intended for the developer of software that creates PDF files (conforming writers), software that reads existing PDF files and interprets their contents for display and interaction (conforming readers) and PDF products that read and/or write PDF files for a variety of other purposes (conforming products).

Technical foundations

Anyone may create applications that can read and write PDF files without having to pay royalties to Adobe Systems
Adobe Systems

Adobe Systems Incorporated is an United States computer Computer software company headquartered in San Jose, California, USA. The company has historically focused upon the creation of multimedia and creativity software products, with a more-recent foray into rich Internet application software development....
; Adobe holds patents to PDF, but licenses them for royalty-free use in developing software complying with its PDF specification.

The PDF combines three technologies:
  • A subset of the PostScript
    PostScript

    PostScript is a dynamically typed concatenative programming language programming language created by John Warnock and Charles Geschke in 1982. PostScript is best known for its use as a page description language in the electronic and desktop publishing areas....
     page description programming language, for generating the layout and graphics.
  • A font-embedding/replacement system to allow fonts to travel with the documents.
  • A structured storage system to bundle these elements and any associated content into a single file, with data compression
    Data compression

    In computer science and information theory, data compression or source coding is the process of encoding information using fewer bits than an code representation would use through use of specific encoding schemes....
     where appropriate.


PostScript

PostScript
PostScript

PostScript is a dynamically typed concatenative programming language programming language created by John Warnock and Charles Geschke in 1982. PostScript is best known for its use as a page description language in the electronic and desktop publishing areas....
 is a page description language
Page description language

A page description language is a language that describes the appearance of a printed page in a higher level than an actual output bitmap. An overlapping term is printer control language, but it should not be confused as referring solely to Hewlett-Packard's PCL....
 run in an interpreter to generate an image, a process requiring many resources. PDF is a file format, not a programming language, i.e. flow control commands such as if and loop are removed, while graphics commands such as lineto remain.

Often, the PostScript-like PDF code is generated from a source PostScript file. The graphics commands that are output by the PostScript code are collected and tokenized
Lexical analysis

In computer science, lexical analysis is the process of converting a sequence of characters into a sequence of tokens. Programs performing lexical analysis are called lexical analyzers or lexers....
; any files, graphics, or fonts to which the document refers also are collected; then, everything is compressed to a single file. Therefore, the entire PostScript world (fonts, layout, measurements) remains intact.

As a document format, PDF has several advantages over PostScript:
  • PDF contains tokenized and interpreted results of the PostScript source code, for direct correspondence between changes to items in the PDF page description and changes to the resulting page appearance.
  • PDF (from version 1.4) supports true graphic transparency
    Transparency (graphic)

    Transparency is possible in a number of graphics file formats. The term transparency is used in various ways by different people, but at its simplest there is "full transparency" i.e....
    ; PostScript does not.
  • PostScript is an imperative programming language with an implicit global state, so instructions accompanying the description of one page can affect the appearance of any following page. Therefore, all preceding pages in a PostScript document must be processed in order to determine the correct appearance of a given page, whereas each page in a PDF document is unaffected by the others. As a result, PDF viewers allow the user to quickly jump to the final pages of a long document, whereas a Postscript viewer needs to process all pages sequentially before being able to display the destination page.


Technical overview


File structure

A PDF file consists primarily of objects, of which there are eight types:
  • Boolean
    Boolean datatype

    In computer science, the Boolean algebra datatype, sometimes called the logical datatype, is a primitive datatype having one of two values: Truth value and false....
     values, representing true or false
  • Numbers
  • Strings
    String (computer science)

    In computer programming and some branches of mathematics, a string is an ordered sequence of symbols. These symbols are chosen from a predetermined set or alphabet....
  • Names
  • Array
    Array

    In computer science, an array is a data structure consisting of a group of element s that are accessed by index . In most programming languages each element has the same data type and the array occupies a contiguous area of computer memory....
    s, ordered collections of objects
  • Dictionaries, collections of objects indexed by Names
  • Streams, usually containing large amounts of data
  • The Null object


Objects may be either direct (embedded in another object) or indirect. Indirect objects are numbered with an object number and a generation number. An index table called the xref table gives the byte offset of each indirect object from the start of the file. This design allows for efficient random access
Random access

In computer science, random access is the ability to access an arbitrary element of a sequence in equal time. The opposite is sequential access, where a remote element takes longer time to access....
 to the objects in the file, and also allows for small changes to be made without rewriting the entire file (incremental update). Beginning with PDF version 1.5, indirect objects may also be located in special streams known as object streams. This technique reduces the size of files that have large numbers of small indirect objects and is especially useful for Tagged PDF.

There are two layouts to the PDF files—non-linear (not "optimized") and linear ("optimized"). Non-linear PDF files consume less disk space than their linear counterparts, though they are slower to access because portions of the data required to assemble pages of the document are scattered throughout the PDF file. Linear PDF files (also called "optimized" or "web optimized" PDF files) are constructed in a manner that enables them to be read in a Web browser plugin, since they are written to disk in a linear (as in page order) fashion. PDF files may be optimized using Adobe Acrobat
Adobe Acrobat

Adobe Acrobat is a family of software developed by Adobe Systems, designed to view, create, manipulate and manage files in Adobe's Portable Document Format ....
 software or , which is part of GPL Ghostscript.

Imaging model

The basic design of how graphics
Graphics

Graphics are visual presentations on some surface, such as a wall, canvas, computer screen, paper, or stone to brand, inform, illustrate, or entertain....
 are represented in PDF is very similar to that of PostScript, except for the use of transparency
Transparency (graphic)

Transparency is possible in a number of graphics file formats. The term transparency is used in various ways by different people, but at its simplest there is "full transparency" i.e....
, which was added in PDF 1.4.

PDF graphics use a device independent
Device independent

A computer program or computer file is device independent when its function is universal on different types of device.For the Web, this means writing simple common denominator HTML&CSS so that most Web browsers on most devices can render it....
 Cartesian coordinate system
Cartesian coordinate system

In mathematics, the Cartesian coordinate system is used to determine each Point uniquely in a Plane through two numbers, usually called the x-coordinate or abscissa and the y-coordinate or ordinate of the point....
 to describe the surface of a page. A PDF page description can use a matrix
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
 to scale
Scale (ratio)

The concept of scale is applicable if a system is represented Proportionality ly by another system. For example, for a scale model of an object, the ratio of corresponding lengths is a Dimensionless number scale, e.g....
, rotate, or skew
Skew

Skew or skew lines lie on different planes. They are neither parallel nor intersecting....
 graphical elements. A key concept in PDF is that of the graphics state, which is a collection of graphical parameters that may be changed, saved, and restored by a page description. PDF has (as of version 1.6) 24 graphics state properties, of which some of the most important are:
  • The current transformation matrix (CTM), which determines the coordinate system
  • The clipping path
    Clipping path

    In 2D graphics In 2D computer graphics, a clipping path is a closed vector path, or shape, used to cut out an image in current software....
  • The color space
    Color space

    A color model is an abstract mathematical model describing the way colors can be represented as tuples of numbers, typically as three or four values or color components ....
  • The alpha constant
    Alpha compositing

    In computer graphics, alpha compositing is the process of combining an image with a background to create the appearance of partial transparency....
    , which is a key component of transparency


Vector graphics
Vector graphics in PDF, as in PostScript, are constructed with paths. Paths are usually composed of lines and cubic Bezier curves, but can also be constructed from the outlines of text. Unlike PostScript, PDF does not allow a single path to mix text outlines with lines and curves. Paths can be stroked, filled, or used for clipping
Clipping path

In 2D graphics In 2D computer graphics, a clipping path is a closed vector path, or shape, used to cut out an image in current software....
. Strokes and fills can use any color set in the graphics state, including patterns.

PDF supports several types of patterns. The simplest is the tiling pattern in which a piece of artwork is specified to be drawn repeatedly. This may be a colored tiling pattern, with the colors specified in the pattern object, or an uncolored tiling pattern, which defers color specification to the time the pattern is drawn. Beginning with PDF 1.3 there is also a shading pattern, which draws continuously varying colors. There are seven types of shading pattern of which the simplest are the radial shade (Type 2) and axial shade (Type 3).

Raster images
Raster images in PDF (called Image XObjects) are represented by dictionaries with an associated stream. The dictionary describes properties of the image, and the stream contains the image data. (Less commonly, a raster image may be embedded directly in a page description as an inline image.) Images are typically filtered for compression purposes. Image filters supported in PDF include the general purpose filters
  • ASCII85Decode a deprecated filter used to put the stream into 7-bit ASCII
    ASCII

    American Standard Code for Information Interchange , is a coding standard that can be used for interchanging information, if the information is expressed mainly by the written form of English words....
  • ASCIIHexDecode similar to ASCII85Decode but less compact
  • FlateDecode a commonly used filter based on the DEFLATE or Zip algorithm
  • LZWDecode a deprecated filter based on LZW
    LZW

    Lempel-Ziv-Welch is a universal lossless data compression algorithm created by Abraham Lempel, Jacob Ziv, and Terry Welch. It was published by Welch in 1984 as an improved implementation of the LZ77 and LZ78 algorithm published by Lempel and Ziv in 1978....
     Compression
  • RunLengthDecode a simple compression method for streams with repetitive data using the Run-length encoding
    Run-length encoding

    Run-length encoding is a very simple form of data compression in which runs of data are stored as a single data value and count, rather than as the original run....
     algorithm
and the image-specific filters
  • DCTDecode a lossy filter based on the JPEG
    JPEG

    In computing, JPEG is a commonly used method of for photographic images. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality....
     standard
  • CCITTFaxDecode a lossless filter based on the CCITT fax
    Fax

    Fax is a telecommunications technology used to transfer copies of documents, especially using affordable devices operating over the telephone network....
     compression standard
  • JBIG2Decode a lossy or lossless filter based on the JBIG2
    JBIG2

    JBIG2 is an standard for binary images, developed by the Joint Bi-level Image Experts Group. It is suitable for both Lossless data compression and Lossy data compression compression....
     standard, introduced in PDF 1.4
  • JPXDecode a lossy or lossless filter based on the JPEG2000 standard, introduced in PDF 1.5


Normally all image content in a PDF is embedded in the file. But PDF allows image data to be stored in external files by the use of external streams or Alternate Images. Standardized subsets of PDF, including PDF/A
PDF/A

PDF/A is a file format for the long-term archiving of electronic documents. It is based on the PDF Reference Version 1.4 from Adobe Systems and is defined by ISO 19005-1:2005, an International Organization for Standardization Standard that was published on October 1, 2005:...
 and PDF/X
PDF/X

PDF/X is an umbrella term for several ISO standards that define a subset of the Portable Document Format standard. The purpose of PDF/X is to facilitate graphics exchange, and it therefore has a series of printing related requirements, which do not apply to standard PDF files....
, prohibit these techniques.

Text
Text in PDF is represented by text elements in page content streams. A text element specifies that characters should be drawn at certain positions. The characters are specified using the encoding of a selected font resource.

Fonts
A font object in PDF is a description of a digital typeface
Typeface

In typography, a typeface is a set of one or more fonts, in one or more sizes, designed with stylistic unity, each comprising a coordinated set of glyphs....
. It may either describe the characteristics of a typeface, or it may include an embedded font file. The latter case is called an embedded font while the former is called an unembedded font. The font files that may be embedded are based on widely used standard digital font formats: Type 1 (and its compressed variant CFF), TrueType
TrueType

TrueType is an outline font standardization originally developed by Apple Computer in the late 1980s as a competitor to Adobe Systems's Type 1 fonts used in PostScript....
, and (beginning with PDF 1.6) OpenType
OpenType

OpenType is a scalable format for computer fonts initially developed by Microsoft, with Adobe Systems later joining in. OpenType as a technology was announced publicly in 1996 and had a significant number of OpenType fonts shipping by 2000?2001....
. Additionally PDF supports the Type 3 variant in which the components of the font are described by PDF graphic operators.

Encodings
Within text strings characters are shown using character codes (integers) that map to glyphs in the current font using an encoding. There are a number of built-in encodings, including WinAnsi, MacRoman, and a large number of encodings for East Asian languages. (Although the WinAnsi and MacRoman encodings are derived from the historical properties of the Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 and Macintosh
Macintosh

File:Imac alu.pngMacintosh, commonly shortened to Mac, is a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc....
 operating systems, fonts using these encodings work equally well on any platform.) The encoding mechanisms in PDF were designed for Type 1 fonts, and the rules for applying them to TrueType fonts are complex.

For large fonts or fonts with non-standard glyphs, the special encodings Identity-H (for horizontal writing) and Identity-V (for vertical) are used. With such fonts it is necessary to provide a ToUnicode table if semantic information about the characters is to be preserved.

Transparency
The original imaging model of PDF was, like PostScript's, opaque: each object drawn on the page completely replaced anything previously marked in the same location. In PDF 1.4 the imaging model was extended to allow transparency. When transparency is used, new objects interact with previously marked objects to produce blending effects. The addition of transparency to PDF was done by means of new extensions that were designed to be ignored in products written to the PDF 1.3 and earlier specifications. As a result, files that use a small amount of transparency might view acceptably in older viewers, but files making extensive use of transparency could view completely wrongly in an older viewer without warning.

The transparency extensions are based on the key concepts of transparency groups, blending modes, shape, and alpha. The model is closely aligned with the features of Adobe Illustrator
Adobe Illustrator

Adobe Illustrator is a vector graphics editor developed and marketed by Adobe Systems.The latest version, Illustrator CS4, is the fourteenth generation in the product line....
 version 9. The blend modes were based on those used by Adobe Photoshop
Adobe Photoshop

Adobe Photoshop, or simply Photoshop, is a Graphics software developed and published by Adobe Systems. It is the current and primary Market dominance for commercial Raster graphics and manipulation, and is the flagship product of Adobe Systems....
 at the time. When the PDF 1.4 specification was published the formulas for calculating blend modes were kept secret by Adobe. They have since been published.

Interactive elements

PDF files may contain interactive elements such as annotations and form fields.

Logical structure and accessibility

A PDF may contain structure information to enable better text extraction and accessibility.

Security and signatures

A PDF file may be encrypted for security, or digitally signed for authentication.

The standard security provided by Acrobat PDF consists of two different methods and two different passwords, "user password" and "owner password". A PDF document may be protected by password to open ('user' password) and the document may also specify operations that should be restricted even when the document is decrypted: printing; copying text and graphics out of the document; modifying the document; and adding or modifying text notes and AcroForm
Acroforms

Acroforms is a mechanism to add forms to the PDF file format.Acroforms permit using objects and some code .Acroforms keep form field values in external files containing key:value pairs....
 fields (using 'owner' password). However, all operations (except the document open password protection, if applicable) which are restricted by "owner" or "user" passwords are trivially circumvented by many commonly available "pdf cracking" software, and thus these restrictions are obviously ineffective in letting the author control what can and cannot be done with the pdf file he or she created, once it is distributed. This warning is also displayed when applying such restrictions using Adobe Acrobat software to create or edit PDF files.

File attachments


PDF files can have document-level and page-level file attachments, which the reader can access and open or save to their local filesystem. PDF attachments can be added to existing PDF files for example using . Adobe Reader provides support for attachments, and Evince (Linux) also has some support for document-level attachments.

Subsets

Proper subsets of PDF have been, or are being, standardized under ISO
International Organization for Standardization

The International Organization for Standardization , widely known as ISO , is an international standard-setting body composed of representatives from various national standards organizations....
 for several constituencies:
  • PDF/X
    PDF/X

    PDF/X is an umbrella term for several ISO standards that define a subset of the Portable Document Format standard. The purpose of PDF/X is to facilitate graphics exchange, and it therefore has a series of printing related requirements, which do not apply to standard PDF files....
     for the printing and graphic arts as ISO 15930 (working in ISO TC130)
  • PDF/A
    PDF/A

    PDF/A is a file format for the long-term archiving of electronic documents. It is based on the PDF Reference Version 1.4 from Adobe Systems and is defined by ISO 19005-1:2005, an International Organization for Standardization Standard that was published on October 1, 2005:...
     for archiving in corporate/government/library/etc environments as ISO 19005 (work done in ISO TC171)
  • PDF/E
    PDF/E

    ISO 24517-1:2008 is an ISO Standard that was published in 2007.* Document management -- Engineering document format using PDF -- Part 1: Use of PDF 1.6 ...
     for exchange of engineering drawings (work done in ISO TC171)
  • PDF/UA
    PDF/UA

    PDF/UA is a Standards Committee formed by AIIM.The mission of PDF/UA is to develop technical and other standards for the authoring, remediation and validation of PDF content to ensure accessibility for people that use assistive technology such as screen readers for users who are blind....
     for universally accessible PDF files


A PDF/H variant (PDF for Healthcare) is being developed. However, it may consist more of a set of "best practices" than of a specific format or subset.

Mars

See also: Page description markup language
Page description markup language

A page description markup language is a type of markup language that is used to describe the appearance of a printed page. It is a markup adaption of the Page description language , and is often created using XML....


Adobe is exploring an XML-based next-generation PDF codenamed Mars. Information about the Mars file format is published by Adobe at http://www.adobe.com/go/mars and also .

The format of graphic elements of Mars is sometimes described simply as "SVG
Scalable Vector Graphics

Scalable Vector Graphics is a family of specifications of XML-based file format for describing two-dimensional vector graphics, both static and dynamic ....
", but according to the version 0.8 draft specification of November 2007 (§3 Mars SVG Support) the format is actually merely similar to SVG: it contains both additions to and subtractions from SVG, so it is in general neither viewable by nor creatable with standard SVG tools: some things will look noticeably different between SVG viewers and Mars viewers.

Technical issues


Accessibility

PDF files can be created specifically to be accessible for disabled people. Current PDF file formats can include tags (XML), text equivalents, captions, audio descriptions, et cetera. Some software, such as Adobe InDesign
Adobe InDesign

Adobe InDesign is a desktop publishing software computer application produced by Adobe Systems which can be used to create posters, flyers, and brochures....
, can automatically produce tagged PDFs. Leading screen reader
Screen reader

A screen reader is a Application software that attempts to identify and interpret what is being displayed on the screen . This interpretation is then re-presented to the user with text-to-speech, sound icons, or a Refreshable Braille display....
s, including JAWS
JAWS (screen reader)

JAWS is a screen reader, a software program for Blindness users, produced by the Blind and Low Vision Group at Freedom Scientific of St. Petersburg, Florida, United States....
, Window-Eyes
Window-Eyes

Window-Eyes is a screen reader that makes a computer usable by someone who is blindness. It "reads" information by communicating directly with application softwares such as Internet Explorer, Mozilla Firefox, Microsoft Word, etc., or by gathering information from the graphics card and the Microsoft Windows operating system....
, Hal, and Kurzweil 1000 and 3000
Kurzweil Educational Systems

Kurzweil Educational Systems, Inc. is an United States based company that specializes in providing reading and writing software to assist people who are Visual impairment or visual impairment, or who have learning disabilities, such as dyslexia and Attention Deficit Disorder....
 can read tagged PDFs; current versions of the Acrobat and Acrobat Reader programs can also read PDFs aloud. Moreover, tagged PDFs can be re-flowed and magnified for readers with visual impairments. Problems remain with adding tags to older PDFs and those that are generated from scanned documents. In these cases, accessibility tags and re-flowing are unavailable, and must be created either manually or with OCR
Optical character recognition

Optical character recognition, usually abbreviated to OCR, is the mechanical or Electronics translation of s of handwritten, typewritten or printed text into machine-editable text....
 techniques. These processes are inaccessible to some disabled people. PDF/UA
PDF/UA

PDF/UA is a Standards Committee formed by AIIM.The mission of PDF/UA is to develop technical and other standards for the authoring, remediation and validation of PDF content to ensure accessibility for people that use assistive technology such as screen readers for users who are blind....
, the PDF/Universal Accessibility Committee, an activity of AIIM, is working on a specification for PDF accessibility based on the PDF 1.6 specification.

One of the major problems with PDF accessibility is that PDF documents have three distinct views, which, depending on the document's creation, can be inconsistent with each other. The three views are (i) the physical view, (ii) the tags view, and (iii) the content view. The physical view is displayed and printed (what most people consider a PDF document). The tags view is what screen readers read (useful for people with poor eyesight). The content view is displayed when the document is re-flowed to Acrobat (useful for people with mobility disability). For a PDF document to be accessible, the three views must be consistent with each other.

Security

PDF format attachments carrying viruses were first discovered in 2001. This virus, which was named "OUTLOOK.PDFWorm" or "Peachy", uses Microsoft Outlook
Microsoft Outlook

Microsoft Office Outlook or Outlook is a personal information manager from Microsoft. The 2007 version is available both as a separate application as well as a part of the Microsoft Office suite....
 to send itself as an attachment to an Adobe PDF file. Virus researchers found that the PDF file viruses activated with Adobe Acrobat, but not with Acrobat Reader. According to Abobe, "A critical vulnerability has been identified in Adobe Reader 9 and Acrobat 9 and earlier versions. This vulnerability would cause the application to crash and could potentially allow an attacker to take control of the affected system. There are reports that this issue is being exploited."

Usage restrictions and monitoring

PDFs may be encrypted so that a password is needed to view or edit the contents. The PDF Reference defines both 40-bit and 128-bit encryption, both making use of a complex system of RC4
RC4

In cryptography, RC4 is the most widely-used software stream cipher and is used in popular protocols such as Secure Sockets Layer and Wired Equivalent Privacy ....
 and MD5
MD5

In cryptography, MD5 is a widely used cryptographic hash function with a 128-bit hash value. As an Internet standard , MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of computer file....
. The PDF Reference also defines ways in which third parties can define their own encryption systems for use in PDF.

PDF files may also contain embedded DRM
Digital rights management

Digital rights management refers to access control technologies used by publishers, copyright holders, and hardware manufacturers to limit usage of digital media or devices....
 restrictions that provide further controls that limit copying, editing or printing. The restrictions on copying, editing, or printing depend on the reader software to obey them, so the security they provide is limited. Printable documents especially might be saved instead as bitmaps and subject to OCR
Optical character recognition

Optical character recognition, usually abbreviated to OCR, is the mechanical or Electronics translation of s of handwritten, typewritten or printed text into machine-editable text....
.

The PDF Reference has technical details or see for an end-user overview. Like HTML files, PDF files may submit information to a web server. This could be used to track the IP address
IP address

An Internet Protocol address is a numerical identification that is assigned to devices participating in a computer network utilizing the Internet Protocol for communication between its nodes....
 of the client PC, a process known as phoning home. After update 7.0.5 to Acrobat Reader, the user will be notified "via a dialogue box that the author of the file is auditing usage of the file, and be offered the option of continuing".

Through its LiveCycle Policy Server product, Adobe provides a method to set security policies on specific documents. This can include requiring a user to authenticate and limiting the timeframe a document can be accessed or amount of time a document can be opened while offline. Once a PDF document is tied to a policy server and a specific policy, that policy can be changed or revoked by the owner. This controls documents that are otherwise "in the wild." Each document open and close event can also be tracked by the policy server. Policy servers can be set up privately or Adobe offers a public service through Adobe Online Services.

Saving form data

With the release of Acrobat 8 Professional, users can now enable the save feature in a PDF file for distribution to people with Adobe Reader 7.0 and later thus eliminating the need for Reader Extensions for this particular application. According to Adobe, this feature only applies to ad-hoc forms distribution and data collection. The license agreement for Acrobat 8 Professional limits this functionality to 500 unique users, or 500 submissions (see paragraph 14.13.3 of the ). Other privileges remain the domain only of LiveCycle Reader Extensions, and it is also needed for bulk or automated operations.

Missing PostScript features

Compared to the PostScript format, PDF lacks e.g. the notion of "tray selection"; this can be used to indicate that some pages of a document must be printed on a different type of paper.

Such features are not omissions from the PDF format, whose scope only covers electronic documents. The JDF
Job Definition Format

Job Definition Format is a technical standard being developed by the graphic arts industry to facilitate cross-vendor workflow implementations of the application domain....
 standard covers such aspects; however, it is a complex standard, which as of 2007 is still not widely implemented. This hinders the replacement of PostScript by PDF.

Default display settings

PDF documents can contain display settings, including the page display layout and zoom level. Adobe Reader will use these settings to override the user's default settings when opening the document. The free Adobe Reader cannot remove these settings.

Content

A PDF file is often a combination of vector graphics
Vector graphics

Vector graphics is the use of geometrical Primitive s such as point s, line , curves, and shapes or polygon, which are all based upon mathematical equations, to represent s in computer graphics....
, text, and raster graphics
Raster graphics

In computer graphics, a raster graphics image or bitmap, is a data structure representing a generally Rectangle grid of pixels, or points of color, viewable via a Computer display, paper, or other display medium....
. The basic types of content in a PDF are:
  • text stored as such
  • vector graphics for illustrations and designs that consist of shapes and lines
  • raster graphics for photographs and other types of image


In later PDF revisions, a PDF document can also support links (inside document or web page), forms, JavaScript (initially available as plugin for Acrobat 3.0), or any other types of embedded contents that can be handled using plug-ins.

PDF 1.6 supports interactive 3D documents embedded in the PDF.

Two PDF files that look similar on a computer screen may be of very different sizes. For example, a high resolution raster image takes more space than a low resolution one. Typically higher resolution is needed for printing documents than for displaying them on screen. Other things that may increase the size of a file is embedding full fonts, especially for Asiatic scripts, and storing text as graphics.

Base 14 fonts

There are fourteen typefaces that have a special significance to PDF documents:
  • Times (v3) or Times Roman
    Times Roman

    Times New Roman is a serif typeface commissioned by the United Kingdom newspaper, The Times, in 1931, designed by Stanley Morison and Victor Lardent at the English branch of Monotype Corporation....
     PS MT (v4.x) (in regular, italic or oblique, bold, and bold italic)
  • Courier
    Courier (typeface)

    Courier is a Monospaced font slab serif typeface designed to resemble the output from a strike-on typewriter. The typeface was designed by Howard "Bud" Kettler in 1955....
     (in regular, italic or oblique, bold and bold italic)
  • Helvetica
    Helvetica

    Helvetica is a widely used sans-serif typeface developed in 1957 by Swiss typeface designer Max Miedinger....
     (v3) or Arial
    Arial

    Arial, sometimes marketed as Arial MT, is a sans-serif typeface and computer font packaged with Microsoft Windows, other Microsoft computer software applications, Apple Computer Mac OS X, and many PostScript computer printers....
     MT (v4.x) (in regular, italic or oblique, bold and bold italic)
  • Symbol
    Symbol (typeface)

    Symbol is one of the four standard fonts available on most PostScript-based printers. It contains a complete unaccented Greek alphabet and a selection of commonly used mathematical symbols as well....
  • Zapf Dingbats
    Zapf Dingbats

    Zapf Dingbats is one of the more common dingbat typefaces. It was designed by the typographer Hermann Zapf in 1978 and licensed by International Typeface Corporation....
These should always be present (actually present or a close substitute) and so need not be embedded in a PDF. PDF viewers must know about the metrics of these fonts. Other fonts may be substituted if they are not embedded in a PDF.

Beginning with PDF 1.5, special treatment of the base 14 fonts is deprecated.

Versions

Version Year of publication New features Supported by Reader version
1.0 1993  
1.2 FlateDecode Acrobat Reader 3.0
1.3 2000 Digital signatures; ICC and DeviceN color spaces; JavaScript actions Acrobat Reader 4.0
1.4 2001 JBIG2
JBIG2

JBIG2 is an standard for binary images, developed by the Joint Bi-level Image Experts Group. It is suitable for both Lossless data compression and Lossy data compression compression....
; transparency; OCR
Optical character recognition

Optical character recognition, usually abbreviated to OCR, is the mechanical or Electronics translation of s of handwritten, typewritten or printed text into machine-editable text....
 text layer
Acrobat Reader 5.0
1.5 2003 JPEG2000; linked multimedia Adobe Reader 6.0
1.6 2004 Embedded multimedia; XML forms; AES encryption Adobe Reader 7.0
1.7 2006 Adobe Reader 8, Adobe Reader 9


Implementations

PDF-viewing software is generally provided free of charge, including versions by Adobe Reader, Foxit, PDF-XChange Viewer
PDF-XChange Viewer

PDF-XChange Viewer is a free PDF reader for Microsoft Windows. The basic reader can be downloaded for free, while advanced plugins and other Tracker Software Products' programs are available for a cost....
, and others.

There are many software options for creating PDFs, including the PDF printing capabilities built in to Mac OS X
Mac OS X

Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
 and some versions of Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
, the multi-platform OpenOffice.org
OpenOffice.org

OpenOffice.org , commonly known simply as OpenOffice, is an office application suite available for a number of different computer operating systems....
, Microsoft Office 2007
Microsoft Office 2007

Microsoft Office 2007 is the most recent Microsoft Windows version of the Microsoft Office, Microsoft's Office suite. Formerly known as Office 12 in the initial stages of its beta cycle, it was released to volume license key customers on November 30 2006 and made available to retail customers on January 30, 2007....
 (via a Microsoft-produced add-on), Wordperfect
WordPerfect

WordPerfect is a proprietary software word processing application, now owned by Corel. Bruce Bastian, a Brigham Young University graduate student and BYU computer science professor Dr....
 since version 9, numerous PDF print drivers for Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
, the pdfTeX
PdfTeX

The computer program pdfTeX is an extension of Donald Knuth's typesetting program TeX, and was originally written and developed into a publicly usable product by H?n Th? Th?nh as a part of the work for his PhD thesis at the Faculty of Informatics, Masaryk University, Brno....
 typesetting system, the DocBook
DocBook

DocBook is a Semantics markup language for technical documentation. It was originally intended for writing technical documents related to computer hardware and software but it can be used for any other sort of documentation....
 PDF tools, applications developed around Ghostscript
Ghostscript

Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format page description languages....
 and Adobe Acrobat
Adobe Acrobat

Adobe Acrobat is a family of software developed by Adobe Systems, designed to view, create, manipulate and manage files in Adobe's Portable Document Format ....
 itself. Google
Google

Google Inc. is an United States public company, earning revenue from AdWords related to its Google search, Gmail, Google Maps, Google Apps, Orkut, and YouTube services as well as selling advertising-free versions of the Google Search Appliance....
's online office suite Google Docs also allows for uploading, and saving to the PDF format

There is also specialized software for editing PDF files, though the choices are much more limited and often expensive. Adobe Acrobat Professional is one example of software that allows the user to annotate (highlight, add notes to) already created PDF files. A free one is PDFedit
PDFedit

PDFedit is a free software Portable Document Format editor for Unix-like operating systems . It does not support editing protected or encryption PDF files or word processor-style text manipulation, however....
. As of version 0.46, Inkscape
Inkscape

Inkscape is a free software and open source vector graphics editor application. Its stated goal is to become a powerful graphic tool while being fully compliant with the Extensible Markup Language, Scalable Vector Graphics and Cascading Style Sheets standards....
 also allows PDF editing through an intermediate translation step involving poppler
Poppler (software)

Poppler is a free software Library for viewing Portable Document Format documents; it is maintained by freedesktop.org. Poppler is based on Xpdf-3.0 codebase and was created for two stated reasons: to allow easier reuse of the rendering engine to reduce redundant work, and to go beyond the goals of Xpdf and integrate more closely and reuse...
.

Several applications embracing the PDF standard are now available as an online service including Scribd
Scribd

Scribd is a document-sharing website and top 20 Social Media site.Scribd currently has more than 50 million monthly users and more than 50,000 documents are uploaded daily.The company was initially funded with $12,000 from Y Combinator, and received over $3.7 million in June 2007 from Redpoint Ventures and The Kinsey Hills Group.In December 2...
 for viewing and storing, Pdfvue
Pdfvue

PDFVue is an online PDF viewer and editor that is currently in beta release.Current features include viewing, commenting, annotations, page deletion or rotation and adding fillable form fields to PDF's....
 for online editing, and Zamzar
Zamzar

Zamzar is a web application to file conversion. It allows user to convert files without downloading a Computer software tool. Users can type in a URL or upload one or more files from their computer, Zamzar then converts the file to another format ....
 for PDF Conversion.

AGFA introduced and shipped Apogee, the first prepress workflow system based on PDF, in 1997.

Many commercial offset printers have accepted the submission of press-ready PDF files as a print source, specifically the PDF/X-1a subset and variations of the same. The submission of press-ready PDF files are a replacement for the problematic need for receiving collected native working files.

PDF was selected as the "native" metafile
Metafile

Metafile is a generic term for a file format that can store multiple types of data. This commonly includes graphics file formats. These graphics files can contain Raster graphics, Vector graphics, and type data....
 format for Mac OS X, replacing the PICT
PICT

PICT is a computer graphics file format introduced on the original Apple Macintosh computer as its standard metafile format. It allows the interchange of graphics , and some limited text support, between Mac applications, and was the native graphics format of QuickDraw....
 format of the earlier Mac OS
Mac OS

Mac OS is the trademarked name for a series of graphical user interface-based operating systems developed by Apple Inc. for their Macintosh line of computer systems....
. The imaging model of the Quartz
Quartz (graphics layer)

Quartz specifically refers to a pair of Mac OS X technologies, each part of the Core Graphics framework: Quartz 2D and Quartz Compositor. It includes both a 2D renderer in Core Graphics and the composition engine that sends instructions to the graphics card....
 graphics layer is based on the model common to Display PostScript
Display PostScript

Display PostScript is an on-screen display system. As the name implies, DPS uses the PostScript imaging model and language to generate on-screen graphics....
 and PDF, leading to the nickname "Display PDF". The Preview application can display PDF files, as can version 2.0 and later of the Safari
Safari (web browser)

Safari is a web browser developed by Apple Inc.. First released as a beta on January 7, 2003 on the company's Mac OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3, commonly known as "OS X Panther." Apple has also made Safari the native browser for the iPhone OS....
 web browser. System-level support for PDF allows Mac OS X applications to create PDF documents automatically, provided they support the Print command. The files are then exported in PDF 1.3 format according to the file header. When taking a screenshot under Mac OS X versions 10.0 through 10.3, the image was also captured as a PDF; in 10.4 and 10.5 the default behaviour is set to capture as a PNG file, though this behaviour can be set back to PDF if required.

Some desktop printers also support direct PDF printing, which can interpret PDF data without external help. Currently, all PDF capable printers also support PostScript, but most PostScript printers do not support direct PDF printing.

The Free Software Foundation
Free Software Foundation

The Free Software Foundation is a non-profit corporation founded by Richard Stallman on 4 October 1985 to support the free software movement, a copyleft-based movement which aims to promote the universal freedom to distribute and modify computer software without restriction....
 considers one of their high priority projects
Free Software Foundation

The Free Software Foundation is a non-profit corporation founded by Richard Stallman on 4 October 1985 to support the free software movement, a copyleft-based movement which aims to promote the universal freedom to distribute and modify computer software without restriction....
 to be "developing a free, high-quality and fully functional set of libraries and programs that implement the PDF file format and associated technologies to the ISO 32000 standard." The GNUpdf
GNU PDF

GNUpdf is a GNU project that aims to completely implement the Portable Document Format standards in free software. While many projects, such as Poppler already freely provide support of PDF adequate for most, none provide a complete implementation....
 library has, however, not been released yet, while Poppler
Poppler (software)

Poppler is a free software Library for viewing Portable Document Format documents; it is maintained by freedesktop.org. Poppler is based on Xpdf-3.0 codebase and was created for two stated reasons: to allow easier reuse of the rendering engine to reduce redundant work, and to go beyond the goals of Xpdf and integrate more closely and reuse...
 has enjoyed wider use in applications such as Evince
Evince

Evince is a Portable Document Format, PostScript, DjVu, Tagged Image File Format and Device independent file format document viewer for the GNOME desktop environment....
, which comes with the GNOME
Gnome

A gnome is a mythical creature characterized by its extremely small size and wiktionary:subterranean lifestyle. The word gnome is derived from the New Latin gnomus....
 desktop environment, at the expense of relying on the GPLv2-licensed Xpdf code base that can't be used by GPLv3 programs.

See also

  • List of PDF software
    List of PDF software

    This list of PDF software includes links to articles on computer software used to manage Portable Document Format documents. There is also a Wikipedia:Categorization for individual :Category:PDF software articles....
  • Scalable Vector Graphics
    Scalable Vector Graphics

    Scalable Vector Graphics is a family of specifications of XML-based file format for describing two-dimensional vector graphics, both static and dynamic ....
  • Web document
    Web document

    Web document is a similar concept to web page, except it is a broader termwith the following distinctions: ...
  • XML Paper Specification
    XML Paper Specification

    The XML Paper Specification , formerly codenamed "Metro", is a specification for a page description language and a fixed-document format developed by Microsoft....
  • XSL Formatting Objects
    XSL Formatting Objects

    XSL Formatting Objects, or XSL-FO, is a markup language for XML document formatting which is most often used to generate PDFs. XSL-FO is part of Extensible Stylesheet Language, a set of W3C technologies designed for the transformation and formatting of XML data....


External links

  • — White paper on the beginnings of PDF Security from passwords to access controls, DRM and lifecycle management
  • - Official introductory comparison of PS, EPS vs. PDF.
  • — Information about PDF/E and PDF/UA specification for accessible documents file format
  • - Batch convert DWG and DXF to vector PDF without the need of AutoCAD
  • Document of the PDF/A-1 Standard at the International Organization for Standardization
    International Organization for Standardization

    The International Organization for Standardization , widely known as ISO , is an international standard-setting body composed of representatives from various national standards organizations....
     (chargeable)
  • Document of the PDF Standard at the International Organization for Standardization
    International Organization for Standardization

    The International Organization for Standardization , widely known as ISO , is an international standard-setting body composed of representatives from various national standards organizations....
     (chargeable)
  • , including the PDF Reference for PDF 1.7, PDF 1.6 (ISBN 0-321-30474-8), PDF 1.5, PDF 1.4 (ISBN 0-201-75839-3), PDF 1.3 (ISBN 0-201-61588-6)
  • - Quick one-page intro to PDF vs. PostScript and PDF internals (up to v1.3).
  • — the paper in which John Warnock outlined the project that created PDF