GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • FOP Home
  • Download
  • Quick Start Guide
  • Compliance
  • Getting Help
  • FAQs
  • FOP Wiki
  • Mailing Lists
  • License
  • XSL-FO
  • Examples
  • Bugs & Issues
  • FOP Wiki
  • Other Resources

This view

  • Original page
  • New address

GeezerVison is showing xmlgraphics.apache.org — Apache FOP™: PDF/A (ISO 19005)

 

Apache XML Graphics Project Logo

Apache FOP™¶

  • FOP Home
  • Download
  • Quick Start Guide
  • Compliance
  • Getting Help
  • FAQs
  • FOP Wiki
  • Mailing Lists
  • License
  • Resources¶

    • XSL-FO
    • Examples
    • Bugs & Issues
    • FOP Wiki
    • Other Resources
  • Project¶

    • News
    • Who We Are
    • Status
    • Known Issues
    • Changes
  • Versions¶

    • FOP Trunk (Development)¶

      • Overview
      • Upgrading
      • Using Apache FOP™¶

        • Build
        • Configure
        • Run
        • Embed
        • Servlets
        • Ant Task
        • Config Options
      • Features¶

        • Accessibility
        • Complex Scripts
        • Events
        • Extensions
        • Extensions Reference
        • Fonts
        • Graphics
        • Hyphenation
        • Intermediate Format
        • Metadata
        • Output Formats
        • PDF/A
        • PDF/X
        • PDF Signing & Encryption
        • PDF Images Plug-In
        • Whitespace Management
    • FOP 2.12¶

      • FOP 2.12 Overview
      • Release Notes
      • Changes (2.12)
      • Upgrading
      • Using Apache FOP 2.12¶

        • Build
        • Configure
        • Run
        • Embed
        • Servlets
        • Ant Task
        • Config Options
      • Features¶

        • Accessibility
        • Complex Scripts
        • Events
        • Extensions
        • Extensions Reference
        • Fonts
        • Graphics
        • Hyphenation
        • Intermediate Format
        • Metadata
        • Output Formats
        • PDF/A
        • PDF/X
        • PDF Signing & Encryption
        • PDF Images Plug-In
        • Whitespace Management
    • FOP 2.x¶

      • FOP 2.11¶

        • FOP 2.11 Overview
        • Release Notes
        • Changes (2.11)
        • Upgrading
        • Using Apache FOP 2.11¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Signing & Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.10¶

        • FOP 2.10 Overview
        • Release Notes
        • Changes (2.10)
        • Upgrading
        • Using Apache FOP 2.10¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Signing & Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.9¶

        • FOP 2.9 Overview
        • Release Notes
        • Changes (2.9)
        • Upgrading
        • Using Apache FOP 2.9¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.8¶

        • FOP 2.8 Overview
        • Release Notes
        • Changes (2.8)
        • Upgrading
        • Using Apache FOP 2.8¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.7¶

        • FOP 2.7 Overview
        • Release Notes
        • Changes (2.7)
        • Upgrading
        • Using Apache FOP 2.7¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.6¶

        • FOP 2.6 Overview
        • Release Notes
        • Changes (2.6)
        • Known Issues
        • Upgrading
        • Using Apache FOP 2.6¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.5¶

        • FOP 2.5 Overview
        • Release Notes
        • Changes (2.5)
        • Known Issues
        • Upgrading
        • Using Apache FOP 2.5¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.4¶

        • FOP 2.4 Overview
        • Release Notes
        • Changes (2.4)
        • Known Issues
        • Upgrading
        • Using Apache FOP 2.4¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.3¶

        • FOP 2.3 Overview
        • Release Notes
        • Changes (2.3)
        • Known Issues
        • Upgrading
        • Using Apache FOP 2.3¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.2¶

        • FOP 2.2 Overview
        • Release Notes
        • Changes (2.2)
        • Known Issues
        • Upgrading
        • Using Apache FOP 2.2¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.1¶

        • FOP 2.1 Overview
        • Release Notes
        • Changes (2.1)
        • Known Issues
        • Upgrading
        • Using Apache FOP 2.1¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
      • FOP 2.0¶

        • FOP 2.0 Overview
        • Release Notes
        • Changes (2.0)
        • Known Issues
        • Upgrading
        • Using Apache FOP 2.0¶

          • Build
          • Configure
          • Run
          • Embed
          • Servlets
          • Ant Task
        • Features¶

          • Accessibility
          • Complex Scripts
          • Events
          • Extensions
          • Fonts
          • Graphics
          • Hyphenation
          • Intermediate Format
          • Metadata
          • Output Formats
          • PDF/A
          • PDF/X
          • PDF Encryption
          • PDF Images Plug-In
          • Whitespace Management
    • FOP 1.1¶

      • FOP 1.1 Overview
      • Release Notes
      • Changes (1.1)
      • Known Issues
      • Upgrading
      • Using Apache FOP 1.1¶

        • Build
        • Configure
        • Run
        • Embed
        • Servlets
        • Ant Task
      • Features¶

        • Accessibility
        • Complex Scripts
        • Events
        • Extensions
        • Fonts
        • Graphics
        • Hyphenation
        • Intermediate Format
        • Metadata
        • Output Formats
        • PDF/A
        • PDF/X
        • PDF Encryption
    • FOP 1.0¶

      • FOP 1.0 Overview
      • Release Notes
      • Changes (1.0)
      • Known Issues
      • Upgrading
      • Using Apache FOP 1.0¶

        • Build
        • Configure
        • Run
        • Embed
        • Servlets
        • Ant Task
      • Features¶

        • Output Formats
        • Intermediate Format
        • PDF Encryption
        • PDF/A
        • PDF/X
        • Graphics
        • Fonts
        • Hyphenation
        • Extensions
        • Events
        • Metadata
        • Accessibility
  • FOP Development¶

    • General Information
    • Testing
    • Developer Tools
    • SVG Issues
    • Release Process
    • Coding Conventions
    • FAQ
    • Adding an Extension
    • Managing Documentation
    • RTFLib (jfor)
    • Implementation Overview
    • Unresolved Issues (Wiki)
    • Design¶

      • Design Introduction
      • Input Parsing
      • Images
      • PDF Library
      • Layout Managers
      • FO Tree
      • SVG
      • Area Tree
      • Optimisations
      • User Agent
      • Renderers
      • Extensions
      • Embedding FOP in Other Applications
      • Startup, Environment, Control
      • Properties
      • Layout
      • Page Breaking
  • Apache® XML Graphics¶

    • Project Overview¶

      • Who We Are
      • Legal Stuff
      • Project Charter
      • Mailing Lists
      • Code Repositories
      • ASF Sponsorship Program
      • ASF Thanks
      • Licenses
      • Apache XML Graphics Security
      • ASF Security

    Sub Projects¶

    • Apache Batik
    • Apache XML Graphics Commons

    Search Apache XML Graphics¶

    ApacheCon N. America¶

    ApacheCon North America

    • ApacheCon NA

    Hope to see you there!

    ApacheCon Europe¶

    ApacheCon Europe

    • ApacheCon Europe

    Hope to see you there!

    Apache Software Foundation

    Support the Apache Software Foundation

This document is for an old version of FOP that is no longer supported. Latest version of this page
The Apache FOP Project

The Apache FOP™ Project

Apache FOP™: PDF/A (ISO 19005)

Overview

PDF/A is a standard which turns PDF into an "electronic document file format for long-term preservation". PDF/A-1 is the first part of the standard and is documented in ISO 19005-1:2005(E). Work on PDF/A-2 is in progress at AIIM.

Design documentation on PDF/A can be found on FOP's Wiki on the PDFAConformanceNotes page.

Implementation Status

PDF/A-1b is implemented to the degree that FOP supports the creation of the elements described in ISO 19005-1.

Tests have been performed against jHove and Adobe Acrobat 7.0.7 (Preflight function). FOP does not validate completely against Apago's PDF Appraiser. Reasons unknown due to lack of a full license to get a detailed error protocol.

PDF/A-1a is based on PDF-A-1b and adds accessibility features (such as Tagged PDF). This format is available within the limitation described on the Accessibility page.

PDF/A-2 supports new features added with PDF 1.5, 1.6 and 1.7

PDF/A-3 allows embedding of arbitrary file formats

PDF/A-1b, PDF/A-2b and PDF/A-3b does not require accessibility to be enabled

PDF/A-1a, PDF/A-2a and PDF/A-3a require accessibility to be enabled

PDF/A-2u and PDF/A-3u require unicode to be used and accessibility to be enabled

Modes

  • PDF/A-1a
  • PDF/A-1b
  • PDF/A-2a
  • PDF/A-2b
  • PDF/A-2u
  • PDF/A-3a
  • PDF/A-3b
  • PDF/A-3u

Usage (fop.xconf)

Add section to pdf renderer with pdfa mode and pdf version.

<fop version="1.0">
  <accessibility>true</accessibility>
  <renderers>
    <renderer mime="application/pdf">
      <pdf-a-mode>PDF/A-1a</pdf-a-mode>
      <version>1.4</version>
    </renderer>
  </renderers>
</fop>

Usage (command line)

To activate PDF/A-1b from the command-line, specify "-pdfprofile PDF/A-1b" as a parameter. If there is a violation of one of the validation rules for PDF/A, an error message is presented and the processing stops.

PDF/A-1a is enabled by specifying "-pdfprofile PDF/A-1a".

Usage (embedded)

When FOP is embedded in another Java application you can set a special option on the renderer options in the user agent to activate the PDF/A-1b profile. Here's an example:

userAgent.getRendererOptions().put("pdf-a-mode", "PDF/A-1b");
Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
[..]

If one of the validation rules of PDF/A is violated, an PDFConformanceException (descendant of RuntimeException) is thrown.

For PDF/A-1a, just use the string "PDF/A-1a" instead of "PDF/A-1b".

PDF/A in Action

There are a number of things that must be looked after if you activate a PDF/A profile. If you receive a PDFConformanceException, have a look at the following list (not necessarily comprehensive):

  • Make sure all (!) fonts are embedded. If you use base 14 fonts (like Helvetica) you need to obtain a license for them and embed them like any other font.

  • Don't use PDF encryption. PDF/A doesn't allow it.

  • Don't use CMYK images without an ICC color profile. PDF/A doesn't allow mixing color spaces and FOP currently only properly supports the sRGB color space. Please note that FOP embeds a standard sRGB ICC profile (sRGB IEC61966-2.1) as the primary output intent for the PDF if no other output intent has been specified in the configuration.

  • Don't use non-RGB colors in SVG images. Same issue as with CMYK images.

  • Don't use EPS graphics with fo:external-graphic. Embedding EPS graphics in PDF is deprecated since PDF 1.4 and prohibited by PDF/A.

  • PDF is forced to version 1.4 if PDF/A-1 is activated.

  • No filter must be specified explicitely for metadata objects. Metadata must be embedded in clear text so non-PDF-aware applications can extract the XMP metadata.

There are additional requirements if you want to enabled PDF/A-1a (Tagged PDF). This is particularly the specification of the natural language and alternative descriptions for images. Please refer to the Accessibility page for details.

PDF profile compatibility

The PDF profiles "PDF/X-3:2003" and "PDF/A-1b" (or "PDF/A-1a") are compatible and can both be activated at the same time.

Interoperability

There has been some confusion about the namespace for the PDF/A indicator in the XMP metadata. At least three variants have been seen in the wild:

| http://www.aiim.org/pdfa/ns/id.html | obsolete, from an early draft of ISO-19005-1, used by Adobe Acrobat 7.x | | http://www.aiim.org/pdfa/ns/id | obsolete, found in the original ISO 19005-1:2005 document | | http://www.aiim.org/pdfa/ns/id/ | correct, found in the technical corrigendum 1 of ISO 19005-1:2005 |

If you get an error validating a PDF/A file in Adobe Acrobat 7.x it doesn't mean that FOP did something wrong. It's Acrobat that is at fault. This is fixed in Adobe Acrobat 8.x which uses the correct namespace as described in the technical corrigendum 1.

You are visitor 01402605 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.