add pdf/a-3b

This commit is contained in:
Pete Matsyburka committed 2025-07-10 12:58:19 +03:00
1 parent 0ff87383d0
commit 82a7df5e3f
4 files changed
+34 -1

No files matched your search

@@ -17,6 +17,11 @@ module Submissions
pdf.trailer.info[:Creator] = "#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})"
if Docuseal.pdf_format == 'pdf/a-3b'
pdf.task(:pdfa, level: '3b')
pdf.config['font.map'] = GenerateResultAttachments::PDFA_FONT_MAP
end
if pkcs
sign_params = {
reason: Submissions::GenerateResultAttachments.single_sign_reason(submitter),