From 19e6c95870ff20e3a95f78b18026aa1eb230d508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tanel=20T=C3=A4hep=C3=B5ld?= Date: Sat, 21 Sep 2019 16:07:50 +0300 Subject: [PATCH 1/2] Added .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file From b36b51f85a62c0eaf35988c807fab5aa22590718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tanel=20T=C3=A4hep=C3=B5ld?= Date: Sat, 21 Sep 2019 16:40:16 +0300 Subject: [PATCH 2/2] Fixed PDF/A-3B validation issue caused by missing pdfaSchema:property. Failed veraPDF check: Specification: ISO 19005-3:2012, Clause: 6.6.2.3, Test number: 3 --- tcpdf.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tcpdf.php b/tcpdf.php index 0ee30bc..d6d9e77 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -9638,6 +9638,16 @@ class TCPDF { $xmp .= "\t\t\t\t\t\t".'http://ns.adobe.com/pdf/1.3/'."\n"; $xmp .= "\t\t\t\t\t\t".'pdf'."\n"; $xmp .= "\t\t\t\t\t\t".'Adobe PDF Schema'."\n"; + $xmp .= "\t\t\t\t\t\t".''."\n"; + $xmp .= "\t\t\t\t\t\t\t".''."\n"; + $xmp .= "\t\t\t\t\t\t\t\t".''."\n"; + $xmp .= "\t\t\t\t\t\t\t\t\t".'internal'."\n"; + $xmp .= "\t\t\t\t\t\t\t\t\t".'Adobe PDF Schema'."\n"; + $xmp .= "\t\t\t\t\t\t\t\t\t".'InstanceID'."\n"; + $xmp .= "\t\t\t\t\t\t\t\t\t".'URI'."\n"; + $xmp .= "\t\t\t\t\t\t\t\t".''."\n"; + $xmp .= "\t\t\t\t\t\t\t".''."\n"; + $xmp .= "\t\t\t\t\t\t".''."\n"; $xmp .= "\t\t\t\t\t".''."\n"; $xmp .= "\t\t\t\t\t".''."\n"; $xmp .= "\t\t\t\t\t\t".'http://ns.adobe.com/xap/1.0/mm/'."\n";