| @@ 403-408 (lines=6) @@ | ||
| 400 | $this->_out('/Resources '); |
|
| 401 | ||
| 402 | $this->_out('<</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); |
|
| 403 | if (isset($this->_res['tpl'][$tplidx]['fonts']) && count($this->_res['tpl'][$tplidx]['fonts'])) { |
|
| 404 | $this->_out('/Font <<'); |
|
| 405 | foreach($this->_res['tpl'][$tplidx]['fonts'] as $font) |
|
| 406 | $this->_out('/F' . $font['i'] . ' ' . $font['n'] . ' 0 R'); |
|
| 407 | $this->_out('>>'); |
|
| 408 | } |
|
| 409 | if(isset($this->_res['tpl'][$tplidx]['images']) && count($this->_res['tpl'][$tplidx]['images']) || |
|
| 410 | isset($this->_res['tpl'][$tplidx]['tpls']) && count($this->_res['tpl'][$tplidx]['tpls'])) |
|
| 411 | { |
|
| @@ 499-504 (lines=6) @@ | ||
| 496 | $this->pdf_write_value($tpl['resources']); // "n" will be changed |
|
| 497 | } else { |
|
| 498 | $this->_out('<</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); |
|
| 499 | if (isset($this->_res['tpl'][$tplidx]['fonts']) && count($this->_res['tpl'][$tplidx]['fonts'])) { |
|
| 500 | $this->_out('/Font <<'); |
|
| 501 | foreach($this->_res['tpl'][$tplidx]['fonts'] as $font) |
|
| 502 | $this->_out('/F' . $font['i'] . ' ' . $font['n'] . ' 0 R'); |
|
| 503 | $this->_out('>>'); |
|
| 504 | } |
|
| 505 | if(isset($this->_res['tpl'][$tplidx]['images']) && count($this->_res['tpl'][$tplidx]['images']) || |
|
| 506 | isset($this->_res['tpl'][$tplidx]['tpls']) && count($this->_res['tpl'][$tplidx]['tpls'])) |
|
| 507 | { |
|