|
@@ 1042-1046 (lines=5) @@
|
| 1039 |
|
$res.= $tmp; |
| 1040 |
|
} else { |
| 1041 |
|
$res.= "<<"; |
| 1042 |
|
if (function_exists('gzcompress') && $this->options['compression']) { |
| 1043 |
|
// then implement ZLIB based compression on this content stream |
| 1044 |
|
$tmp = gzcompress($tmp, $this->options['compression']); |
| 1045 |
|
$res.= " /Filter /FlateDecode"; |
| 1046 |
|
} |
| 1047 |
|
|
| 1048 |
|
$res.= " /Length ".mb_strlen($tmp, '8bit') .">>\nstream\n$tmp\nendstream"; |
| 1049 |
|
} |
|
@@ 1304-1308 (lines=5) @@
|
| 1301 |
|
$res.=$tmp; |
| 1302 |
|
} else { |
| 1303 |
|
$res.= "<<"; |
| 1304 |
|
if (function_exists('gzcompress') && $this->options['compression']) { |
| 1305 |
|
// then implement ZLIB based compression on this content stream |
| 1306 |
|
$res.=" /Filter /FlateDecode"; |
| 1307 |
|
$tmp = gzcompress($tmp, $this->options['compression']); |
| 1308 |
|
} |
| 1309 |
|
if ($this->encrypted) { |
| 1310 |
|
$this->encryptInit($id); |
| 1311 |
|
$tmp = $this->ARC4($tmp); |