fcl-pdf extension - implemented OutputIntent
Original Reporter info from Mantis: Petr-K
-
Reporter name:
Original Reporter info from Mantis: Petr-K
- Reporter name:
Description:
I implement 2 functions AddOutputIntent and AddPDFA1sRGBOutputIntent.
General func AddOutputIntent adds OutputIntent with icc profile into Catalog OutputIntents.
AddPDFA1sRGBOutputIntent adds sRGB profile with subtype GTS_PDFA1 required for PDF/A.
Func AddPDFA1sRGBOutputIntent user must call explicitly.
Now all my testing pdfs are PDF/A-1b valid (3-Heights and verapdf vlidators).
Additional information:
I think about TPDFDocument.Subtype: string were user can set 'PDF/A-1b', 'PDF/A-1a' ... .
If PDF/A i set, then AddPDFA1sRGBOutputIntent and CreateMetadataEntry will be called in StartDocument.
Subtype will be used in then xml metadata &LtPos;pdfaid:part> and &LtPos;pdfaid:conformance>, now here is hardly coded 1 B.
Mantis conversion info:
- Mantis ID: 34083
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 39553 (#a49a496f)
- Target version: 3.2.0