Page 1 of 1

Creating PDF/A compliant PDF files

Posted: Fri Jul 03, 2020 11:54 am
by janek
Hello,

what are the minimal required steps to produce a PDF/A compliant file? I'm on .Net Core and tried your Web Demo. However when ticking the PDF/A check box while saving as Adobe PDF and then validating the file with veraPDF, it says the file is not compliant.

I've also tried this sample, and basically adding this:

Code: Select all

            StiFontCollection.AddFontFile(StiNetCoreHelper.MapPath(this, "Fonts/Segoeui/segoeui.ttf"));
            StiPdfExportSettings settings = new StiPdfExportSettings();
            settings.PdfComplianceMode = StiPdfComplianceMode.A3;
However I get some errors when validating the resulting PDF with having inconsistent glyph width information.

I would appreciate any help with this.

Re: Creating PDF/A compliant PDF files

Posted: Sat Jul 04, 2020 8:34 am
by Andrew
Hello,

Everything should work. Please upload your PDF file for analysis.

Thank you.

Re: Creating PDF/A compliant PDF files

Posted: Wed Jul 08, 2020 11:00 am
by janek
Here is the PDF, I think it might be because of the trial? Which font do I need to include to make that work?

Re: Creating PDF/A compliant PDF files

Posted: Tue Jul 14, 2020 1:09 pm
by Lech Kulikowski
Hello,

For correct PDF/A is needed UnicodeMode file generation mode, which is currently only available on Windows.
For NetCore on Windows you need to enable
StiOptions.Export.Pdf.AllowImportSystemLibraries = true;
on other systems it is not checked yet, we are working on the problem, we hope to do it in the next build.

Thank you.

Re: Creating PDF/A compliant PDF files

Posted: Wed Jul 15, 2020 9:42 am
by janek
Thank you for your response.

This might be not the right topic to ask, but is Reports.JS able to produce PDF/A compliant files? Also on systems other than Windows? And if so, what options do I need to set?

Re: Creating PDF/A compliant PDF files

Posted: Wed Jul 15, 2020 9:44 am
by Lech Kulikowski
Hello,

We have made some modifications, will be in the next build.
pdf-file is now validated to PDF-A (if all fonts are uploaded to StiFontCollection).

Thank you.

Re: Creating PDF/A compliant PDF files

Posted: Wed Jul 15, 2020 11:12 am
by janek
That sounds great, is there an ETA for the next release to be able to test these improvements? These are vital components necessary for us to use your solution.

Re: Creating PDF/A compliant PDF files

Posted: Wed Jul 15, 2020 9:11 pm
by Lech Kulikowski
Hello,

The next release build will bereleased within two weeks.

Thank you.