PDF

PDF — the Portable Document Format — is PostScript's imaging model with the programming language taken out. Paths, text, images and color spaces are described the same way, but a page is stated rather than computed, so a PDF opens without anything being executed.

See PostScript for the shared imaging model and for the language that .ps files are written in.

Paintapp opens a .pdf as an editable document rather than as a picture of one. Each page becomes a spread carrying real paths, real text and real images, and a modern Illustrator file — which is a PDF underneath — comes in through the same door.

Capabilities

FeatureDetails
Multi-page documentsNested page trees and inherited attributes
Stream filtersFlate, LZW, ASCII85, ASCIIHex and RunLength, with PNG and TIFF predictors
Color spacesDevice, calibrated, ICC-based, Lab, indexed, separation and DeviceN
Color handlingKept in the model the file states — a CMYK page stays CMYK, inks intact
Vector artworkEditable path layers — every path operator, with caps, joins, miter limit and dash patterns
TextEditable text layers, in the model the file states
Embedded fontsType 1, CFF and TrueType, including composite fonts
ImagesJPEG, JPEG 2000 and CCITT fax, plus inline images, stencil masks and soft masks
Gradients and shadingsIncluding mesh and patch shadings
Form XObjectsFollowed and drawn with the page
Encrypted PDFsOwner-password files with an empty user password open silently
XMP metadataRead into File Info
3D annotationsEmbedded U3D scenes open as a 3D stage
Illustrator PDFsEditable Illustrator data is used when present

Stream filters and color spaces are shared with PostScript; see PostScript for that coverage. The image codecs reach further here: JPEG is common to both, but JPEG 2000 and CCITT fax are read in a PDF and not by the interpreter's filter operator. See Illustrator for what editable Illustrator data brings with it.

Limitations

LimitationResult
JBIG2 imagesSkipped; the rest of the page draws
Soft masks stored as JBIG2The image is drawn fully opaque
Soft masks at a different size from their imageNot resampled; the image is drawn fully opaque
Stencil (/Mask) images used as a maskNot applied; the masked image is drawn fully opaque
Clipping pathsAccepted but not applied; artwork can spill
Tiling patternsNot painted
Mesh shadings used as a pattern fillNot painted
Function-based (type 1) shadingsNot painted
Page rotation and crop boxesIgnored; the full media box is shown unrotated
Rendering intentIgnored; conversions use the profile's own intent
Stroke opacity, blend modes and soft-mask groupsNot applied; fill opacity is
Optional content groupsNo layer switching; hidden content is drawn
Annotations other than 3D scenesNot drawn
Files with a real user passwordRefused; there is no password prompt yet
Type 3 fontsGlyphs are drawing programs, not outlines; the text is reported and not drawn, and following text still lands correctly
Invisible OCR textNot kept; a scanned page opens with its image but no searchable text
Predefined CJK encoding CMapsCodes are split correctly but not mapped
Type-4 (PostScript calculator) tint transformsReported; the color is left unchanged

Nearly all of these fail narrowly — one image or one shape is skipped, and the rest of the page still opens.

Opening a PDF

Every page becomes one spread layer, named Page 1, Page 2 and so on, stacked vertically. The document is as wide as its widest page and as tall as the whole stack.

A page's size comes from its media box, and the box's lower-left corner is honored, so a page cropped in place still draws its marks in the right position.

Objects are found by reading the whole file rather than by trusting the cross-reference offsets, so a file whose table has drifted out of step with its body still opens.

Encrypted PDFs

Most protected PDFs have an owner password and restricted permissions but an empty user password, which is why they open without a prompt. Paintapp opens that whole class silently, covering 40-bit and 128-bit RC4, AES-128 and AES-256.

A file needing anything else — a real user password, a certificate-based handler, or another algorithm — is refused.

Illustrator PDFs

From version 9 onward an .ai file is a PDF, and the PDF page is a flattened rendering of the artwork. Illustrator therefore stores its own editable copy of the document alongside that page — the same thing that Preserve Illustrator Editing Capabilities puts into an exported PDF.

When that data is present, Paintapp reads it and ignores the flattened page, which keeps layers, groups, object names, editable gradients and spot colors. Otherwise the PDF page itself is drawn. XMP metadata is carried across either way. This depends on the file, not its extension. See Illustrator.

See Also