Php Prestashop TCPDF验证错误

Php Prestashop TCPDF验证错误,php,validation,pdf,prestashop,tcpdf,Php,Validation,Pdf,Prestashop,Tcpdf,我正在使用tcpdf从prestashop 1.6版源代码的html片段生成pdf文件 在AdobeReader中查看pdf似乎一切正常。在尝试通过电子传真服务e-post.de发送时,我无法上载文件,…遗憾的是,没有错误日志或消息 在检查上生成的文件时,我得到以下结果: Validating file "AYTKXFQRB_TestEins.pdf" for conformance level pdfa-3b The required XMP property 'pdfaid:part' is

我正在使用tcpdf从prestashop 1.6版源代码的html片段生成pdf文件

在AdobeReader中查看pdf似乎一切正常。在尝试通过电子传真服务e-post.de发送时,我无法上载文件,…遗憾的是,没有错误日志或消息

在检查上生成的文件时,我得到以下结果:

Validating file "AYTKXFQRB_TestEins.pdf" for conformance level pdfa-3b
The required XMP property 'pdfaid:part' is missing.
The required XMP property 'pdfaid:conformance' is missing.
The embedded font program 'AAAAAB+ArialMT' cannot be read.
A device-specific color space (DeviceRGB) without an appropriate output intent is used.
The embedded font program 'AAAAAC+ArialMT,Bold' cannot be read.
The glyph for character 8364 in font 'AAAAAB+ArialMT' is missing.
The glyph for character 8364 in font 'AAAAAC+ArialMT,Bold' is missing.
The width for character 0 in font 'AAAAAB+ArialMT' does not match.
The width for character 0 in font 'AAAAAC+ArialMT,Bold' does not match.
The document does not conform to the requested standard.
The document contains device-specific color spaces.
The document contains fonts without embedded font programs or encoding information (CMAPs).
The document's meta data is either missing or inconsistent or corrupt.
Done.
我认为,有很多警告是可以忽略的。直接由Adobe InDesign生成的文件也包含这些警告的大部分。唯一似乎有害的警告是:

缺少必需的XMP属性“pdfaid:part”。 缺少必需的XMP属性“pdfaid:一致性”

有没有办法解决这个问题

编辑:

xmp错误的解决方案:

在调用构造函数以激活pdfa_模式时设置标志pdfa=true

public function __construct($orientation='P', $unit='mm', $format='A4', $unicode=true, $encoding='UTF-8', $diskcache=false, $pdfa=false)

但我仍然需要消除字体错误:-

电子邮箱是否需要PDF/A文件?就像电子邮箱常见问题中提到的那样。。。对