mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-24 16:09:40 +01:00
Update tcpdf.php
This commit is contained in:
parent
71bc8786de
commit
1a7dcb7167
@ -4875,6 +4875,11 @@ class TCPDF {
|
||||
$data = gzcompress($data);
|
||||
$filter = ' /Filter /FlateDecode';
|
||||
}
|
||||
|
||||
if ($this->pdfa_version == 3) {
|
||||
$filter = ' /Subtype /text#2Fxml';
|
||||
}
|
||||
|
||||
$stream = $this->_getrawstream($data, $filedata['n']);
|
||||
$out = $this->_getobj($filedata['n'])."\n";
|
||||
$out .= '<< /Type /EmbeddedFile'.$filter.' /Length '.strlen($stream).' /Params <</Size '.$rawsize.'>> >>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user