We use the following code to create PDF/A 1-b file. Validator is returning the following errors.
Validating file "PDFA-1b CeTe Test.PDF" for conformance level pdfa-1b
The key CIDSet is required but missing.
The document does not conform to the requested standard.
The document contains fonts without embedded font programs or encoding information (CMAPs).
Appreciate your help.
Thanks,
Satya
--
Code. We are using the file sRGB_IEC61966-2-1_noBPC.icc to embed fonts. Do we ueed to use a different file? Variable iccProfileFile gets the file from the path.
PdfASchema pdfaschema = new PdfASchema(PdfAStandard.PDF_A_1b_2005);
xmp.AddSchema(pdfaschema);
DublinCoreSchema dc = xmp.DublinCore;
dc.Title.DefaultText = title;
dc.Description.DefaultText = desc;
dc.Title.AddLang("en-us", "PDF/A1 Document");
mergeDocument.XmpMetadata = xmp;
IccProfile iccProfile = new IccProfile(iccProfileFile);
OutputIntent outputIntents = new OutputIntent("", "IEC 61966-2.1 Default RGB colour space - sRGB 1 ", "http://www.color.org",
"sRGB IEC61966-2.1 1", iccProfile);
outputIntents.Version = OutputIntentVersion.PDF_A;
mergeDocument.OutputIntents.Add(outputIntents);
mergeDocument.Append(inFile);
mergeDocument.Draw(outFile);