PDF

Portable Document Format — a file format that preserves the visual appearance of a document across all devices and operating systems.

PDF stands for Portable Document Format. It is a file format developed by Adobe in the early 1990s and standardised as an open ISO standard (ISO 32000) in 2008. The core idea is simple: a PDF looks identical on every device, operating system, and software that opens it — fonts, layout, colours, and images are all preserved exactly as the author intended.

Unlike a Word document or web page, a PDF is not meant to reflow or adapt. It is a fixed-layout format. This makes it ideal for documents that need to retain their visual presentation: contracts, invoices, forms, research papers, brochures, and official certificates.

PDF files can contain a rich mix of content: text streams, raster images, vector graphics, interactive form fields, hyperlinks, digital signatures, audio, video, and JavaScript. In practice most PDFs contain only text and images — but the format supports far more.

How a PDF stores content

Internally, a PDF is a binary file made up of objects: integers, strings, dictionaries, streams, and arrays. Each page is an object that references other objects — fonts, image data, annotation lists. A cross-reference table (or cross-reference stream in newer files) maps object numbers to byte offsets so a viewer can jump directly to any object without reading the whole file.

Text in a PDF is stored in content streams as a series of text-positioning and text-showing operators. The actual characters may use custom glyph encodings, which is why copying text from some PDFs produces garbled results — the encoding table is incomplete or non-standard.

Images are stored as compressed binary streams. PDFs support JPEG, JPEG 2000, CCITT (fax), JBIG2, and the general Deflate (ZIP) compression. A single PDF page can contain multiple images composited together.

PDF versus other document formats

Word documents (DOCX) are designed for editing — content reflows when you change the font size or window width. PDFs are designed for faithful reproduction — the layout is fixed and does not reflow.

HTML is similarly reflowable. A web page adapts to its container. A PDF page has a defined width and height in points and always renders at that size.

Image formats like JPEG or PNG are raster-only. A PDF can contain vector graphics that scale to any resolution without losing quality, alongside raster images.

The key advantage of PDF is device independence. A PDF printed on a home printer and on a professional press at any DPI should look the same, because all fonts and measurements are embedded in absolute units.

PDF versions and standards

Adobe released PDF versions 1.0 through 1.7, each adding new features. Version 1.7 was submitted to ISO and became ISO 32000-1:2008. PDF 2.0 (ISO 32000-2:2017) added further improvements including better encryption and accessibility support.

Several specialised subsets of PDF exist for specific industries: PDF/A for archiving (no encryption, all fonts embedded), PDF/X for print production (colour profiles required), PDF/UA for accessibility (tagged structure required), and PDF/E for engineering documents.

Editing a PDF

Because PDF is a fixed-layout format, editing the original text streams is technically complex and requires knowledge of font encoding, glyph mapping, and content stream operators. Most PDF editors — including PDFTheGuide — work by overlaying new content on top of the existing page rather than modifying the underlying streams.

This overlay approach is standard and widely used. You can cover existing content with a white rectangle (whiteout) and place a new text box above it, or add annotations, shapes, and signatures as separate objects layered over the original page. The original content stream is untouched; only new objects are added to the file.