Hi,

You could set it with the COS API but you'd have to know what to put into the stream.

An alternative would be to make a PDF/A3-b and remove the incorrect CIDSet entry (your text is unclear whether it is there or not)

https://stackoverflow.com/questions/31209981/pdfbox-pdf-a-1a-to-pdf-a-3a

Tilman

On 6/16/2025 9:10 AM, christian_kule...@me.com.INVALID wrote:

Hello PDFBox Community,

I am trying to convert a PDF file that was previously created by JxBrowser from an HTML source to PDF/A-1b with PDFBox. However, the validation with veraPDF gives the error that the CIDSet is not present in the FontDescriptor.  The fonts are embedded in the PDF and the CIDSet data also appears to be present in the DescendantFont. However, I do not seem to have direct access to the CIDSet data in order to be able to add it manually in the FontDescriptor.

Is there a way to set the CIDSet with the data from the DescendantFont and thus successfully pass the validation?

*Validation failure*

*```*

*For all CIDFont subsets referenced within a conforming file, the font descriptor dictionary shall include a CIDSet stream identifying which CIDs are present in the embedded CIDFont file, as described in PDF Reference Table 5.20*

*root/document[0]/pages[0](7 0 obj PDPage)/contentStream[0](19 0 obj PDContentStream)/operators[129]/font[0](AAAAAA+ArialMT)/DescendantFonts[0](AAAAAA+ArialMT)*

*```*

Best regards

Christian


---------------------------------------------------------------------
To unsubscribe, e-mail:users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail:users-h...@pdfbox.apache.org

Reply via email to