PDF/A 1b

PDF/A 1b

Forum member · Oct 6, 2015
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);

Re: PDF/A 1b

Support · Oct 7, 2015
Hello Satya, sRGB_IEC61966-2-1_noBPC.icc file is an ICC profile that contains color information. It does not contain any font information. Looking at the code, you seem to be appending an existing PDF file and that PDF probably does not have the correct font embedded in it to begin with. If this is the case, then it is not possible to embed the missing font information for the existing content on the PDF. If you were adding new content to the PDF then you can embed the font using OpenTypeFont class. Thanks, ceTe Software Support Team.

Re: PDF/A 1b

Forum member · Oct 7, 2015
Thanks for the reply. We are trying to convert files using the following step. 1) Check the file type 2) If the file is PDF i) Use DynamicPDF Rasterizer to rasterize and create a TIFF ii)Convert TIFF to PDF using Dynamic PDF Converter tool ii) Use the Merger to create PDF/A 3) If the file is NOT PDF i)Convert file to PDF using Dynamic PDF Converter tool ii) Use the Merger to create PDF/A Our observation is that it is working for PDF files. For non-PDF files like Word, it is throwing CID Set missing error. Question: Do we need to rasterize files after using the converter so that they lose their PDF structure? Is it possible to do something so that we don't have to rasterize in both cases? We assume that when the converter converts .docx and other files it is probably not embedding any fonts. Since we are using that PDF to create PDF/A file, it is complaining that the CID Set is missing. Appreciate your help and please confirm. Thanks, Satya

Re: PDF/A 1b

Support · Oct 7, 2015
Hello Satya, Converter doesn’t have the capability to create PDF/A documents and there are no options available in Converter to embed the fonts. You should consider rasterizing PDFs generated by Converter as well before using the Merger to create PDF/A. Thanks, ceTe Software Support Team.