File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2910,9 +2910,7 @@ public function setCompression($compress=true) {
29102910 $this->compress = false;
29112911 if (function_exists('gzcompress')) {
29122912 if ($compress) {
2913- if ( !$this->pdfa_mode) {
2914- $this->compress = true;
2915- }
2913+ $this->compress = true;
29162914 }
29172915 }
29182916 }
@@ -5001,11 +4999,10 @@ protected function _putEmbeddedFiles() {
50014999 $filter = '';
50025000 if ($this->compress) {
50035001 $data = gzcompress($data);
5004- $filter = ' /Filter /FlateDecode';
5002+ $filter . = ' /Filter /FlateDecode';
50055003 }
5006-
50075004 if ($this->pdfa_version == 3) {
5008- $filter = ' /Subtype /text#2Fxml';
5005+ $filter . = ' /Subtype /text#2Fxml';
50095006 }
50105007
50115008 $stream = $this->_getrawstream($data, $filedata['n']);
You can’t perform that action at this time.
0 commit comments